summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-06-18 22:11:00 +0000
committerandvar <andvar@NetBSD.org>2022-06-18 22:11:00 +0000
commit7e1d5c58dabd9e96ac07c62326ff168ca3a561a5 (patch)
tree0c12b5b9fc928c689f2c69c3bb88cf2d4b5211e4 /sys/dev
parent55d3b5e0347ef92ae2e0f6b4f8b9281de3edbf24 (diff)
fix typos in word "functions" in comments, mainly s/fuctions/functions/.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/virtio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/virtio.c b/sys/dev/pci/virtio.c
index 2fae6e14f47..7f0fb5f086b 100644
--- a/sys/dev/pci/virtio.c
+++ b/sys/dev/pci/virtio.c
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio.c,v 1.54 2022/04/24 11:51:09 uwe Exp $ */
+/* $NetBSD: virtio.c,v 1.55 2022/06/18 22:11:01 andvar Exp $ */
/*
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.54 2022/04/24 11:51:09 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.55 2022/06/18 22:11:01 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -251,7 +251,7 @@ virtio_read_device_config_8(struct virtio_softc *sc, int index) {
/*
* In the older virtio spec, device config registers are host endian. On newer
* they are little endian. Some newer devices however explicitly specify their
- * register to always be little endian. These fuctions cater for these.
+ * register to always be little endian. These functions cater for these.
*/
uint16_t
virtio_read_device_config_le_2(struct virtio_softc *sc, int index) {
@@ -356,7 +356,7 @@ virtio_write_device_config_8(struct virtio_softc *sc, int index, uint64_t value)
/*
* In the older virtio spec, device config registers are host endian. On newer
* they are little endian. Some newer devices however explicitly specify their
- * register to always be little endian. These fuctions cater for these.
+ * register to always be little endian. These functions cater for these.
*/
void
virtio_write_device_config_le_2(struct virtio_softc *sc, int index, uint16_t value)