mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-24 06:01:28 +00:00
Compilation of the SCST's sysfs code triggers a section mismatch because the
function scst_sysfs_cleanup() is declared as an exit-only function while it is also called from init_scst(). The patch below fixes this section mismatch. This patch has been tested by verifying that the following command does not report any section mismatches: make CONFIG_DEBUG_SECTION_MISMATCH=y scst iscsi-scst srpt Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1420 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2036,7 +2036,7 @@ sysfs_root_add_error:
|
||||
goto out;
|
||||
}
|
||||
|
||||
void __exit scst_sysfs_cleanup(void)
|
||||
void scst_sysfs_cleanup(void)
|
||||
{
|
||||
TRACE_ENTRY();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user