[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMZfGtV=wympkmEkc9VbgBON1K730s5CdaQ8Qghn0MfTeNEj_Q@mail.gmail.com>
Date: Mon, 16 May 2022 11:41:00 +0800
From: Muchun Song <songmuchun@...edance.com>
To: bh1scw@...il.com
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: [PATCH] mm/page_owner.c: Add missing __initdata attribute
On Mon, May 16, 2022 at 11:09 AM <bh1scw@...il.com> wrote:
>
> From: Fanjun Kong <bh1scw@...il.com>
>
> 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@...edance.com>
> Signed-off-by: Fanjun Kong <bh1scw@...il.com>
Reviewed-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists