CC: kbuild-...@lists.01.org
BCC: l...@intel.com
CC: linux-ker...@vger.kernel.org
TO: Daniel Lezcano <daniel.lezc...@linaro.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
commit: b9d6c47a2be8d273ecc063afda6e9fd66a35116d rockchip/soc/drivers: Add DTPM 
description for rk3399
date:   3 months ago
:::::: branch date: 21 hours ago
:::::: commit date: 3 months ago
config: arm64-allmodconfig 
(https://download.01.org/0day-ci/archive/20220511/202205112210.kjwofefq-...@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.3.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/torvalds/linux.git/commit/?id=b9d6c47a2be8d273ecc063afda6e9fd66a35116d
        git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b9d6c47a2be8d273ecc063afda6e9fd66a35116d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 
SHELL=/bin/bash drivers/scsi/hisi_sas/ drivers/soc/rockchip/

If you fix the issue, kindly add following tag as appropriate
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  

-- 
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

Reply via email to