diff options
author | David Dillow <dillowda@ornl.gov> | 2011-01-16 15:12:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 14:46:55 -0800 |
commit | 9a00ffdc0858005a186f5404a882546557cb5114 (patch) | |
tree | 499a6c38f3f2fc3b60eff6d5a0572df1b9dcf11d | |
parent | 5c52e065997c9eda03fe5f1011ff05ed7efda402 (diff) |
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>
-rw-r--r-- | include/scsi/scsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 8fcb6e0e9e7..d38b58e735d 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -9,6 +9,7 @@ #define _SCSI_SCSI_H #include <linux/types.h> +#include <linux/scatterlist.h> struct scsi_cmnd; |