commit | 225c56960fcafeccc2b6304f96cd3f0dbf42a16a | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jul 30 11:33:05 2012 +1000 |
committer | James Bottomley <JBottomley@Parallels.com> | Mon Sep 24 12:11:09 2012 +0400 |
tree | 3e3518154a0c329f776ae981b522b2f215c00372 | |
parent | 9965c2f19be470c452357ae4f6304467cdeada55 [diff] |
[SCSI] ibmvscsi: Fix host config length field overflow 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> Cc: <stable@vger.kernel.org> Acked-by: Robert Jennings <rcj@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>