* [leon-rdma:rdma-next 27/31] drivers/net/ethernet/mellanox/mlx4/intf.c:62:6: warning: no previous prototype for 'is_ib_supported'
@ 2023-03-15 23:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-15 23:50 UTC (permalink / raw)
To: Petr Pavlu; +Cc: oe-kbuild-all, Leon Romanovsky
tree: https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head: 712b4584a71d7f86b5f870dae8ee6e5abd42971f
commit: ed40d1a4b21149df98f2d3975d3b6752e33e2b88 [27/31] mlx4: Connect the infiniband part to the auxiliary bus
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20230316/202303160758.xTpKSTx0-lkp@intel.com/config)
compiler: riscv64-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=ed40d1a4b21149df98f2d3975d3b6752e33e2b88
git remote add leon-rdma https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
git fetch --no-tags leon-rdma rdma-next
git checkout ed40d1a4b21149df98f2d3975d3b6752e33e2b88
# 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=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/net/ethernet/mellanox/mlx4/
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/202303160758.xTpKSTx0-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlx4/intf.c:53:6: warning: no previous prototype for 'is_eth_supported' [-Wmissing-prototypes]
53 | bool is_eth_supported(struct mlx4_dev *dev)
| ^~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mellanox/mlx4/intf.c:62:6: warning: no previous prototype for 'is_ib_supported' [-Wmissing-prototypes]
62 | bool is_ib_supported(struct mlx4_dev *dev)
| ^~~~~~~~~~~~~~~
vim +/is_ib_supported +62 drivers/net/ethernet/mellanox/mlx4/intf.c
61
> 62 bool is_ib_supported(struct mlx4_dev *dev)
63 {
64 for (int port = 1; port <= dev->caps.num_ports; port++)
65 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_IB)
66 return true;
67
68 if (dev->caps.flags & MLX4_DEV_CAP_FLAG_IBOE)
69 return true;
70
71 return false;
72 }
73
--
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-15 23:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 23:50 [leon-rdma:rdma-next 27/31] drivers/net/ethernet/mellanox/mlx4/intf.c:62:6: warning: no previous prototype for 'is_ib_supported' 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).