Re: [PATCH] mm/page_owner.c: Add missing __initdata attribute

From: Muchun Song
Date: Sun May 15 2022 - 23:41:43 EST


On Mon, May 16, 2022 at 11:09 AM <bh1scw@xxxxxxxxx> wrote:
>
> From: Fanjun Kong <bh1scw@xxxxxxxxx>
>
> This patch fix two issues:
> 1. Add __initdata attribute according to include/linux/init.h:
> > For initialized data:
> > You should insert __initdata between the variable name and equal
> > sign followed by value
>
> 2. Fix below error reported by checkpatch.pl:
> ERROR: do not initialise statics to false
>
> Special thanks to Muchun Song :)
>
> Suggested-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> Signed-off-by: Fanjun Kong <bh1scw@xxxxxxxxx>

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.