From: Alasdair G Kergon <agk@redhat.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [dm:for-linus 6/8] WARNING: drivers/md/dm-thin-pool.o(.text+0x53ce): Section mismatch in
Date: Sat, 13 Oct 2012 00:20:27 +0000 [thread overview]
Message-ID: <20121013002027.GA5497@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <20121013000450.GC27431@localhost>
On Sat, Oct 13, 2012 at 08:04:50AM +0800, Fengguang Wu wrote:
> FYI, there are new compile warnings show up in
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm.git for-linus
> head: dba141601d1327146c84b575bd581ea8730e901c
> commit: 44feb387f6f5584535bd6e3ad7ccfdce715d7dba [6/8] dm thin: prepare to separate bio_prison code
> config: x86_64-allyesconfig # make ARCH=x86_64
> All warnings:
>
> WARNING: drivers/md/dm-thin-pool.o(.text+0x53ce): Section mismatch in reference from the function dm_thin_exit() to the function .exit.text:dm_bio_prison_exit()
> The function dm_thin_exit() references a function in an exit section.
> Often the function dm_bio_prison_exit() has valid usage outside the exit section
> and the fix is to remove the __exit annotation of dm_bio_prison_exit.
Actually it's the other way round - dm_thin_exit() should just have __exit added.
Warning disappears with the patch after it and I don't think it's a problem,
but we should clean it up next time anyway.
Alasdair
prev parent reply other threads:[~2012-10-13 0:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-13 0:04 [dm:for-linus 6/8] WARNING: drivers/md/dm-thin-pool.o(.text+0x53ce): Section mismatch in reference f Fengguang Wu
2012-10-13 0:20 ` Alasdair G Kergon [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=20121013002027.GA5497@agk-dp.fab.redhat.com \
--to=agk@redhat.com \
--cc=kernel-janitors@vger.kernel.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