[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>
This commit is contained in:
parent
97b991277a
commit
ac61c46f4f
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
#define _SCSI_SCSI_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/scatterlist.h>
|
||||
|
||||
struct scsi_cmnd;
|
||||
|
||||
|
|
Loading…
Reference in a new issue