mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [andersson:tuxsuite 33/42] drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1405:37: warning: unused variable 'sm8350_regdma'
@ 2022-03-09  6:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-09  6:09 UTC (permalink / raw)
  To: Bjorn Andersson; +Cc: llvm, kbuild-all, linux-kernel

tree:   https://github.com/andersson/kernel tuxsuite
head:   d1c9502cfe160da3c09a0f379147f16d559e4ab7
commit: 263030b81c7535a746e774fd5fcba7b5e30b3180 [33/42] drm/msm/dpu: Fix typo in sm8350 hw_catalog
config: riscv-randconfig-r042-20220307 (https://download.01.org/0day-ci/archive/20220309/202203091451.k8xPf3xI-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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/andersson/kernel/commit/263030b81c7535a746e774fd5fcba7b5e30b3180
        git remote add andersson https://github.com/andersson/kernel
        git fetch --no-tags andersson tuxsuite
        git checkout 263030b81c7535a746e774fd5fcba7b5e30b3180
        # 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=riscv SHELL=/bin/bash drivers/clk/ drivers/dma/ 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:1405:37: warning: unused variable 'sm8350_regdma' [-Wunused-const-variable]
   static const struct dpu_reg_dma_cfg sm8350_regdma = {
                                       ^
   1 warning generated.


vim +/sm8350_regdma +1405 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

af776a3e1c304bf Jonathan Marek 2020-07-10  1404  
b3a92bed29f97a8 Robert Foss    2021-06-16 @1405  static const struct dpu_reg_dma_cfg sm8350_regdma = {
b3a92bed29f97a8 Robert Foss    2021-06-16  1406  	.base = 0x0,
b3a92bed29f97a8 Robert Foss    2021-06-16  1407  	.version = 0x00020000,
b3a92bed29f97a8 Robert Foss    2021-06-16  1408  	.trigger_sel_off = 0x119c,
b3a92bed29f97a8 Robert Foss    2021-06-16  1409  	.xin_id = 7,
b3a92bed29f97a8 Robert Foss    2021-06-16  1410  	.clk_ctrl = DPU_CLK_CTRL_REG_DMA,
b3a92bed29f97a8 Robert Foss    2021-06-16  1411  };
b3a92bed29f97a8 Robert Foss    2021-06-16  1412  

:::::: The code at line 1405 was first introduced by commit
:::::: b3a92bed29f97a812160786819bf18c2cc590cc9 drm/msm/dpu: Add SM8350 to hw catalog

:::::: TO: Robert Foss <robert.foss@linaro.org>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-09  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09  6:09 [andersson:tuxsuite 33/42] drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1405:37: warning: unused variable 'sm8350_regdma' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®