[<prev] [next>] [day] [month] [year] [list]
Message-ID: <BANLkTimnTkw1of97dvc4Gtsw6Bd6bgFbUQ@mail.gmail.com>
Date: Tue, 24 May 2011 15:05:27 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Roland Dreier <roland@...estorage.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: warning about ib_cache_cleanup
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists