[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080209.232750.94719107.davem@davemloft.net>
Date: Sat, 09 Feb 2008 23:27:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: sam@...nborg.org
Cc: netdev@...r.kernel.org, jeff@...zik.org, jgarzik@...ox.com
Subject: Re: [PATCH] isdn: fix section mismatch warning in hfc_sx.c
From: Sam Ravnborg <sam@...nborg.org>
Date: Fri, 8 Feb 2008 21:00:04 +0100
> Fix the following warning:
> WARNING: drivers/isdn/hisax/built-in.o(.text+0x35818): Section mismatch in reference from the function hfcsx_card_msg() to the function .devinit.text:inithfcsx()
>
> hfcsx_card_msg() may be called outside __devinit context.
> Following the program logic is looks like the CARD_INIT branch
> will only be taken under __devinit context but to be consistent
> remove the __devinit annotation of inithfcsx() so we
> do not mix non-__devinit and __devinit code.
>
> Signed-off-by: Sam Ravnborg <sam@...nborg.org>
> Acked-by: Karsten Keil <kkeil@...e.de>
> Cc: Jeff Garzik <jgarzik@...ox.com>
> Cc: David Miller <davem@...emloft.net>
Applied.
--
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