mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] virtio: Stop spamming debug buffer
@ 2025-10-14  9:37 Jonas Rebmann
  2025-10-16 12:05 ` Ahmad Fatoum
  2025-10-20 11:22 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Jonas Rebmann @ 2025-10-14  9:37 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Jonas Rebmann

At log level 7, this permanently prints over a hundred times per second,
probably unneeded debug print, drop it.

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
 drivers/virtio/virtio_ring.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 284721aeff..c1c84e4961 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -241,10 +241,8 @@ void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len)
 	u16 last_used;
 	void *ret;
 
-	if (!more_used(vq)) {
-		vq_debug(vq, "No more buffers in queue\n");
+	if (!more_used(vq))
 		return NULL;
-	}
 
 	/* Only get used array entries after they have been exposed by host */
 	virtio_rmb();

---
base-commit: 8785a6ad7467b6f1f70b6e12aa2ceb2fdd5d8546
change-id: 20251014-virtiospam-72c3f6fb134b

Best regards,
--  
Jonas Rebmann <jre@pengutronix.de>




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-20 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-14  9:37 [PATCH] virtio: Stop spamming debug buffer Jonas Rebmann
2025-10-16 12:05 ` Ahmad Fatoum
2025-10-20 11:22 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox