Skip to content

Commit

Permalink
[SCSI] fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to inclu…
Browse files Browse the repository at this point in the history
…de 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>
  • Loading branch information
David Dillow authored and James Bottomley committed Jan 24, 2011
1 parent 97b9912 commit ac61c46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/scsi/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#define _SCSI_SCSI_H

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

struct scsi_cmnd;

Expand Down

0 comments on commit ac61c46

Please sign in to comment.