git: b2c48aa4d192 - main - vmd(4): Fix typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 21:04:06 UTC
The branch main has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=b2c48aa4d19268610191a0b7d7b76d01d28b0a13
commit b2c48aa4d19268610191a0b7d7b76d01d28b0a13
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-01-22 20:55:33 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-01-22 20:55:33 +0000
vmd(4): Fix typos in source code comments
- s/harwdare/hardware/
MFC after: 3 days
---
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 42b48da05321..1563d707c6b4 100644
--- a/sys/dev/vmd/vmd.c
+++ b/sys/dev/vmd/vmd.c
@@ -436,7 +436,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,
@@ -464,7 +464,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);
@@ -499,7 +499,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);
}