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 <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Richard Weinberger <[email protected]> Reviewed-by: Zhihao Cheng <[email protected]>
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)