From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [sashal-linux-stable:queue-5.4 76/106] drivers/clk/sunxi-ng/ccu-sun8i-de2.c:223:14: error: 'sun50i_a64_de2_clks' undeclared here (not in a function); did you mean
Date: Sat, 18 Jul 2020 08:20:56 +0800 [thread overview]
Message-ID: <202007180854.qlv72eT2%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3068 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: 8fc787b62d0c673cca994da068df84905ddea333
commit: b92fbb5378148d812c8b1c3025a909b72acbe8c3 [76/106] clk: sunxi-ng: sun8i-de2: Add R40 specific quirks
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b92fbb5378148d812c8b1c3025a909b72acbe8c3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/clk/sunxi-ng/ccu-sun8i-de2.c:223:14: error: 'sun50i_a64_de2_clks' undeclared here (not in a function); did you mean 'sun50i_h6_de3_clks'?
223 | .ccu_clks = sun50i_a64_de2_clks,
| ^~~~~~~~~~~~~~~~~~~
| sun50i_h6_de3_clks
In file included from include/linux/kernel.h:16,
from include/linux/clk.h:13,
from drivers/clk/sunxi-ng/ccu-sun8i-de2.c:6:
>> include/linux/build_bug.h:16:45: error: bit-field '<anonymous>' width not an integer constant
16 | #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
| ^
include/linux/compiler.h:357:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
357 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
| ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:47:59: note: in expansion of macro '__must_be_array'
47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~~~~~~~~~~~
drivers/clk/sunxi-ng/ccu-sun8i-de2.c:224:18: note: in expansion of macro 'ARRAY_SIZE'
224 | .num_ccu_clks = ARRAY_SIZE(sun50i_a64_de2_clks),
| ^~~~~~~~~~
>> drivers/clk/sunxi-ng/ccu-sun8i-de2.c:226:14: error: 'sun50i_a64_de2_hw_clks' undeclared here (not in a function); did you mean 'sun50i_h6_de3_hw_clks'?
226 | .hw_clks = &sun50i_a64_de2_hw_clks,
| ^~~~~~~~~~~~~~~~~~~~~~
| sun50i_h6_de3_hw_clks
vim +223 drivers/clk/sunxi-ng/ccu-sun8i-de2.c
221
222 static const struct sunxi_ccu_desc sun8i_r40_de2_clk_desc = {
> 223 .ccu_clks = sun50i_a64_de2_clks,
224 .num_ccu_clks = ARRAY_SIZE(sun50i_a64_de2_clks),
225
> 226 .hw_clks = &sun50i_a64_de2_hw_clks,
227
228 .resets = sun8i_a83t_de2_resets,
229 .num_resets = ARRAY_SIZE(sun8i_a83t_de2_resets),
230 };
231
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 62768 bytes --]
reply other threads:[~2020-07-18 0:20 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=202007180854.qlv72eT2%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.