* [linux-next:master 13449/13717] drivers/vdpa/mlx5/net/mlx5_vnet.c:2896:17: error: implicit declaration of function 'mlx5_msix_free'; did you mean 'mlx5_db_free'?
@ 2023-04-21 19:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-21 19:53 UTC (permalink / raw)
To: Eli Cohen
Cc: oe-kbuild-all, Linux Memory Management List, Michael S. Tsirkin,
Saeed Mahameed
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d3e1ee0e67e7603d36f4fa2fec6b881c01aabe89
commit: b9ca712f33f59e977592cb639c2e00a02f45a146 [13449/13717] vdpa/mlx5: Support interrupt bypassing
config: microblaze-randconfig-r013-20230421 (https://download.01.org/0day-ci/archive/20230422/202304220313.aBr2eAyS-lkp@intel.com/config)
compiler: microblaze-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=b9ca712f33f59e977592cb639c2e00a02f45a146
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 b9ca712f33f59e977592cb639c2e00a02f45a146
# 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=microblaze olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/vdpa/mlx5/
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/202304220313.aBr2eAyS-lkp@intel.com/
Note: the linux-next/master HEAD d3e1ee0e67e7603d36f4fa2fec6b881c01aabe89 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'free_irqs':
>> drivers/vdpa/mlx5/net/mlx5_vnet.c:2896:17: error: implicit declaration of function 'mlx5_msix_free'; did you mean 'mlx5_db_free'? [-Werror=implicit-function-declaration]
2896 | mlx5_msix_free(ndev->mvdev.mdev, ent->map);
| ^~~~~~~~~~~~~~
| mlx5_db_free
drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'allocate_irqs':
>> drivers/vdpa/mlx5/net/mlx5_vnet.c:3259:28: error: implicit declaration of function 'mlx5_msix_alloc'; did you mean 'mlx5_db_alloc'? [-Werror=implicit-function-declaration]
3259 | ent->map = mlx5_msix_alloc(ndev->mvdev.mdev, int_handler, NULL, ent->name);
| ^~~~~~~~~~~~~~~
| mlx5_db_alloc
>> drivers/vdpa/mlx5/net/mlx5_vnet.c:3259:28: error: incompatible types when assigning to type 'struct msi_map' from type 'int'
cc1: some warnings being treated as errors
vim +2896 drivers/vdpa/mlx5/net/mlx5_vnet.c
2885
2886 static void free_irqs(struct mlx5_vdpa_net *ndev)
2887 {
2888 struct mlx5_vdpa_irq_pool_entry *ent;
2889 int i;
2890
2891 if (!msix_mode_supported(&ndev->mvdev))
2892 return;
2893
2894 for (i = ndev->irqp.num_ent - 1; i >= 0; i--) {
2895 ent = ndev->irqp.entries + i;
> 2896 mlx5_msix_free(ndev->mvdev.mdev, ent->map);
2897 }
2898 kfree(ndev->irqp.entries);
2899 }
2900
--
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-04-21 19:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 19:53 [linux-next:master 13449/13717] drivers/vdpa/mlx5/net/mlx5_vnet.c:2896:17: error: implicit declaration of function 'mlx5_msix_free'; did you mean 'mlx5_db_free'? 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