]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering
authorDavid Dillow <dillowda@ornl.gov>
Sun, 16 Jan 2011 20:12:39 +0000 (15:12 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:59 +0000 (15:13 -0800)
commit8d0cf973a6813b48d950d4e82e6b063dc6f912a4
tree79bb62875186e5252cf5a5295625805967fc5b19
parent9e449dbf515e4b45e5a5b6e15b347b01e7cef450
fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering

commit ac61c46f4f7665ab4548e90430c37b2529e16cff upstream.

If the compiled object doesn't include linux/scatterlist.h before
scsi/scsi.h, it will get an incorrect definition of
SCSI_MAX_SG_CHAIN_SEGMENTS.

Signed-off-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/scsi/scsi.h