public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/irqchip/irq-armada-370-xp.c:319:13: warning: unused function 'armada_370_xp_msi_reenable_percpu'
@ 2023-01-19 13:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-19 13:57 UTC (permalink / raw)
  To: Nathan Rossi; +Cc: llvm, oe-kbuild-all, linux-kernel, Marc Zyngier

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

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

only message in thread, other threads:[~2023-01-19 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19 13:57 drivers/irqchip/irq-armada-370-xp.c:319:13: warning: unused function 'armada_370_xp_msi_reenable_percpu' 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