mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yinghai Lu <yinghai@kernel.org>
To: Roland Dreier <roland@purestorage.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: warning about ib_cache_cleanup
Date: Tue, 24 May 2011 15:05:27 -0700	[thread overview]
Message-ID: <BANLkTimnTkw1of97dvc4Gtsw6Bd6bgFbUQ@mail.gmail.com> (raw)

WARNING: vmlinux.o(.init.text+0x439b9): Section mismatch in reference
from the function ib_core_init() to the function
.exit.text:ib_cache_cleanup()
The function __init ib_core_init() references
a function __exit ib_cache_cleanup().
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
ib_cache_cleanup() so it may be used outside an exit section.

                 reply	other threads:[~2011-05-24 22:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BANLkTimnTkw1of97dvc4Gtsw6Bd6bgFbUQ@mail.gmail.com \
    --to=yinghai@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@purestorage.com \
    /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®