llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 9508/13717] drivers/accel/habanalabs/gaudi/gaudi.c:117:19: warning: unused variable 'gaudi_irq_name'
@ 2023-04-22 16:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-22 16:07 UTC (permalink / raw)
  To: Ofir Bitton
  Cc: llvm, oe-kbuild-all, Linux Memory Management List, Oded Gabbay

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d3e1ee0e67e7603d36f4fa2fec6b881c01aabe89
commit: b207e166dbadc88f38d9550c592cc4f8413b7a15 [9508/13717] accel/habanalabs: remove Gaudi1 multi MSI code
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20230423/202304230014.YbScpx20-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b207e166dbadc88f38d9550c592cc4f8413b7a15
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout b207e166dbadc88f38d9550c592cc4f8413b7a15
        # 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=x86_64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/ drivers/accel/ drivers/gpu/ drivers/power/ drivers/vdpa/

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/202304230014.YbScpx20-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/accel/habanalabs/gaudi/gaudi.c:117:19: warning: unused variable 'gaudi_irq_name' [-Wunused-const-variable]
   static const char gaudi_irq_name[GAUDI_MSI_ENTRIES][GAUDI_MAX_STRING_LEN] = {
                     ^
   1 warning generated.


vim +/gaudi_irq_name +117 drivers/accel/habanalabs/gaudi/gaudi.c

72d6625570c16b drivers/misc/habanalabs/gaudi/gaudi.c Ohad Sharabi 2021-08-01  116  
ac0ae6a96aa58e drivers/misc/habanalabs/gaudi/gaudi.c Oded Gabbay  2020-05-11 @117  static const char gaudi_irq_name[GAUDI_MSI_ENTRIES][GAUDI_MAX_STRING_LEN] = {
ac0ae6a96aa58e drivers/misc/habanalabs/gaudi/gaudi.c Oded Gabbay  2020-05-11  118  		"gaudi cq 0_0", "gaudi cq 0_1", "gaudi cq 0_2", "gaudi cq 0_3",
ac0ae6a96aa58e drivers/misc/habanalabs/gaudi/gaudi.c Oded Gabbay  2020-05-11  119  		"gaudi cq 1_0", "gaudi cq 1_1", "gaudi cq 1_2", "gaudi cq 1_3",
ac0ae6a96aa58e drivers/misc/habanalabs/gaudi/gaudi.c Oded Gabbay  2020-05-11  120  		"gaudi cq 5_0", "gaudi cq 5_1", "gaudi cq 5_2", "gaudi cq 5_3",
ac0ae6a96aa58e drivers/misc/habanalabs/gaudi/gaudi.c Oded Gabbay  2020-05-11  121  		"gaudi cpu eq"
ac0ae6a96aa58e drivers/misc/habanalabs/gaudi/gaudi.c Oded Gabbay  2020-05-11  122  };
ac0ae6a96aa58e drivers/misc/habanalabs/gaudi/gaudi.c Oded Gabbay  2020-05-11  123  

:::::: The code at line 117 was first introduced by commit
:::::: ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 habanalabs: add gaudi asic-dependent code

:::::: TO: Oded Gabbay <oded.gabbay@gmail.com>
:::::: CC: Oded Gabbay <oded.gabbay@gmail.com>

-- 
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-04-22 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-22 16:07 [linux-next:master 9508/13717] drivers/accel/habanalabs/gaudi/gaudi.c:117:19: warning: unused variable 'gaudi_irq_name' 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;
as well as URLs for NNTP newsgroup(s).