lkml.org 
[lkml]   [2009]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] module: Kill warning: label 'free_init' defined but not used
From
Date
On Wed, 2009-03-25 at 20:43 +0100, Geert Uytterhoeven wrote:
> On m68k (which doesn't do SMP), I get:
>
> | kernel/module.c:2291: warning: label 'free_init' defined but not used
>
> which was introduced by commit 6e2b75740bed35df98b8113300579e13ed2ce848
> ("module: fix refptr allocation and release order").
> Move the label inside the #ifdef, as the goto is protected by the same #ifdef.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---

AFAIK, it is already fixed in -tip:
http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-tip.git;a=commit;h=67f5ca081c6ace125e8ccc76b8a7d99b091abaa7

--
JSR



\
 
 \ /
  Last update: 2009-03-25 20:59    [W:0.062 / U:0.072 seconds]
©2003-2011 Jasper Spaans. Advertise on this site