The branch stable/15 has been updated by gbe:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=bf20456cc379b4bc0fd59f485a908cd01822967b

commit bf20456cc379b4bc0fd59f485a908cd01822967b
Author:     Gordon Bergling <[email protected]>
AuthorDate: 2025-10-28 08:14:43 +0000
Commit:     Gordon Bergling <[email protected]>
CommitDate: 2025-11-08 20:11:42 +0000

    virtio(4): Fix a couple of typos in kernel messages
    
    - s/reponse/response/
    - s/Cannnot/Cannot/
    
    (cherry picked from commit e9058e1444d8e5831a237934ca2316e22fc55f36)
---
 sys/dev/virtio/gpu/virtio_gpu.c   | 10 +++++-----
 sys/dev/virtio/scmi/virtio_scmi.c |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys/dev/virtio/gpu/virtio_gpu.c b/sys/dev/virtio/gpu/virtio_gpu.c
index 6f786a450900..668eb170304a 100644
--- a/sys/dev/virtio/gpu/virtio_gpu.c
+++ b/sys/dev/virtio/gpu/virtio_gpu.c
@@ -547,7 +547,7 @@ vtgpu_create_2d(struct vtgpu_softc *sc)
                return (error);
 
        if (s.resp.type != htole32(VIRTIO_GPU_RESP_OK_NODATA)) {
-               device_printf(sc->vtgpu_dev, "Invalid reponse type %x\n",
+               device_printf(sc->vtgpu_dev, "Invalid response type %x\n",
                    le32toh(s.resp.type));
                return (EINVAL);
        }
@@ -586,7 +586,7 @@ vtgpu_attach_backing(struct vtgpu_softc *sc)
                return (error);
 
        if (s.resp.type != htole32(VIRTIO_GPU_RESP_OK_NODATA)) {
-               device_printf(sc->vtgpu_dev, "Invalid reponse type %x\n",
+               device_printf(sc->vtgpu_dev, "Invalid response type %x\n",
                    le32toh(s.resp.type));
                return (EINVAL);
        }
@@ -624,7 +624,7 @@ vtgpu_set_scanout(struct vtgpu_softc *sc, uint32_t x, 
uint32_t y,
                return (error);
 
        if (s.resp.type != htole32(VIRTIO_GPU_RESP_OK_NODATA)) {
-               device_printf(sc->vtgpu_dev, "Invalid reponse type %x\n",
+               device_printf(sc->vtgpu_dev, "Invalid response type %x\n",
                    le32toh(s.resp.type));
                return (EINVAL);
        }
@@ -663,7 +663,7 @@ vtgpu_transfer_to_host_2d(struct vtgpu_softc *sc, uint32_t 
x, uint32_t y,
                return (error);
 
        if (s.resp.type != htole32(VIRTIO_GPU_RESP_OK_NODATA)) {
-               device_printf(sc->vtgpu_dev, "Invalid reponse type %x\n",
+               device_printf(sc->vtgpu_dev, "Invalid response type %x\n",
                    le32toh(s.resp.type));
                return (EINVAL);
        }
@@ -700,7 +700,7 @@ vtgpu_resource_flush(struct vtgpu_softc *sc, uint32_t x, 
uint32_t y,
                return (error);
 
        if (s.resp.type != htole32(VIRTIO_GPU_RESP_OK_NODATA)) {
-               device_printf(sc->vtgpu_dev, "Invalid reponse type %x\n",
+               device_printf(sc->vtgpu_dev, "Invalid response type %x\n",
                    le32toh(s.resp.type));
                return (EINVAL);
        }
diff --git a/sys/dev/virtio/scmi/virtio_scmi.c 
b/sys/dev/virtio/scmi/virtio_scmi.c
index f5427756e971..436711dc0ae2 100644
--- a/sys/dev/virtio/scmi/virtio_scmi.c
+++ b/sys/dev/virtio/scmi/virtio_scmi.c
@@ -386,7 +386,7 @@ virtio_scmi_pdu_get(struct vtscmi_queue *q, void *buf, 
unsigned int tx_len,
        mtx_unlock_spin(&q->p_mtx);
 
        if (pdu == NULL) {
-               device_printf(q->dev, "Cannnot allocate PDU.\n");
+               device_printf(q->dev, "Cannot allocate PDU.\n");
                return (NULL);
        }
 

Reply via email to