Re: [PATCH] ubi: Fix ubi_init() ubiblock_exit() section mismatch

From: Richard Weinberger
Date: Sat Jul 13 2024 - 04:46:43 EST


----- Ursprüngliche Mail -----
> Von: "chengzhihao1" <chengzhihao1@xxxxxxxxxx>
> An: "richard" <richard@xxxxxx>, "linux-mtd" <linux-mtd@xxxxxxxxxxxxxxxxxxx>
> CC: "linux-kernel" <linux-kernel@xxxxxxxxxxxxxxx>, "Ben Hutchings" <bwh@xxxxxxxxxx>, "kernel test robot" <lkp@xxxxxxxxx>
> Gesendet: Samstag, 13. Juli 2024 10:16:15
> Betreff: Re: [PATCH] ubi: Fix ubi_init() ubiblock_exit() section mismatch

> 在 2024/7/13 15:35, Richard Weinberger 写道:
>> Since ubiblock_exit() is now called from an init function,
>> the __exit section no longer makes sense.
>>
>> Cc: Ben Hutchings <bwh@xxxxxxxxxx>
>> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>> Closes:
>> https://lore.kernel.org/oe-kbuild-all/202407131403.wZJpd8n2-lkp@xxxxxxxxx/
>> Signed-off-by: Richard Weinberger <richard@xxxxxx>
>> ---
>> drivers/mtd/ubi/block.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Looks like that you prefer a simpler fix. Feel fine to add

Yes, and Ben sent the patch first. :)

> Reviewed-by: Zhihao Cheng <chengzhihao1@xxxxxxxxxx>

Thanks for the review!
And especially thanks for reviewing so many UBI/UBIFS patches,
I appreciate your help.

Thanks,
//richard