[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <MWHPR2201MB1277014C13FB6EB4AEE74A01C19A0@MWHPR2201MB1277.namprd22.prod.outlook.com>
Date: Tue, 8 Oct 2019 17:55:32 +0000
From: Paul Burton <paul.burton@...s.com>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
CC: Paul Burton <pburton@...ecomp.com>,
"ralf@...ux-mips.org" <ralf@...ux-mips.org>,
"jhogan@...nel.org" <jhogan@...nel.org>,
"linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>
Subject: Re: [PATCH v2] MIPS: generic: Use __initconst for const init data
Hello,
Tiezhu Yang wrote:
> Fix the following checkpatch errors:
>
> $ ./scripts/checkpatch.pl --no-tree -f arch/mips/generic/init.c
> ERROR: Use of const init definition must use __initconst
> #23: FILE: arch/mips/generic/init.c:23:
> +static __initdata const void *fdt;
>
> ERROR: Use of const init definition must use __initconst
> #24: FILE: arch/mips/generic/init.c:24:
> +static __initdata const struct mips_machine *mach;
>
> ERROR: Use of const init definition must use __initconst
> #25: FILE: arch/mips/generic/init.c:25:
> +static __initdata const void *mach_match_data;
Applied to mips-next.
> commit a14bf1dc494a
> https://git.kernel.org/mips/c/a14bf1dc494a
>
> Fixes: eed0eabd12ef ("MIPS: generic: Introduce generic DT-based board support")
> Signed-off-by: Tiezhu Yang <yangtiezhu@...ngson.cn>
> Signed-off-by: Paul Burton <paul.burton@...s.com>
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@...s.com to report it. ]
Powered by blists - more mailing lists