]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] 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)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:49:34 +0000 (11:49 -0600)
commitac61c46f4f7665ab4548e90430c37b2529e16cff
treefe440aaa68b57e94c57c0465ef15a73b8c81c515
parent97b991277a9966333b3bcea0d972822278780694
[SCSI] fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering

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>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
include/scsi/scsi.h