From: kernel test robot <lkp@intel.com>
To: Larysa Zaremba <larysa.zaremba@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Alexei Starovoitov <ast@kernel.org>,
Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Subject: [linux-next:master 7499/8213] drivers/net/ethernet/intel/ice/ice_base.c:525:16: error: variable 'desc' has initializer but incomplete type
Date: Sat, 16 Dec 2023 13:17:21 +0800 [thread overview]
Message-ID: <202312161324.nZN1zCQT-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 17cb8a20bde66a520a2ca7aad1063e1ce7382240
commit: d68d707dcbbf6a9cfe378fc2eb3ffffd5b47727e [7499/8213] ice: Support XDP hints in AF_XDP ZC mode
config: arc-randconfig-002-20231215 (https://download.01.org/0day-ci/archive/20231216/202312161324.nZN1zCQT-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231216/202312161324.nZN1zCQT-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/202312161324.nZN1zCQT-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/net/ethernet/intel/ice/ice_base.c: In function 'ice_xsk_pool_fill_cb':
>> drivers/net/ethernet/intel/ice/ice_base.c:525:16: error: variable 'desc' has initializer but incomplete type
525 | struct xsk_cb_desc desc = {};
| ^~~~~~~~~~~
>> drivers/net/ethernet/intel/ice/ice_base.c:525:28: error: storage size of 'desc' isn't known
525 | struct xsk_cb_desc desc = {};
| ^~~~
>> drivers/net/ethernet/intel/ice/ice_base.c:525:28: warning: unused variable 'desc' [-Wunused-variable]
vim +/desc +525 drivers/net/ethernet/intel/ice/ice_base.c
521
522 static void ice_xsk_pool_fill_cb(struct ice_rx_ring *ring)
523 {
524 void *ctx_ptr = &ring->pkt_ctx;
> 525 struct xsk_cb_desc desc = {};
526
527 XSK_CHECK_PRIV_TYPE(struct ice_xdp_buff);
528 desc.src = &ctx_ptr;
529 desc.off = offsetof(struct ice_xdp_buff, pkt_ctx) -
530 sizeof(struct xdp_buff);
531 desc.bytes = sizeof(ctx_ptr);
532 xsk_pool_fill_cb(ring->xsk_pool, &desc);
533 }
534
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-16 5:18 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=202312161324.nZN1zCQT-lkp@intel.com \
--to=lkp@intel.com \
--cc=ast@kernel.org \
--cc=larysa.zaremba@intel.com \
--cc=linux-mm@kvack.org \
--cc=maciej.fijalkowski@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox