Messages in this thread | | | Date | Mon, 21 Feb 2022 07:58:05 +0800 | From | kernel test robot <> | Subject | [drm-msm:msm-next-staging 29/60] drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:855:34: warning: unused variable 'msm8998_dspp' |
| |
tree: https://gitlab.freedesktop.org/drm/msm.git msm-next-staging head: bc2112583a0b473f5c4ba87c00da84abd5d0b3fd commit: 94391a14fc27383a60fc9499b631e5b6ccd9f075 [29/60] drm/msm/dpu1: Add MSM8998 to hw catalog config: hexagon-randconfig-r041-20220220 (https://download.01.org/0day-ci/archive/20220221/202202210759.N4dlTbHV-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) 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 remote add drm-msm https://gitlab.freedesktop.org/drm/msm.git git fetch --no-tags drm-msm msm-next-staging git checkout 94391a14fc27383a60fc9499b631e5b6ccd9f075 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/msm/
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:855:34: warning: unused variable 'msm8998_dspp' [-Wunused-const-variable] static const struct dpu_dspp_cfg msm8998_dspp[] = { ^ 1 warning generated.
vim +/msm8998_dspp +855 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
846 847 #define DSPP_BLK(_name, _id, _base, _mask, _sblk) \ 848 {\ 849 .name = _name, .id = _id, \ 850 .base = _base, .len = 0x1800, \ 851 .features = _mask, \ 852 .sblk = _sblk \ 853 } 854 > 855 static const struct dpu_dspp_cfg msm8998_dspp[] = { 856 DSPP_BLK("dspp_0", DSPP_0, 0x54000, DSPP_MSM8998_MASK, 857 &msm8998_dspp_sblk), 858 DSPP_BLK("dspp_1", DSPP_1, 0x56000, DSPP_MSM8998_MASK, 859 &msm8998_dspp_sblk), 860 }; 861
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |