[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071205074959.6f9ca8e4@shemminger-laptop>
Date: Wed, 5 Dec 2007 07:49:59 -0500
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Eric Dumazet <dada1@...mosbay.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH] BRIDGE : br_fdb_fini() should be __exit_refok instead
of __exit
On Wed, 05 Dec 2007 13:41:24 +0100
Eric Dumazet <dada1@...mosbay.com> wrote:
> Hi David
>
> Building last net-2.6.25 git tree gave me this warning :
>
> WARNING: vmlinux.o(.init.text+0x2a957): Section mismatch: reference to
> .exit.text:br_fdb_fini (between 'br_init' and 'br_fdb_init')
>
> This is because br_init() (marked __init) can call br_fdb_fini() (marked __exit).
>
> I am not sure the following is the right fix, since __exit_refok is quite new,
> and seldom used.
>
> [PATCH] BRIDGE : br_fdb_fini() should be __exit_refok instead of __exit
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
>
Andrew put a patch in his tree to just take off the __exit.
That seems like the easiest fix for a one line function.
--
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