From: Jonas Rebmann <jre@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: Jonas Rebmann <jre@pengutronix.de>
Subject: [PATCH] virtio: Stop spamming debug buffer
Date: Tue, 14 Oct 2025 11:37:34 +0200 [thread overview]
Message-ID: <20251014-virtiospam-v1-1-138c7a8dd3de@pengutronix.de> (raw)
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>
next reply other threads:[~2025-10-14 9:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-14 9:37 Jonas Rebmann [this message]
2025-10-16 12:05 ` Ahmad Fatoum
2025-10-20 11:22 ` Sascha Hauer
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=20251014-virtiospam-v1-1-138c7a8dd3de@pengutronix.de \
--to=jre@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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