[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080429.205829.125946358.davem@davemloft.net>
Date: Tue, 29 Apr 2008 20:58:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sam@...nborg.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH][IPV4] annotate a few functions __init in ipconfig.c
From: Sam Ravnborg <sam@...nborg.org>
Date: Tue, 29 Apr 2008 21:50:06 +0200
> A few functions are only used from __init context.
> So annotate these with __init for consistency and silence
> the following warnings:
>
> WARNING: net/ipv4/built-in.o(.text+0x2a876): Section mismatch
> in reference from the function ic_bootp_init() to
> the variable .init.data:bootp_packet_type
> WARNING: net/ipv4/built-in.o(.text+0x2a907): Section mismatch
> in reference from the function ic_bootp_cleanup() to
> the variable .init.data:bootp_packet_type
>
> Note: The warnings only appear with CONFIG_DEBUG_SECTION_MISMATCH=y
>
> Signed-off-by: Sam Ravnborg <sam@...nborg.org>
Applied, thanks a lot Sam.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists