commit: ac61c46f4f7665ab4548e90430c37b2529e16cff From: David Dillow <[email protected]> Date: Sun, 16 Jan 2011 15:12:39 -0500 Subject: [PATCH] [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 <[email protected]> Cc: [email protected] Signed-off-by: James Bottomley <[email protected]> --- include/scsi/scsi.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 648d233..b76d400 100644 --- 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; _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
