All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alexander Lobakin <aleksander.lobakin@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, Michal Kubiak <michal.kubiak@intel.com>
Subject: [alobakin:idpf-libie-new 55/62] drivers/net/ethernet/intel/idpf/idpf_xdp.c:355:1: warning: 'static' is not at beginning of declaration
Date: Sat, 16 Mar 2024 10:36:35 +0800	[thread overview]
Message-ID: <202403161044.DCwNsGE9-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-03-16  2:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202403161044.DCwNsGE9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aleksander.lobakin@intel.com \
    --cc=michal.kubiak@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.