linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 6041/8375] drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c:148:31: error: implicit declaration of function 'pci_msix_can_alloc_dyn'
@ 2023-03-31 16:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-31 16:10 UTC (permalink / raw)
  To: Eli Cohen
  Cc: oe-kbuild-all, Linux Memory Management List, Saeed Mahameed,
	Shay Drory, Jacob Keller

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4b0f4525dc4fe8af17b3daefe585f0c2eb0fe0a5
commit: 3354822cde5a9f72aa725b3c619188b149a71a33 [6041/8375] net/mlx5: Use dynamic msix vectors allocation
config: alpha-randconfig-r003-20230329 (https://download.01.org/0day-ci/archive/20230401/202304010037.jagzIuJZ-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.1.0
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=3354822cde5a9f72aa725b3c619188b149a71a33
        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 3354822cde5a9f72aa725b3c619188b149a71a33
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/net/ethernet/mellanox/mlx5/core/

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/202304010037.jagzIuJZ-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c: In function 'irq_release':
>> drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c:148:31: error: implicit declaration of function 'pci_msix_can_alloc_dyn' [-Werror=implicit-function-declaration]
     148 |         if (irq->map.index && pci_msix_can_alloc_dyn(pool->dev->pdev))
         |                               ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/pci_msix_can_alloc_dyn +148 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c

   145	
   146		free_cpumask_var(irq->mask);
   147		free_irq(irq->map.virq, &irq->nh);
 > 148		if (irq->map.index && pci_msix_can_alloc_dyn(pool->dev->pdev))
   149			pci_msix_free_irq(pool->dev->pdev, irq->map);
   150		kfree(irq);
   151	}
   152	

-- 
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-03-31 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31 16:10 [linux-next:master 6041/8375] drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c:148:31: error: implicit declaration of function 'pci_msix_can_alloc_dyn' 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).