summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-09-01 03:14:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-09-01 03:14:49 +0000
commit1c391c272047eb676e05b37a5c034b8fa12db32a (patch)
tree1326d093024d68b0733cdb428563078e92c8db0c /sys
parent8c01e2d3d7dac48ce5dbd44573c1b2f5195b7c55 (diff)
spelling; checked by jmc@, ok miod@ mglocker@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/qcpas.c4
-rw-r--r--sys/dev/ic/qwz.c4
-rw-r--r--sys/dev/ic/qwzreg.h4
-rw-r--r--sys/dev/ic/r92creg.h4
-rw-r--r--sys/dev/pci/if_bnxreg.h4
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/fdt/qcpas.c b/sys/dev/fdt/qcpas.c
index 05a9fdec58a..5d05897788a 100644
--- a/sys/dev/fdt/qcpas.c
+++ b/sys/dev/fdt/qcpas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qcpas.c,v 1.6 2024/08/05 18:36:28 kettenis Exp $ */
+/* $OpenBSD: qcpas.c,v 1.7 2024/09/01 03:14:48 jsg Exp $ */
/*
* Copyright (c) 2023 Patrick Wildt <patrick@blueri.se>
*
@@ -1223,7 +1223,7 @@ struct battmgr_bat_info {
uint32_t max_sample_time_ms;
uint32_t min_sample_time_ms;
uint32_t max_average_interval_ms;
- uint32_t min_averae_interval_ms;
+ uint32_t min_average_interval_ms;
uint32_t capacity_granularity1;
uint32_t capacity_granularity2;
uint32_t swappable;
diff --git a/sys/dev/ic/qwz.c b/sys/dev/ic/qwz.c
index e8f6b366b21..c9014cc0aae 100644
--- a/sys/dev/ic/qwz.c
+++ b/sys/dev/ic/qwz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qwz.c,v 1.8 2024/09/01 03:08:56 jsg Exp $ */
+/* $OpenBSD: qwz.c,v 1.9 2024/09/01 03:14:48 jsg Exp $ */
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
@@ -3530,7 +3530,7 @@ static const struct qmi_elem_info qmi_wlanfw_host_cap_req_msg_v01_ei[] = {
.array_type = NO_ARRAY,
.tlv_type = 0x1D,
.offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
- cal_duraiton),
+ cal_duration),
},
{
.data_type = QMI_OPT_FLAG,
diff --git a/sys/dev/ic/qwzreg.h b/sys/dev/ic/qwzreg.h
index 0196db342c1..81f6047551e 100644
--- a/sys/dev/ic/qwzreg.h
+++ b/sys/dev/ic/qwzreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: qwzreg.h,v 1.5 2024/09/01 03:08:56 jsg Exp $ */
+/* $OpenBSD: qwzreg.h,v 1.6 2024/09/01 03:14:48 jsg Exp $ */
/*
* Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc.
@@ -6626,7 +6626,7 @@ struct qmi_wlanfw_host_cap_req_msg_v01 {
uint8_t mem_cfg_mode_valid;
uint8_t mem_cfg_mode;
uint8_t cal_duration_valid;
- uint16_t cal_duraiton;
+ uint16_t cal_duration;
uint8_t platform_name_valid;
char platform_name[QMI_WLANFW_MAX_PLATFORM_NAME_LEN_V01 + 1];
uint8_t ddr_range_valid;
diff --git a/sys/dev/ic/r92creg.h b/sys/dev/ic/r92creg.h
index cd8b8dab458..8165b94d61b 100644
--- a/sys/dev/ic/r92creg.h
+++ b/sys/dev/ic/r92creg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: r92creg.h,v 1.30 2023/04/28 01:24:14 kevlo Exp $ */
+/* $OpenBSD: r92creg.h,v 1.31 2024/09/01 03:14:48 jsg Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -1259,7 +1259,7 @@ struct r92c_rom {
uint8_t rf_opt4;
uint8_t reserved5;
uint8_t version;
- uint8_t curstomer_id;
+ uint8_t customer_id;
} __packed;
struct r92e_tx_pwr {
diff --git a/sys/dev/pci/if_bnxreg.h b/sys/dev/pci/if_bnxreg.h
index 7b3ca324267..be5e1834fa9 100644
--- a/sys/dev/pci/if_bnxreg.h
+++ b/sys/dev/pci/if_bnxreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnxreg.h,v 1.50 2022/01/09 05:42:47 jsg Exp $ */
+/* $OpenBSD: if_bnxreg.h,v 1.51 2024/09/01 03:14:48 jsg Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
@@ -171,7 +171,7 @@
/* Returns FALSE in "defects" per 2^31 - 1 calls, otherwise returns TRUE. */
#define DB_RANDOMFALSE(defects) (random() > defects)
#define DB_OR_RANDOMFALSE(defects) || (random() > defects)
-#define DB_AND_RANDOMFALSE(defects) && (random() > ddfects)
+#define DB_AND_RANDOMFALSE(defects) && (random() > defects)
/* Returns TRUE in "defects" per 2^31 - 1 calls, otherwise returns FALSE. */
#define DB_RANDOMTRUE(defects) (random() < defects)