Skip to content

Commit 92a286e

Browse files
ubi: Fix ubi_init() ubiblock_exit() section mismatch
Since ubiblock_exit() is now called from an init function, the __exit section no longer makes sense. Cc: Ben Hutchings <bwh@kernel.org> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202407131403.wZJpd8n2-lkp@intel.com/ Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
1 parent 054fd15 commit 92a286e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/ubi/block.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ int __init ubiblock_init(void)
670670
return ret;
671671
}
672672

673-
void __exit ubiblock_exit(void)
673+
void ubiblock_exit(void)
674674
{
675675
ubi_unregister_volume_notifier(&ubiblock_notifier);
676676
ubiblock_remove_all();

0 commit comments

Comments
 (0)