lkml.org 
[lkml]   [2009]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[87/90] SCSI: osd_protocol.h: Add missing #include
    2.6.31-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Martin Michlmayr <tbm@cyrius.com>

    commit 0899638688f223fd9e9fee60d662665e11693d12 upstream.

    include/scsi/osd_protocol.h uses ALIGN() without an #include
    <linux/kernel.h>, leading to:
    | include/scsi/osd_protocol.h:362: error: implicit declaration of function 'ALIGN'

    Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
    Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
    Signed-off-by: James Bottomley <James.Bottomley@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

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

    --- a/include/scsi/osd_protocol.h
    +++ b/include/scsi/osd_protocol.h
    @@ -17,6 +17,7 @@
    #define __OSD_PROTOCOL_H__

    #include <linux/types.h>
    +#include <linux/kernel.h>
    #include <asm/unaligned.h>
    #include <scsi/scsi.h>




    \
     
     \ /
      Last update: 2009-12-11 05:45    [W:0.019 / U:64.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site