lkml.org 
[lkml]   [2011]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[072/272] [SCSI] fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering
    2.6.37-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: David Dillow <dillowda@ornl.gov>

    commit ac61c46f4f7665ab4548e90430c37b2529e16cff upstream.

    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>
    Signed-off-by: James Bottomley <James.Bottomley@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    include/scsi/scsi.h | 1 +
    1 file changed, 1 insertion(+)

    --- 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;




    \
     
     \ /
      Last update: 2011-02-16 02:43    [W:4.035 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site