From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [linux-next:master 3378/11953] drivers/soc/rockchip/dtpm.c:15:12: sparse: sparse: obsolete array initializer, use C99 syntax
Date: Fri, 11 Mar 2022 11:46:44 +0800 [thread overview]
Message-ID: <202203111140.ziQAzGDK-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5153 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Daniel Lezcano <daniel.lezcano@linaro.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 71941773e143369a73c9c4a3b62fbb60736a1182
commit: b9d6c47a2be8d273ecc063afda6e9fd66a35116d [3378/11953] rockchip/soc/drivers: Add DTPM description for rk3399
:::::: branch date: 19 hours ago
:::::: commit date: 5 weeks ago
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220311/202203111140.ziQAzGDK-lkp(a)intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b9d6c47a2be8d273ecc063afda6e9fd66a35116d
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout b9d6c47a2be8d273ecc063afda6e9fd66a35116d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/soc/rockchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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(a)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(a)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(a)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(a)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(a)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(a)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(a)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
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
reply other threads:[~2022-03-11 3:46 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=202203111140.ziQAzGDK-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@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.