From: kernel test robot <lkp@intel.com>
To: Nathan Rossi <nathan.rossi@digi.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org, Marc Zyngier <maz@kernel.org>
Subject: drivers/irqchip/irq-armada-370-xp.c:319:13: warning: unused function 'armada_370_xp_msi_reenable_percpu'
Date: Thu, 19 Jan 2023 21:57:57 +0800 [thread overview]
Message-ID: <202301192128.mz4N8mso-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7287904c8771b77b9504f53623bb477065c19a58
commit: 8ca61cde32c1db778aa52631184484e051cbdf27 irqchip/armada-370-xp: Enable MSI affinity configuration
date: 9 months ago
config: arm-randconfig-r026-20230118 (https://download.01.org/0day-ci/archive/20230119/202301192128.mz4N8mso-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ca61cde32c1db778aa52631184484e051cbdf27
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 8ca61cde32c1db778aa52631184484e051cbdf27
# 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=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/irqchip/irq-armada-370-xp.c:319:13: warning: unused function 'armada_370_xp_msi_reenable_percpu' [-Wunused-function]
static void armada_370_xp_msi_reenable_percpu(void) {}
^
1 warning generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for TEGRA20_APB_DMA
Depends on [n]: DMADEVICES [=n] && (ARCH_TEGRA [=y] || COMPILE_TEST [=y])
Selected by [y]:
- SOC_TEGRA_FUSE [=y] && ARCH_TEGRA [=y] && ARCH_TEGRA_2x_SOC [=y]
vim +/armada_370_xp_msi_reenable_percpu +319 drivers/irqchip/irq-armada-370-xp.c
292
293 static int armada_370_xp_msi_init(struct device_node *node,
294 phys_addr_t main_int_phys_base)
295 {
296 msi_doorbell_addr = main_int_phys_base +
297 ARMADA_370_XP_SW_TRIG_INT_OFFS;
298
299 armada_370_xp_msi_inner_domain =
300 irq_domain_add_linear(NULL, PCI_MSI_DOORBELL_NR,
301 &armada_370_xp_msi_domain_ops, NULL);
302 if (!armada_370_xp_msi_inner_domain)
303 return -ENOMEM;
304
305 armada_370_xp_msi_domain =
306 pci_msi_create_irq_domain(of_node_to_fwnode(node),
307 &armada_370_xp_msi_domain_info,
308 armada_370_xp_msi_inner_domain);
309 if (!armada_370_xp_msi_domain) {
310 irq_domain_remove(armada_370_xp_msi_inner_domain);
311 return -ENOMEM;
312 }
313
314 armada_370_xp_msi_reenable_percpu();
315
316 return 0;
317 }
318 #else
> 319 static void armada_370_xp_msi_reenable_percpu(void) {}
320
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-01-19 13:59 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=202301192128.mz4N8mso-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maz@kernel.org \
--cc=nathan.rossi@digi.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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