From: kernel test robot <lkp@intel.com>
To: Ofir Bitton <obitton@habana.ai>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Oded Gabbay <ogabbay@kernel.org>
Subject: [linux-next:master 9508/13717] drivers/accel/habanalabs/gaudi/gaudi.c:117:19: warning: unused variable 'gaudi_irq_name'
Date: Sun, 23 Apr 2023 00:07:38 +0800 [thread overview]
Message-ID: <202304230014.YbScpx20-lkp@intel.com> (raw)
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
reply other threads:[~2023-04-22 16:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202304230014.YbScpx20-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=obitton@habana.ai \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ogabbay@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox