git: a499baff3955 - stable/14 - vmd(4): Fix typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Thu, 25 Jan 2024 06:48:21 UTC
The branch stable/14 has been updated by gbe:

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

commit a499baff3955b9edacd56c44cf30386e26822e17
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-01-22 20:55:33 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-01-25 06:44:55 +0000

    vmd(4): Fix typos in source code comments
    
    - s/harwdare/hardware/
    
    (cherry picked from commit b2c48aa4d19268610191a0b7d7b76d01d28b0a13)
---
 sys/dev/vmd/vmd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/vmd/vmd.c b/sys/dev/vmd/vmd.c
index 5ed5551d52d7..395b789fdff4 100644
--- a/sys/dev/vmd/vmd.c
+++ b/sys/dev/vmd/vmd.c
@@ -437,7 +437,7 @@ vmd_alloc_resource(device_t dev, device_t child, int type, int *rid,
 
 	switch (type) {
 	case SYS_RES_IRQ:
-		/* VMD harwdare does not support legacy interrupts. */
+		/* VMD hardware does not support legacy interrupts. */
 		if (*rid == 0)
 			return (NULL);
 		return (bus_generic_alloc_resource(dev, child, type, rid,
@@ -465,7 +465,7 @@ vmd_alloc_resource(device_t dev, device_t child, int type, int *rid,
 			    pcib_child_name(child));
 		break;
 	default:
-		/* VMD harwdare does not support I/O ports. */
+		/* VMD hardware does not support I/O ports. */
 		return (NULL);
 	}
 	rman_set_rid(res, *rid);
@@ -500,7 +500,7 @@ static int
 vmd_route_interrupt(device_t dev, device_t child, int pin)
 {
 
-	/* VMD harwdare does not support legacy interrupts. */
+	/* VMD hardware does not support legacy interrupts. */
 	return (PCI_INVALID_IRQ);
 }