[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209241505.gJBIbQch-lkp@intel.com>
Date: Sat, 24 Sep 2022 15:32:49 +0800
From: kernel test robot <lkp@...el.com>
To: Leon Romanovsky <leonro@...dia.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [leon-rdma:xfrm-next 12/46]
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c:1444:15: error:
too many arguments to function 'mlx5_aso_poll_cq'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git xfrm-next
head: 35907d968099d1fd14c029f676767099c8d3b9b9
commit: 494f5789ae312459c9c030bf41751357660fa2a7 [12/46] net/mlx5: Make ASO poll CQ usable in atomic context
config: s390-allyesconfig
compiler: s390-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/leon/linux-rdma.git/commit/?id=494f5789ae312459c9c030bf41751357660fa2a7
git remote add leon-rdma https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
git fetch --no-tags leon-rdma xfrm-next
git checkout 494f5789ae312459c9c030bf41751357660fa2a7
# 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=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c: In function 'macsec_aso_set_arm_event':
>> drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c:1444:15: error: too many arguments to function 'mlx5_aso_poll_cq'
1444 | err = mlx5_aso_poll_cq(maso, false, 10);
| ^~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c:9:
drivers/net/ethernet/mellanox/mlx5/core/lib/aso.h:81:5: note: declared here
81 | int mlx5_aso_poll_cq(struct mlx5_aso *aso, bool with_data);
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c: In function 'macsec_aso_query':
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c:1469:15: error: too many arguments to function 'mlx5_aso_poll_cq'
1469 | err = mlx5_aso_poll_cq(maso, false, 10);
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/lib/aso.h:81:5: note: declared here
81 | int mlx5_aso_poll_cq(struct mlx5_aso *aso, bool with_data);
| ^~~~~~~~~~~~~~~~
vim +/mlx5_aso_poll_cq +1444 drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1426
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1427 static int macsec_aso_set_arm_event(struct mlx5_core_dev *mdev, struct mlx5e_macsec *macsec,
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1428 struct mlx5e_macsec_aso_in *in)
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1429 {
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1430 struct mlx5e_macsec_aso *aso;
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1431 struct mlx5_aso_wqe *aso_wqe;
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1432 struct mlx5_aso *maso;
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1433 int err;
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1434
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1435 aso = &macsec->aso;
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1436 maso = aso->maso;
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1437
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1438 mutex_lock(&aso->aso_lock);
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1439 aso_wqe = mlx5_aso_get_wqe(maso);
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1440 mlx5_aso_build_wqe(maso, MLX5_MACSEC_ASO_DS_CNT, aso_wqe, in->obj_id,
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1441 MLX5_ACCESS_ASO_OPC_MOD_MACSEC);
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1442 macsec_aso_build_ctrl(aso, &aso_wqe->aso_ctrl, in);
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1443 mlx5_aso_post_wqe(maso, false, &aso_wqe->ctrl);
4411a6c0abd3e5 Emeel Hakim 2022-09-21 @1444 err = mlx5_aso_poll_cq(maso, false, 10);
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1445 mutex_unlock(&aso->aso_lock);
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1446
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1447 return err;
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1448 }
4411a6c0abd3e5 Emeel Hakim 2022-09-21 1449
:::::: The code at line 1444 was first introduced by commit
:::::: 4411a6c0abd3e55b4a4fb9432b3a0553f12337c2 net/mlx5e: Support MACsec offload extended packet number (EPN)
:::::: TO: Emeel Hakim <ehakim@...dia.com>
:::::: CC: Jakub Kicinski <kuba@...nel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (305665 bytes)
Powered by blists - more mailing lists