From 079591e77b73412ef56d61ce5a91b1332910831c Mon Sep 17 00:00:00 2001 From: jsg Date: Sun, 1 Sep 2024 03:14:48 +0000 Subject: [PATCH] spelling; checked by jmc@, ok miod@ mglocker@ --- sys/dev/fdt/qcpas.c | 4 ++-- sys/dev/ic/qwz.c | 4 ++-- sys/dev/ic/qwzreg.h | 4 ++-- sys/dev/ic/r92creg.h | 4 ++-- sys/dev/pci/if_bnxreg.h | 4 ++-- 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 * @@ -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 @@ -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 @@ -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) -- 2.20.1