From: kernel test robot <lkp@intel.com>
To: Yunjian Wang <wangyunjian@huawei.com>,
mst@redhat.com, willemdebruijn.kernel@gmail.com,
jasowang@redhat.com, kuba@kernel.org, bjorn@kernel.org,
magnus.karlsson@intel.com, maciej.fijalkowski@intel.com,
jonathan.lemon@gmail.com, davem@davemloft.net
Cc: oe-kbuild-all@lists.linux.dev, bpf@vger.kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
kvm@vger.kernel.org, virtualization@lists.linux.dev,
xudingke@huawei.com, liwei395@huawei.com,
Yunjian Wang <wangyunjian@huawei.com>
Subject: Re: [PATCH net-next v2 3/3] tun: AF_XDP Tx zero-copy support
Date: Thu, 29 Feb 2024 23:44:54 +0800 [thread overview]
Message-ID: <202402292345.a49gfJLj-lkp@intel.com> (raw)
In-Reply-To: <1709118356-133960-1-git-send-email-wangyunjian@huawei.com>
Hi Yunjian,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Yunjian-Wang/xsk-Remove-non-zero-dma_page-check-in-xp_assign_dev/20240228-190840
base: net-next/main
patch link: https://lore.kernel.org/r/1709118356-133960-1-git-send-email-wangyunjian%40huawei.com
patch subject: [PATCH net-next v2 3/3] tun: AF_XDP Tx zero-copy support
config: microblaze-randconfig-r131-20240229 (https://download.01.org/0day-ci/archive/20240229/202402292345.a49gfJLj-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240229/202402292345.a49gfJLj-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/202402292345.a49gfJLj-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/vhost/net.c: In function 'vhost_net_buf_peek_len':
>> drivers/vhost/net.c:206:41: error: initialization of 'struct xdp_desc *' from incompatible pointer type 'struct xdp_frame *' [-Werror=incompatible-pointer-types]
206 | struct xdp_desc *desc = tun_ptr_to_xdp_desc(ptr);
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +206 drivers/vhost/net.c
198
199 static int vhost_net_buf_peek_len(void *ptr)
200 {
201 if (tun_is_xdp_frame(ptr)) {
202 struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr);
203
204 return xdpf->len;
205 } else if (tun_is_xdp_desc_frame(ptr)) {
> 206 struct xdp_desc *desc = tun_ptr_to_xdp_desc(ptr);
207
208 return desc->len;
209 }
210
211 return __skb_array_len_with_tag(ptr);
212 }
213
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-02-29 15:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-28 11:05 [PATCH net-next v2 3/3] tun: AF_XDP Tx zero-copy support Yunjian Wang
2024-02-29 10:24 ` kernel test robot
2024-02-29 11:12 ` Paolo Abeni
2024-02-29 13:15 ` wangyunjian
2024-03-01 11:45 ` wangyunjian
2024-03-01 11:53 ` Michael S. Tsirkin
2024-03-04 13:45 ` wangyunjian
2024-03-11 4:00 ` Jason Wang
2024-03-11 13:27 ` wangyunjian
2024-03-12 6:07 ` Jason Wang
2024-02-29 15:44 ` kernel test robot [this message]
2024-03-01 14:11 ` Maciej Fijalkowski
2024-03-01 18:40 ` Willem de Bruijn
2024-03-06 5:32 ` Jason Wang
2024-03-04 6:55 ` Jason Wang
2024-03-04 11:23 ` wangyunjian
2024-03-06 2:11 ` Jason Wang
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=202402292345.a49gfJLj-lkp@intel.com \
--to=lkp@intel.com \
--cc=bjorn@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=davem@davemloft.net \
--cc=jasowang@redhat.com \
--cc=jonathan.lemon@gmail.com \
--cc=kuba@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liwei395@huawei.com \
--cc=maciej.fijalkowski@intel.com \
--cc=magnus.karlsson@intel.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=virtualization@lists.linux.dev \
--cc=wangyunjian@huawei.com \
--cc=willemdebruijn.kernel@gmail.com \
--cc=xudingke@huawei.com \
/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.