git: e9058e1444d8 - main - virtio(4): Fix a couple of typos in kernel messages

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Tue, 28 Oct 2025 08:15:04 UTC
The branch main has been updated by gbe:

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

commit e9058e1444d8e5831a237934ca2316e22fc55f36
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2025-10-28 08:14:43 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2025-10-28 08:14:43 +0000

    virtio(4): Fix a couple of typos in kernel messages
    
    - s/reponse/response/
    - s/Cannnot/Cannot/
    
    MFC after:      1 week
---
 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);
 	}