[PATCH] iscsi_ibft_find: fix modpost warning - Kernel

This is a discussion on [PATCH] iscsi_ibft_find: fix modpost warning - Kernel ; Exporting __init functions is wrong. Signed-off-by: Jan Beulich --- drivers/firmware/iscsi_ibft_find.c | 1 - 1 file changed, 1 deletion(-) --- linux-2.6.26/drivers/firmware/iscsi_ibft_find.c 2008-07-13 23:51:29.000000000 +0200 +++ 2.6.26-firmware-iscsi-modpost-warning/drivers/firmware/iscsi_ibft_find.c 2008-07-17 14:45:12.000000000 +0200 @@ -81,4 +81,3 @@ void __init reserve_ibft_region(void) if (ibft_addr) reserve_bootmem(pos, PAGE_ALIGN(len), BOOTMEM_DEFAULT); ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] iscsi_ibft_find: fix modpost warning

  1. [PATCH] iscsi_ibft_find: fix modpost warning

    Exporting __init functions is wrong.

    Signed-off-by: Jan Beulich

    ---
    drivers/firmware/iscsi_ibft_find.c | 1 -
    1 file changed, 1 deletion(-)

    --- linux-2.6.26/drivers/firmware/iscsi_ibft_find.c 2008-07-13 23:51:29.000000000 +0200
    +++ 2.6.26-firmware-iscsi-modpost-warning/drivers/firmware/iscsi_ibft_find.c 2008-07-17 14:45:12.000000000 +0200
    @@ -81,4 +81,3 @@ void __init reserve_ibft_region(void)
    if (ibft_addr)
    reserve_bootmem(pos, PAGE_ALIGN(len), BOOTMEM_DEFAULT);
    }
    -EXPORT_SYMBOL_GPL(reserve_ibft_region);



    --
    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] iscsi_ibft_find: fix modpost warning

    On Fri, Jul 18, 2008 at 01:22:25PM +0100, Jan Beulich wrote:
    > Exporting __init functions is wrong.


    Looks good. Thanks for catching that.

    >
    > Signed-off-by: Jan Beulich
    >
    > ---
    > drivers/firmware/iscsi_ibft_find.c | 1 -
    > 1 file changed, 1 deletion(-)
    >
    > --- linux-2.6.26/drivers/firmware/iscsi_ibft_find.c 2008-07-13 23:51:29.000000000 +0200
    > +++ 2.6.26-firmware-iscsi-modpost-warning/drivers/firmware/iscsi_ibft_find.c 2008-07-17 14:45:12.000000000 +0200
    > @@ -81,4 +81,3 @@ void __init reserve_ibft_region(void)
    > if (ibft_addr)
    > reserve_bootmem(pos, PAGE_ALIGN(len), BOOTMEM_DEFAULT);
    > }
    > -EXPORT_SYMBOL_GPL(reserve_ibft_region);


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