[PATCH] cciss: error: implicit declaration of function 'sg_init_table' - Kernel

This is a discussion on [PATCH] cciss: error: implicit declaration of function 'sg_init_table' - Kernel ; This patch adds the missing include directive to the cciss.c source file. * This was discovered by our release team when building the kernel for the Alpha architecture. Errors were found as references to functions 'sg_init_table' and 'sg_page' do not ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] cciss: error: implicit declaration of function 'sg_init_table'

  1. [PATCH] cciss: error: implicit declaration of function 'sg_init_table'

    This patch adds the missing include directive to the cciss.c source file. *
    This was discovered by our release team when building the kernel for the Alpha architecture.

    Errors were found as references to functions 'sg_init_table' and 'sg_page' do not exist without the include for Alpha.

    Signed off by: Mike Pagano
    ---
    drivers/block/cciss.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/block/cciss.c 2008-04-09 10:13:45.000000000 -0400
    +++ b/drivers/block/cciss.c 2008-04-09 10:14:11.000000000 -0400
    @@ -50,6 +50,7 @@
    #include
    #include
    #include
    +#include

    #define CCISS_DRIVER_VERSION(maj,min,submin) ((maj<<16)|(min<<8)|(submin))
    #define DRIVER_NAME "HP CISS Driver (v 3.6.14)"
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] cciss: error: implicit declaration of function 'sg_init_table'

    On Wed, Apr 09 2008, Mike Pagano wrote:
    > This patch adds the missing include directive to the cciss.c source file. *
    > This was discovered by our release team when building the kernel for the Alpha architecture.
    >
    > Errors were found as references to functions 'sg_init_table' and 'sg_page' do not exist without the include for Alpha.


    Thanks, I'll add it.

    --
    Jens Axboe

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread