lkml.org 
[lkml]   [2008]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 <jbeulich@novell.com>
>
> ---
> 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);



\
 
 \ /
  Last update: 2008-07-23 13:43    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site