From: David Miller <davem@davemloft.net>
To: sam@ravnborg.org
Cc: netdev@vger.kernel.org, jeff@garzik.org, jgarzik@pobox.com
Subject: Re: [PATCH] isdn: fix section mismatch warning in hfc_sx.c
Date: Sat, 09 Feb 2008 23:27:50 -0800 (PST) [thread overview]
Message-ID: <20080209.232750.94719107.davem@davemloft.net> (raw)
In-Reply-To: <1202500804-32020-4-git-send-email-sam@ravnborg.org>
From: Sam Ravnborg <sam@ravnborg.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@ravnborg.org>
> Acked-by: Karsten Keil <kkeil@suse.de>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Cc: David Miller <davem@davemloft.net>
Applied.
next prev parent reply other threads:[~2008-02-10 7:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 20:00 [PATCH] isdn: fix section mismatch warnings from hisax_cs_setup_card Sam Ravnborg
2008-02-08 20:00 ` [PATCH] isdn: fix section mismatch warning for ISACVer Sam Ravnborg
2008-02-10 7:29 ` David Miller
2008-02-08 20:00 ` [PATCH] isdn: fix section mismatch warnings in isac.c and isar.c Sam Ravnborg
2008-02-10 7:28 ` David Miller
2008-02-08 20:00 ` [PATCH] isdn: fix section mismatch warning in hfc_sx.c Sam Ravnborg
2008-02-10 7:27 ` David Miller [this message]
2008-02-10 7:29 ` [PATCH] isdn: fix section mismatch warnings from hisax_cs_setup_card David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080209.232750.94719107.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jeff@garzik.org \
--cc=jgarzik@pobox.com \
--cc=netdev@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).