[steev:sc8280xp-next-20220722 14/141] drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1535:37: warning: unused variable 'sc8280xp_regdma'

From: kernel test robot
Date: Thu Jul 28 2022 - 07:17:21 EST


tree: https://github.com/steev/linux sc8280xp-next-20220722
head: 05eac286762272a5a2e5a5cd797ecb08b8e92741
commit: 64ab2ccaef7b7adf21c879bae5090e8c0a60135a [14/141] drm/msm/dpu: Introduce sc8280xp
config: arm64-randconfig-r003-20220728 (https://download.01.org/0day-ci/archive/20220728/202207281931.tLjk8lkA-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/steev/linux/commit/64ab2ccaef7b7adf21c879bae5090e8c0a60135a
git remote add steev https://github.com/steev/linux
git fetch --no-tags steev sc8280xp-next-20220722
git checkout 64ab2ccaef7b7adf21c879bae5090e8c0a60135a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/msm/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1535:37: warning: unused variable 'sc8280xp_regdma' [-Wunused-const-variable]
static const struct dpu_reg_dma_cfg sc8280xp_regdma = {
^
1 warning generated.


vim +/sc8280xp_regdma +1535 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

1534
> 1535 static const struct dpu_reg_dma_cfg sc8280xp_regdma = {
1536 .base = 0x0,
1537 .version = 0x00020000,
1538 .trigger_sel_off = 0x119c,
1539 .xin_id = 7,
1540 .clk_ctrl = DPU_CLK_CTRL_REG_DMA,
1541 };
1542

--
0-DAY CI Kernel Test Service
https://01.org/lkp