drivers/platform/mellanox/mlxbf-tmfifo.c:148: warning: cannot understand function prototype: 'struct mlxbf_tmfifo_io '

From: kernel test robot
Date: Mon Sep 25 2023 - 11:06:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6465e260f48790807eef06b583b38ca9789b6072
commit: bc05ea63b39420fd561dcffba00753da90338ea8 platform/mellanox: Add BlueField-3 support in the tmfifo driver
date: 10 months ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20230925/202309252330.saRU491h-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230925/202309252330.saRU491h-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309252330.saRU491h-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

drivers/platform/mellanox/mlxbf-tmfifo.c:72: warning: cannot understand function prototype: 'struct mlxbf_tmfifo_vring '
drivers/platform/mellanox/mlxbf-tmfifo.c:118: warning: cannot understand function prototype: 'struct mlxbf_tmfifo_vdev '
drivers/platform/mellanox/mlxbf-tmfifo.c:136: warning: cannot understand function prototype: 'struct mlxbf_tmfifo_irq_info '
>> drivers/platform/mellanox/mlxbf-tmfifo.c:148: warning: cannot understand function prototype: 'struct mlxbf_tmfifo_io '
drivers/platform/mellanox/mlxbf-tmfifo.c:172: warning: cannot understand function prototype: 'struct mlxbf_tmfifo '
drivers/platform/mellanox/mlxbf-tmfifo.c:198: warning: cannot understand function prototype: 'struct mlxbf_tmfifo_msg_hdr '


vim +148 drivers/platform/mellanox/mlxbf-tmfifo.c

141
142 /**
143 * mlxbf_tmfifo_io - Structure of the TmFifo IO resource (for both rx & tx)
144 * @ctl: control register offset (TMFIFO_RX_CTL / TMFIFO_TX_CTL)
145 * @sts: status register offset (TMFIFO_RX_STS / TMFIFO_TX_STS)
146 * @data: data register offset (TMFIFO_RX_DATA / TMFIFO_TX_DATA)
147 */
> 148 struct mlxbf_tmfifo_io {
149 void __iomem *ctl;
150 void __iomem *sts;
151 void __iomem *data;
152 };
153

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki