From: kernel test robot <lkp@intel.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Sun, 15 Feb 2026 01:31:58 +0800 [thread overview]
Message-ID: <202602150151.N56eN2Xi-lkp@intel.com> (raw)
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
reply other threads:[~2026-02-14 17:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202602150151.N56eN2Xi-lkp@intel.com \
--to=lkp@intel.com \
--cc=krzk@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox