diff options
author | David Dillow <dillowda@ornl.gov> | 2011-01-16 15:12:39 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 11:49:34 -0600 |
commit | ac61c46f4f7665ab4548e90430c37b2529e16cff (patch) | |
tree | fe440aaa68b57e94c57c0465ef15a73b8c81c515 /include/scsi | |
parent | 97b991277a9966333b3bcea0d972822278780694 (diff) | |
download | linux-ac61c46f4f7665ab4548e90430c37b2529e16cff.tar.gz linux-ac61c46f4f7665ab4548e90430c37b2529e16cff.tar.bz2 linux-ac61c46f4f7665ab4548e90430c37b2529e16cff.zip |
[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>
Diffstat (limited to 'include/scsi')
-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 648d23358038..b76d4006e36d 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; |