Commit ac61c46f authored by David Dillow's avatar David Dillow Committed by James Bottomley

[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: default avatarDavid Dillow <dillowda@ornl.gov>
Cc: stable@kernel.org
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 97b99127
......@@ -9,6 +9,7 @@
#define _SCSI_SCSI_H
#include <linux/types.h>
#include <linux/scatterlist.h>
struct scsi_cmnd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment