* Re: [PATCH net-next v5 8/8] vhost_net: Replace rx_ring with calls of TUN/TAP wrappers
[not found] <20250922221553.47802-9-simon.schippers@tu-dortmund.de>
@ 2025-09-23 14:14 ` kernel test robot
2025-09-26 13:47 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-09-23 14:14 UTC (permalink / raw)
To: Simon Schippers, willemdebruijn.kernel, jasowang, mst, eperezma,
stephen, leiyang, netdev, linux-kernel, virtualization, kvm
Cc: llvm, oe-kbuild-all, Simon Schippers, Tim Gebauer
Hi Simon,
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/Simon-Schippers/__ptr_ring_full_next-Returns-if-ring-will-be-full-after-next-insertion/20250923-062130
base: net-next/main
patch link: https://lore.kernel.org/r/20250922221553.47802-9-simon.schippers%40tu-dortmund.de
patch subject: [PATCH net-next v5 8/8] vhost_net: Replace rx_ring with calls of TUN/TAP wrappers
config: i386-buildonly-randconfig-003-20250923 (https://download.01.org/0day-ci/archive/20250923/202509232113.Z0qRJQHs-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250923/202509232113.Z0qRJQHs-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/202509232113.Z0qRJQHs-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/vhost/net.c:197:3: error: expected expression
197 | WARN_ON_ONCE();
| ^
include/asm-generic/bug.h:111:34: note: expanded from macro 'WARN_ON_ONCE'
111 | int __ret_warn_on = !!(condition); \
| ^
1 error generated.
vim +197 drivers/vhost/net.c
178
179 static int vhost_net_buf_produce(struct vhost_net_virtqueue *nvq,
180 struct sock *sk)
181 {
182 struct file *file = sk->sk_socket->file;
183 struct vhost_net_buf *rxq = &nvq->rxq;
184
185 rxq->head = 0;
186
187 switch (nvq->type) {
188 case TUN:
189 rxq->tail = tun_ring_consume_batched(file,
190 rxq->queue, VHOST_NET_BATCH);
191 break;
192 case TAP:
193 rxq->tail = tap_ring_consume_batched(file,
194 rxq->queue, VHOST_NET_BATCH);
195 break;
196 case IF_NONE:
> 197 WARN_ON_ONCE();
198 }
199
200 return rxq->tail;
201 }
202
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v5 8/8] vhost_net: Replace rx_ring with calls of TUN/TAP wrappers
[not found] <20250922221553.47802-9-simon.schippers@tu-dortmund.de>
2025-09-23 14:14 ` [PATCH net-next v5 8/8] vhost_net: Replace rx_ring with calls of TUN/TAP wrappers kernel test robot
@ 2025-09-26 13:47 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-09-26 13:47 UTC (permalink / raw)
To: Simon Schippers, willemdebruijn.kernel, jasowang, mst, eperezma,
stephen, leiyang, netdev, linux-kernel, virtualization, kvm
Cc: llvm, oe-kbuild-all, Simon Schippers, Tim Gebauer
Hi Simon,
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/Simon-Schippers/__ptr_ring_full_next-Returns-if-ring-will-be-full-after-next-insertion/20250924-180633
base: net-next/main
patch link: https://lore.kernel.org/r/20250922221553.47802-9-simon.schippers%40tu-dortmund.de
patch subject: [PATCH net-next v5 8/8] vhost_net: Replace rx_ring with calls of TUN/TAP wrappers
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20250926/202509262102.4AmV1Mms-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250926/202509262102.4AmV1Mms-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/202509262102.4AmV1Mms-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/vhost/net.c:197:3: error: expected expression
197 | WARN_ON_ONCE();
| ^
include/asm-generic/bug.h:111:34: note: expanded from macro 'WARN_ON_ONCE'
111 | int __ret_warn_on = !!(condition); \
| ^
1 error generated.
vim +197 drivers/vhost/net.c
178
179 static int vhost_net_buf_produce(struct vhost_net_virtqueue *nvq,
180 struct sock *sk)
181 {
182 struct file *file = sk->sk_socket->file;
183 struct vhost_net_buf *rxq = &nvq->rxq;
184
185 rxq->head = 0;
186
187 switch (nvq->type) {
188 case TUN:
189 rxq->tail = tun_ring_consume_batched(file,
190 rxq->queue, VHOST_NET_BATCH);
191 break;
192 case TAP:
193 rxq->tail = tap_ring_consume_batched(file,
194 rxq->queue, VHOST_NET_BATCH);
195 break;
196 case IF_NONE:
> 197 WARN_ON_ONCE();
198 }
199
200 return rxq->tail;
201 }
202
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-26 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250922221553.47802-9-simon.schippers@tu-dortmund.de>
2025-09-23 14:14 ` [PATCH net-next v5 8/8] vhost_net: Replace rx_ring with calls of TUN/TAP wrappers kernel test robot
2025-09-26 13:47 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox