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 15:13:59 -0800 |
commit | 8d0cf973a6813b48d950d4e82e6b063dc6f912a4 (patch) | |
tree | 79bb62875186e5252cf5a5295625805967fc5b19 /include | |
parent | 9e449dbf515e4b45e5a5b6e15b347b01e7cef450 (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>
Diffstat (limited to 'include')
-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 216af8538cc9..1933e3c8d205 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; |