projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b9912
)
[SCSI] fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering
author
David Dillow
<dillowda@ornl.gov>
Sun, 16 Jan 2011 20:12:39 +0000
(15:12 -0500)
committer
James Bottomley
<James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:49:34 +0000
(11:49 -0600)
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>
include/scsi/scsi.h
patch
|
blob
|
history
diff --git
a/include/scsi/scsi.h
b/include/scsi/scsi.h
index 648d233580387bb57b584508c748eccee8da9f21..b76d4006e36de6d72e165304c00e8e978f88bc22 100644
(file)
--- 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;