]> 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 22:46:55 +0000 (14:46 -0800)
commit9a00ffdc0858005a186f5404a882546557cb5114
tree499a6c38f3f2fc3b60eff6d5a0572df1b9dcf11d
parent5c52e065997c9eda03fe5f1011ff05ed7efda402
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