Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
#define _SCSI_SCSI_H

#include <linux/types.h>
#include <linux/scatterlist.h>

struct scsi_cmnd;