:::::: :::::: Manual check reason: "low confidence static check first_new_problem: drivers/soc/rockchip/dtpm.c:15:12: sparse: sparse: obsolete array initializer, use C99 syntax" ::::::
CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: linux-ker...@vger.kernel.org TO: Brian Norris <briannor...@chromium.org> CC: Heiko Stuebner <he...@sntech.de> CC: Guenter Roeck <li...@roeck-us.net> Hi Brian, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9b59ec8d50a1f28747ceff9a4f39af5deba9540e commit: add9f6f30e54b5c07e7a0260cda459ef1d9646b7 soc: rockchip: Fix compile-testing SoC drivers date: 3 months ago :::::: branch date: 22 hours ago :::::: commit date: 3 months ago config: sparc64-randconfig-s031-20220716 (https://download.01.org/0day-ci/archive/20220716/202207162335.8dttrzvr-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=add9f6f30e54b5c07e7a0260cda459ef1d9646b7 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout add9f6f30e54b5c07e7a0260cda459ef1d9646b7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc64 SHELL=/bin/bash drivers/soc/rockchip/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <l...@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/soc/rockchip/dtpm.c:15:12: sparse: sparse: obsolete array >> initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:17:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:20:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:23:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:26:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:29:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:32:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:35:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:38:12: sparse: sparse: obsolete array initializer, use C99 syntax drivers/soc/rockchip/dtpm.c:41:12: sparse: sparse: obsolete array initializer, use C99 syntax vim +15 drivers/soc/rockchip/dtpm.c b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 13 b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 14 static struct dtpm_node __initdata rk3399_hierarchy[] = { b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 @15 [0]{ .name = "rk3399", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 16 .type = DTPM_NODE_VIRTUAL }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 17 [1]{ .name = "package", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 18 .type = DTPM_NODE_VIRTUAL, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 19 .parent = &rk3399_hierarchy[0] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 20 [2]{ .name = "/cpus/cpu@0", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 21 .type = DTPM_NODE_DT, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 22 .parent = &rk3399_hierarchy[1] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 23 [3]{ .name = "/cpus/cpu@1", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 24 .type = DTPM_NODE_DT, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 25 .parent = &rk3399_hierarchy[1] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 26 [4]{ .name = "/cpus/cpu@2", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 27 .type = DTPM_NODE_DT, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 28 .parent = &rk3399_hierarchy[1] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 29 [5]{ .name = "/cpus/cpu@3", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 30 .type = DTPM_NODE_DT, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 31 .parent = &rk3399_hierarchy[1] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 32 [6]{ .name = "/cpus/cpu@100", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 33 .type = DTPM_NODE_DT, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 34 .parent = &rk3399_hierarchy[1] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 35 [7]{ .name = "/cpus/cpu@101", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 36 .type = DTPM_NODE_DT, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 37 .parent = &rk3399_hierarchy[1] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 38 [8]{ .name = "/gpu@ff9a0000", b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 39 .type = DTPM_NODE_DT, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 40 .parent = &rk3399_hierarchy[1] }, b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 41 [9]{ /* sentinel */ } b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 42 }; b9d6c47a2be8d2 Daniel Lezcano 2022-01-28 43 :::::: The code at line 15 was first introduced by commit :::::: b9d6c47a2be8d273ecc063afda6e9fd66a35116d rockchip/soc/drivers: Add DTPM description for rk3399 :::::: TO: Daniel Lezcano <daniel.lezc...@linaro.org> :::::: CC: Daniel Lezcano <daniel.lezc...@linaro.org> -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org