* [alobakin:idpf-libie-new 55/62] drivers/net/ethernet/intel/idpf/idpf_xdp.c:355:1: warning: 'static' is not at beginning of declaration
@ 2024-03-16 2:36 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-16 2:36 UTC (permalink / raw)
To: Alexander Lobakin; +Cc: oe-kbuild-all, Michal Kubiak
tree: https://github.com/alobakin/linux idpf-libie-new
head: ee7739a57a467726ba72f74079f3824a6becfa28
commit: 08c6c11b5697262c9a3edda21f01198099a4aea7 [55/62] idpf: add support for XDP on Rx
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240316/202403161044.DCwNsGE9-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240316/202403161044.DCwNsGE9-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/202403161044.DCwNsGE9-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/intel/idpf/idpf_xdp.c:355:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
355 | LIBETH_XDP_DEFINE_TIMER(static idpf_xdp_tx_timer, idpf_clean_xdp_irq);
| ^~~~~~~~~~~~~~~~~~~~~~~
--
>> drivers/net/ethernet/intel/idpf/idpf_txrx.c:3247:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
3247 | LIBETH_XDP_DEFINE_RUN(static idpf_xdp_run_pass, idpf_xdp_run_prog,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/intel/idpf/idpf_xdp.h:7,
from drivers/net/ethernet/intel/idpf/idpf_txrx.c:6:
>> include/net/libeth/xdp.h:917:42: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
917 | name(struct libeth_xdp_buff *xdp, struct libeth_xdp_tx_bulk *bq) \
| ^~~~~~~~~~~~~~~~~~
include/net/libeth/xdp.h:922:14: note: in expansion of macro '__LIBETH_XDP_DEFINE_RUN_PROG'
922 | bool __LIBETH_XDP_DEFINE_RUN_PROG(name, flush, xdp)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/libeth/xdp.h:936:9: note: in expansion of macro 'LIBETH_XDP_DEFINE_RUN_PROG'
936 | LIBETH_##pfx##_DEFINE_RUN_PROG(static run, flush); \
| ^~~~~~~
include/net/libeth/xdp.h:939:9: note: in expansion of macro '__LIBETH_XDP_DEFINE_RUN'
939 | __LIBETH_XDP_DEFINE_RUN(name, run, flush, populate, XDP)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/intel/idpf/idpf_txrx.c:3247:1: note: in expansion of macro 'LIBETH_XDP_DEFINE_RUN'
3247 | LIBETH_XDP_DEFINE_RUN(static idpf_xdp_run_pass, idpf_xdp_run_prog,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/intel/idpf/idpf_txrx.c:3249:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
3249 | LIBETH_XDP_DEFINE_FINALIZE(static idpf_xdp_finalize_rx, idpf_xdp_tx_flush_bulk,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/static +355 drivers/net/ethernet/intel/idpf/idpf_xdp.c
354
> 355 LIBETH_XDP_DEFINE_TIMER(static idpf_xdp_tx_timer, idpf_clean_xdp_irq);
356 LIBETH_XDP_DEFINE_FLUSH_TX(idpf_xdp_tx_flush_bulk, idpf_xdp_tx_prep,
357 idpf_xdp_tx_xmit);
358
--
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:[~2024-03-16 2:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-16 2:36 [alobakin:idpf-libie-new 55/62] drivers/net/ethernet/intel/idpf/idpf_xdp.c:355:1: warning: 'static' is not at beginning of declaration 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.