All of lore.kernel.org
 help / color / mirror / Atom feed
* [robh:dt/header-cleanups 57/59] drivers/perf/xgene_pmu.c:1732:36: warning: unused variable 'xgene_pmu_v3_data'
@ 2023-05-02  1:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-02  1:59 UTC (permalink / raw)
  To: Rob Herring; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git dt/header-cleanups
head:   34ab035cf8c37588331031cac8fc0dd07f15f3cc
commit: 23496cc222294cb10cd0a3601c443f75a5016ad6 [57/59] Use of_device_get_match_data
config: arm64-randconfig-r015-20230430 (https://download.01.org/0day-ci/archive/20230502/202305020945.bGdVB9hL-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b1465cd49efcbc114a75220b153f5a055ce7911f)
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://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?id=23496cc222294cb10cd0a3601c443f75a5016ad6
        git remote add robh https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
        git fetch --no-tags robh dt/header-cleanups
        git checkout 23496cc222294cb10cd0a3601c443f75a5016ad6
        # 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 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/perf/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305020945.bGdVB9hL-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/perf/xgene_pmu.c:1732:36: warning: unused variable 'xgene_pmu_v3_data' [-Wunused-const-variable]
   static const struct xgene_pmu_data xgene_pmu_v3_data = {
                                      ^
   1 warning generated.


vim +/xgene_pmu_v3_data +1732 drivers/perf/xgene_pmu.c

  1731	
> 1732	static const struct xgene_pmu_data xgene_pmu_v3_data = {
  1733		.id   = PCP_PMU_V3,
  1734	};
  1735	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

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

only message in thread, other threads:[~2023-05-02  2:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-02  1:59 [robh:dt/header-cleanups 57/59] drivers/perf/xgene_pmu.c:1732:36: warning: unused variable 'xgene_pmu_v3_data' kernel test robot

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.