This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit d2ba0c9124a31f41453505f751790a2663f33857
Author: Yanfeng Liu <[email protected]>
AuthorDate: Tue Aug 26 10:14:45 2025 +0800

    drivers/virtio-snd: fix the driver name in an error log
    
    The allocation failure log said "virtio net driver"; this is the
    audio driver.
    
    Signed-off-by: Yanfeng Liu <[email protected]>
---
 drivers/virtio/virtio-snd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/virtio/virtio-snd.c b/drivers/virtio/virtio-snd.c
index e06afa08cb0..c4467c43eab 100644
--- a/drivers/virtio/virtio-snd.c
+++ b/drivers/virtio/virtio-snd.c
@@ -1266,7 +1266,7 @@ static int virtio_snd_probe(FAR struct virtio_device 
*vdev)
   priv = kmm_zalloc(sizeof(*priv));
   if (priv == NULL)
     {
-      vrterr("virtio net driver priv alloc failed\n");
+      vrterr("virtio audio driver priv alloc failed\n");
       return -ENOMEM;
     }
 

Reply via email to