Re: [PATCH v2] MIPS: generic: Use __initconst for const init data

2019-10-08 Thread Paul Burton
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

[PATCH v2] MIPS: generic: Use __initconst for const init data

2019-10-08 Thread Tiezhu Yang
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: F