git: 48a02b429d58 - stable/13 - vmd(4): Fix typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jan 2024 06:53:01 UTC
The branch stable/13 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=48a02b429d58868782005fc72c722d37deee300c
commit 48a02b429d58868782005fc72c722d37deee300c
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:50:18 +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 16edf45c2dea..e07f1de4983b 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);
}