]>
Commit | Line | Data |
---|---|---|
e2b52abc GKH |
1 | From ac61c46f4f7665ab4548e90430c37b2529e16cff Mon Sep 17 00:00:00 2001 |
2 | From: David Dillow <dillowda@ornl.gov> | |
3 | Date: Sun, 16 Jan 2011 15:12:39 -0500 | |
4 | Subject: [SCSI] fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering | |
5 | ||
6 | From: David Dillow <dillowda@ornl.gov> | |
7 | ||
8 | commit ac61c46f4f7665ab4548e90430c37b2529e16cff upstream. | |
9 | ||
10 | If the compiled object doesn't include linux/scatterlist.h before | |
11 | scsi/scsi.h, it will get an incorrect definition of | |
12 | SCSI_MAX_SG_CHAIN_SEGMENTS. | |
13 | ||
14 | Signed-off-by: David Dillow <dillowda@ornl.gov> | |
15 | Signed-off-by: James Bottomley <James.Bottomley@suse.de> | |
16 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
17 | ||
18 | --- | |
19 | include/scsi/scsi.h | 1 + | |
20 | 1 file changed, 1 insertion(+) | |
21 | ||
22 | --- a/include/scsi/scsi.h | |
23 | +++ b/include/scsi/scsi.h | |
24 | @@ -9,6 +9,7 @@ | |
25 | #define _SCSI_SCSI_H | |
26 | ||
27 | #include <linux/types.h> | |
28 | +#include <linux/scatterlist.h> | |
29 | ||
30 | struct scsi_cmnd; | |
31 |