* [ragnatech:next/net/tsn 4/5] drivers/net/ethernet/renesas/rtsn.c:270:9: error: implicit declaration of function '__iowmb'
@ 2023-11-27 3:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-27 3:33 UTC (permalink / raw)
To: Niklas Söderlund; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/niklas/linux.git next/net/tsn
head: 9929703c4bd6c8c37ff9c65353ea241101007b52
commit: 2aec3957074d82d65a9df406a07631e6a81e7a98 [4/5] net: ethernet: rtsn: Add support for Renesas Ethernet-TSN
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20231127/202311271132.APTExKBp-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231127/202311271132.APTExKBp-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311271132.APTExKBp-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/ethernet/renesas/rtsn.c: In function 'rtsn_poll':
>> drivers/net/ethernet/renesas/rtsn.c:270:9: error: implicit declaration of function '__iowmb' [-Werror=implicit-function-declaration]
270 | __iowmb();
| ^~~~~~~
cc1: some warnings being treated as errors
vim +/__iowmb +270 drivers/net/ethernet/renesas/rtsn.c
244
245 static int rtsn_poll(struct napi_struct *napi, int budget)
246 {
247 struct rtsn_private *priv;
248 struct net_device *ndev;
249 unsigned long flags;
250 int quota = budget;
251
252 ndev = napi->dev;
253 priv = netdev_priv(ndev);
254
255 /* Processing RX Descriptor Ring */
256 if (rtsn_rx(ndev, "a))
257 goto out;
258
259 /* Processing TX Descriptor Ring */
260 spin_lock_irqsave(&priv->lock, flags);
261 rtsn_tx_free(ndev, true);
262 netif_wake_subqueue(ndev, 0);
263 spin_unlock_irqrestore(&priv->lock, flags);
264
265 napi_complete(napi);
266
267 /* Re-enable TX/RX interrupts */
268 spin_lock_irqsave(&priv->lock, flags);
269 rtsn_ctrl_data_irq(priv, true);
> 270 __iowmb();
271 spin_unlock_irqrestore(&priv->lock, flags);
272 out:
273 return budget - quota;
274 }
275
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-27 3:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 3:33 [ragnatech:next/net/tsn 4/5] drivers/net/ethernet/renesas/rtsn.c:270:9: error: implicit declaration of function '__iowmb' kernel test robot
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.