From: "Gustavo F. Padovan" <padovan@profusion.mobi>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Marcel Holtmann <marcel@holtmann.org>
Subject: Re: [PATCH] bluetooth rfcomm: fix section mismatch warning
Date: Mon, 2 Aug 2010 14:01:37 -0300 [thread overview]
Message-ID: <20100802170136.GA19526@vigoh> (raw)
In-Reply-To: <1280736976.1730.1.camel@mola>
Hi Axel,
* Axel Lin <axel.lin@gmail.com> [2010-08-02 16:16:16 +0800]:
> Introduced by Commit 2f8362afcd2da8b313ec3cc04a50af19d3592972
> ( Bluetooth: Add __init and __exit marks to RFCOMM )
>
> WARNING: vmlinux.o(.init.text+0x246d1): Section mismatch in reference from the function rfcomm_init() to the function .exit.text:rfcomm_cleanup_ttys()
> The function __init rfcomm_init() references
> a function __exit rfcomm_cleanup_ttys().
> This is often seen when error handling in the init function
> uses functionality in the exit path.
> The fix is often to remove the __exit annotation of
> rfcomm_cleanup_ttys() so it may be used outside an exit section.
>
> This patch removes the __exit annotation from rfcomm_cleanup_ttys to eliminate the warning.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> net/bluetooth/rfcomm/tty.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
We have fixed that already. Thanks anyway. ;)
--
Gustavo F. Padovan
ProFUSION embedded systems - http://profusion.mobi
prev parent reply other threads:[~2010-08-02 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 8:16 Axel Lin
2010-08-02 17:01 ` Gustavo F. Padovan [this message]
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=20100802170136.GA19526@vigoh \
--to=padovan@profusion.mobi \
--cc=axel.lin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.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
all inboxes | Powered by JetHome®