aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-scan.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-07-30 11:33:05 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 08:35:56 -0700
commite9ba5dbdf60c218b707e37e65dc22629454dfd85 (patch)
treed92ceaeef5498fa0991322abc5fad0512e2cc60d /lib/mpi/mpi-scan.c
parent1a260a55cd19b1dc22040a9f4dd9ee995bd38504 (diff)
SCSI: ibmvscsi: Fix host config length field overflow
commit 225c56960fcafeccc2b6304f96cd3f0dbf42a16a upstream. The length field in the host config packet is only 16-bit long, so passing it 0x10000 (64K which is our standard PAGE_SIZE) doesn't work and result in an empty config from the server. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Robert Jennings <rcj@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions