* [mtd:nand/next 31/32] drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant
@ 2023-07-28 2:57 kernel test robot
2023-07-28 7:57 ` Miquel Raynal
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-07-28 2:57 UTC (permalink / raw)
To: Arseniy Krasnov; +Cc: llvm, oe-kbuild-all, Miquel Raynal
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next
head: 6680d8b67921fc732a59792dec6d3f94c031451c
commit: 0e1db39336d8be4ddeb9f0d99720056f3ff41310 [31/32] mtd: rawnand: meson: support for 512B ECC step size
config: x86_64-buildonly-randconfig-r003-20230727 (https://download.01.org/0day-ci/archive/20230728/202307281007.MMuVjmJ9-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281007.MMuVjmJ9-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307281007.MMuVjmJ9-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant
static const struct nand_ecc_step_info axg_stepinfo[] = { axg_stepinfo_1024, axg_stepinfo_512 };
^~~~~~~~~~~~~~~~~
1 error generated.
vim +244 drivers/mtd/nand/raw/meson_nand.c
243
> 244 static const struct nand_ecc_step_info axg_stepinfo[] = { axg_stepinfo_1024, axg_stepinfo_512 };
245
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mtd:nand/next 31/32] drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant
2023-07-28 2:57 [mtd:nand/next 31/32] drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant kernel test robot
@ 2023-07-28 7:57 ` Miquel Raynal
2023-07-28 8:04 ` Arseniy Krasnov
0 siblings, 1 reply; 3+ messages in thread
From: Miquel Raynal @ 2023-07-28 7:57 UTC (permalink / raw)
To: kernel test robot; +Cc: Arseniy Krasnov, llvm, oe-kbuild-all
Hi Arseniy,
lkp@intel.com wrote on Fri, 28 Jul 2023 10:57:07 +0800:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next
> head: 6680d8b67921fc732a59792dec6d3f94c031451c
> commit: 0e1db39336d8be4ddeb9f0d99720056f3ff41310 [31/32] mtd: rawnand: meson: support for 512B ECC step size
> config: x86_64-buildonly-randconfig-r003-20230727 (https://download.01.org/0day-ci/archive/20230728/202307281007.MMuVjmJ9-lkp@intel.com/config)
> compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
> reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281007.MMuVjmJ9-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202307281007.MMuVjmJ9-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant
> static const struct nand_ecc_step_info axg_stepinfo[] = { axg_stepinfo_1024, axg_stepinfo_512 };
> ^~~~~~~~~~~~~~~~~
> 1 error generated.
>
>
> vim +244 drivers/mtd/nand/raw/meson_nand.c
>
> 243
> > 244 static const struct nand_ecc_step_info axg_stepinfo[] = { axg_stepinfo_1024, axg_stepinfo_512 };
Could you have a look?
Thanks,
Miquèl
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [mtd:nand/next 31/32] drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant
2023-07-28 7:57 ` Miquel Raynal
@ 2023-07-28 8:04 ` Arseniy Krasnov
0 siblings, 0 replies; 3+ messages in thread
From: Arseniy Krasnov @ 2023-07-28 8:04 UTC (permalink / raw)
To: Miquel Raynal, kernel test robot; +Cc: llvm, oe-kbuild-all
On 28.07.2023 10:57, Miquel Raynal wrote:
> Hi Arseniy,
>
> lkp@intel.com wrote on Fri, 28 Jul 2023 10:57:07 +0800:
>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next
>> head: 6680d8b67921fc732a59792dec6d3f94c031451c
>> commit: 0e1db39336d8be4ddeb9f0d99720056f3ff41310 [31/32] mtd: rawnand: meson: support for 512B ECC step size
>> config: x86_64-buildonly-randconfig-r003-20230727 (https://download.01.org/0day-ci/archive/20230728/202307281007.MMuVjmJ9-lkp@intel.com/config)
>> compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
>> reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281007.MMuVjmJ9-lkp@intel.com/reproduce)
>>
>> If you fix the issue in a separate patch/commit (i.e. not just a new version of
>> the same patch/commit), kindly add following tags
>> | Reported-by: kernel test robot <lkp@intel.com>
>> | Closes: https://lore.kernel.org/oe-kbuild-all/202307281007.MMuVjmJ9-lkp@intel.com/
>>
>> All errors (new ones prefixed by >>):
>>
>>>> drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant
>> static const struct nand_ecc_step_info axg_stepinfo[] = { axg_stepinfo_1024, axg_stepinfo_512 };
>> ^~~~~~~~~~~~~~~~~
>> 1 error generated.
>>
>>
>> vim +244 drivers/mtd/nand/raw/meson_nand.c
>>
>> 243
>> > 244 static const struct nand_ecc_step_info axg_stepinfo[] = { axg_stepinfo_1024, axg_stepinfo_512 };
>
> Could you have a look?
Hello Miquel,
Sure, I'll send fix today/tommorow!
Thanks, Arseniy
>
> Thanks,
> Miquèl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-28 8:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28 2:57 [mtd:nand/next 31/32] drivers/mtd/nand/raw/meson_nand.c:244:59: error: initializer element is not a compile-time constant kernel test robot
2023-07-28 7:57 ` Miquel Raynal
2023-07-28 8:04 ` Arseniy Krasnov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox