* [krzk-github:b4/firmare-acpm-counted 3/4] drivers/firmware/samsung/exynos-acpm-dvfs.c:53:33: error: call to undeclared function 'ARRAY_SIZE'; ISO C99 and later do not support implicit function declarations
@ 2026-02-14 17:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-14 17:31 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: llvm, oe-kbuild-all
tree: https://github.com/krzk/linux b4/firmare-acpm-counted
head: c446778ac8dbd96a1ec1a82ad39abdabb80594bf
commit: a185cddcfe370dc12ac5ddeafebeb7a57bd42563 [3/4] firmware: exynos-acpm: Count number of commands in acpm_xfer
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260215/202602150151.N56eN2Xi-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260215/202602150151.N56eN2Xi-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/202602150151.N56eN2Xi-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/firmware/samsung/exynos-acpm-dvfs.c:53:33: error: call to undeclared function 'ARRAY_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
53 | acpm_dvfs_set_xfer(&xfer, cmd, ARRAY_SIZE(cmd), acpm_chan_id, false);
| ^
drivers/firmware/samsung/exynos-acpm-dvfs.c:73:33: error: call to undeclared function 'ARRAY_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
73 | acpm_dvfs_set_xfer(&xfer, cmd, ARRAY_SIZE(cmd), acpm_chan_id, true);
| ^
2 errors generated.
vim +/ARRAY_SIZE +53 drivers/firmware/samsung/exynos-acpm-dvfs.c
44
45 int acpm_dvfs_set_rate(const struct acpm_handle *handle,
46 unsigned int acpm_chan_id, unsigned int clk_id,
47 unsigned long rate)
48 {
49 struct acpm_xfer xfer = {0};
50 u32 cmd[4];
51
52 acpm_dvfs_init_set_rate_cmd(cmd, clk_id, rate);
> 53 acpm_dvfs_set_xfer(&xfer, cmd, ARRAY_SIZE(cmd), acpm_chan_id, false);
54
55 return acpm_do_xfer(handle, &xfer);
56 }
57
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-14 17:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-14 17:31 [krzk-github:b4/firmare-acpm-counted 3/4] drivers/firmware/samsung/exynos-acpm-dvfs.c:53:33: error: call to undeclared function 'ARRAY_SIZE'; ISO C99 and later do not support implicit function declarations kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox