]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
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

index 8fcb6e0e9e720193dda04134e82182e547fcfa68..d38b58e735dcd9d3cc9ab6ff93f5f8363ebc23b2 100644 (file)
@@ -9,6 +9,7 @@
 #define _SCSI_SCSI_H
 
 #include <linux/types.h>
+#include <linux/scatterlist.h>
 
 struct scsi_cmnd;