All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Eli Cohen <elic@nvidia.com>
Cc: oe-kbuild-all@lists.linux.dev, Saeed Mahameed <saeedm@nvidia.com>,
	Shay Drory <shayd@nvidia.com>
Subject: [saeed:testing/vdpa-posted-interrupt 10/15] drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c:148:31: error: implicit declaration of function 'pci_msix_can_alloc_dyn'
Date: Wed, 29 Mar 2023 14:03:20 +0800	[thread overview]
Message-ID: <202303291328.sNmTyyWF-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git testing/vdpa-posted-interrupt
head:   fa4692657f1fab7ab4169159d3f37ba4d016c02c
commit: 06ce7507eb897a1195eb3f7c1138aa261549461c [10/15] net/mlx5: Use dynamic msix vectors allocation
config: alpha-randconfig-c004-20230326 (https://download.01.org/0day-ci/archive/20230329/202303291328.sNmTyyWF-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/saeed/linux.git/commit/?id=06ce7507eb897a1195eb3f7c1138aa261549461c
        git remote add saeed https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git
        git fetch --no-tags saeed testing/vdpa-posted-interrupt
        git checkout 06ce7507eb897a1195eb3f7c1138aa261549461c
        # 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/202303291328.sNmTyyWF-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

                 reply	other threads:[~2023-03-29  6:03 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=202303291328.sNmTyyWF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=elic@nvidia.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=saeedm@nvidia.com \
    --cc=shayd@nvidia.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.