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

Richard Weinberger richard at nod.at
Sat Jul 13 01:46:30 PDT 2024


----- Ursprüngliche Mail -----
> Von: "chengzhihao1" <chengzhihao1 at huawei.com>
> An: "richard" <richard at nod.at>, "linux-mtd" <linux-mtd at lists.infradead.org>
> CC: "linux-kernel" <linux-kernel at vger.kernel.org>, "Ben Hutchings" <bwh at kernel.org>, "kernel test robot" <lkp at intel.com>
> 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 at kernel.org>
>> Reported-by: kernel test robot <lkp at intel.com>
>> Closes:
>> https://lore.kernel.org/oe-kbuild-all/202407131403.wZJpd8n2-lkp@intel.com/
>> Signed-off-by: Richard Weinberger <richard at nod.at>
>> ---
>>   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 at huawei.com>

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

Thanks,
//richard




More information about the linux-mtd mailing list