From nobody Sat Feb 7 06:14:54 2026 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BBDC288C13 for ; Thu, 5 Feb 2026 01:54:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770256444; cv=none; b=bPJhyglZdOjvtZRkMccx1h/H9zA1gHehIpca/Gi36AjygZllg3vVdHJ+uBZCYEh+OdilZyHG/q4GPNKjapFHiP9Qyx9sF/l02qHsjl5xB74vcyC261AFUeWo8LyOvDFDOCaj1OLjUWUojfdfPIdRn3qtyYc812fRxVjDMZIxGns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770256444; c=relaxed/simple; bh=1UCk6QODnUu8dDMvQzcNQW7CWXosmRBC009eXnuowTQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t6Emoqagud0hl5RBd06eJC+LumZ6EioNZ/R03HjnLPeDjAQUp1rWuE/5zpCnWBg2GKoZD6zHI8nhnHikWV/4ItNtym99EcD9ljzzlRo1tE0XBMCclaRNojEBuCjyDPM+J9o/G0QXgEAdk9RQXYlplOjJ+28ZlDk3S3zI1qkXouA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=edRqKJv5; arc=none smtp.client-ip=209.85.160.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="edRqKJv5" Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-4042cd2a336so325961fac.0 for ; Wed, 04 Feb 2026 17:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770256443; x=1770861243; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jvTpQxF257uodxGaLwloa980Rt22M5FRJyOrOBmKU4g=; b=edRqKJv5Y2x2Nfdy0qIc9I0uITSD4D528vRZiStV1kEX6XiRe31krjgXF/XGbWpvru wdi/oYwfEv8Kv0vaBhw8eaA+dJtfz456NKonnLjfaTUATJVZqAFH2coDVcHlQOvj/Cdo bRzGQHZ6+8YExcX21qeuJo1xBJNLTIdtJYBNLLkajQBhYomiyY3L7Rta5SJzzXUIAMGL APvKAExmZGsk3JxFgeoYC1yktv/hAuNdl++fYwB2+x7Lq5LgVQMP0SJyCUiSrAWt91YJ b9hsqbNPizrh3By6n1MB31oBCGue5Id6sIDEnGA2CEKXQAAQoxL1dYQQ2qG9dtq30h41 t1SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770256443; x=1770861243; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jvTpQxF257uodxGaLwloa980Rt22M5FRJyOrOBmKU4g=; b=Jx0fviimlVzf8xCc3LmcF87d0DbljuQ7VnJ9ZWWSvVLx2YLmppK3NGm2KAn/NTc/dv NXrc1q2EtkaqYrLtFlBGD3uOfXvHEtuIAHydzCxaYo+B4UxLH3VAjbzFJ2DIbLj2HAXP Dzj9ZQ9P638K+mtlQ/FX/4tOxZebuu9yNyZf5HLGRNHYEkB6/T64NzsOoC4HGteKjsOy MJzEKcUSsbgdI+R5eUwYB19LuQ/DUAnBlzq0adqNH+0ltoFVXQd0WZbTpj7Kt4bwennM s8dbwkotCVaEtuaoBssuHfWSV1+mZrl4S1UFLoukF2TBRYFkY+v83LRlTbbPTSubS9wm m3gw== X-Gm-Message-State: AOJu0Yyy9yLHtauar4iqQKh5mz/64Y5l4xTckh6ViQurCUgasYZZQOXM 5dbl6sv/MJmObC076TnD60EB46U0b50Hm/D7eC7+kwSqVROde50YD0RXFfC2Cg== X-Gm-Gg: AZuq6aKR42NaKtFRXQBC4UDnTG4ATKt9IaQU06IlndDj/VNw8j+xTWp+SXa/Ukr+e0R 3qNy4J4xsauJ+kcHdH+oB7YYQEeMMkTUgKZhAWjWA5BRqOXeCdX0gQI3SME8HzEeRbk49yFHPVq 8Ppi4DpCeo7PoDEvWJ3TRv7QvLDpYOT9Nmelq40d2BdDY11yWZTArnb1O0ZQLJ1ppWx2hL6FHDq /rqSWRHHqD4Z5/JlZrC5Ir9mw0WfwUpeZxplEac1+iep/+wiIqYhQY4A2o5Qzm0eAFIKIjh2EhC oyvUQ4EUWv0Iv/bkoliPdEJHjHWb8vkL2JTDaJ/4k5vfZAoaL/2KnBbiWTV+tXn6SVekFSGb2+T 7baNmOZlNMBM9VEXdbQZWXnnElfLvVquCWx54dxo9qKfxL0BaLf/xW6eQP3KUnJlm4ja0JDmeAi o0NimTeNNGKP79RNElmDlWvydWOLWu5zZDBuMumacRBHfSdfecD/C8hLo31Twf26+XU6moTg== X-Received: by 2002:a05:6820:c89:b0:65c:a528:bb6d with SMTP id 006d021491bc7-66a203a7015mr2485319eaf.7.1770256442543; Wed, 04 Feb 2026 17:54:02 -0800 (PST) Received: from gabes-framework.lan ([2607:fb90:cf21:856f:f533:53a0:c2b3:5371]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-66a354bdf2bsm2139051eaf.9.2026.02.04.17.53.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Feb 2026 17:54:01 -0800 (PST) From: Gabriel Whigham To: linux-kernel@vger.kernel.org Cc: dpenkler@gmail.com, Gabriel Whigham Subject: [PATCH] gpib: fix typos Date: Wed, 4 Feb 2026 19:53:54 -0600 Message-ID: <20260205015354.404524-1-gabewhigham@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix spelling errors found by codespell. Correct a typo in a variable name throughout the whole gpib driver. Signed-off-by: Gabriel Whigham --- drivers/gpib/TODO | 3 +-- drivers/gpib/agilent_82350b/agilent_82350b.c | 2 +- drivers/gpib/eastwood/fluke_gpib.c | 4 ++-- drivers/gpib/gpio/gpib_bitbang.c | 2 +- drivers/gpib/hp_82341/hp_82341.c | 2 +- drivers/gpib/include/gpib_types.h | 6 +++--- drivers/gpib/include/nec7210.h | 2 +- drivers/gpib/include/tms9914.h | 8 ++++---- drivers/gpib/nec7210/nec7210.c | 8 ++++---- 9 files changed, 18 insertions(+), 19 deletions(-) diff --git a/drivers/gpib/TODO b/drivers/gpib/TODO index ac07dd90b4ef..8ce844093a67 100644 --- a/drivers/gpib/TODO +++ b/drivers/gpib/TODO @@ -2,9 +2,8 @@ TODO: - checkpatch.pl fixes These checks should be ignored: CHECK:ALLOC_SIZEOF_STRUCT: Prefer kmalloc(sizeof(*board->private_data)= ...) over kmalloc(sizeof(struct xxx_priv)...) - ./gpio/gpib_bitbang.c:50: ERROR:COMPLEX_MACRO: Macros with complex val= ues should be enclosed in parenthese + ./gpio/gpib_bitbang.c:50: ERROR:COMPLEX_MACRO: Macros with complex val= ues should be enclosed in parentheses This warning will be addressed later: WARNING:UNDOCUMENTED_DT_STRING: D= T compatible string - resolve XXX notes where possible - fix FIXME notes - clean-up commented-out code -- fix typos diff --git a/drivers/gpib/agilent_82350b/agilent_82350b.c b/drivers/gpib/ag= ilent_82350b/agilent_82350b.c index 01a5bb43cd2d..fa75eb6e95f2 100644 --- a/drivers/gpib/agilent_82350b/agilent_82350b.c +++ b/drivers/gpib/agilent_82350b/agilent_82350b.c @@ -120,7 +120,7 @@ static int agilent_82350b_accel_read(struct gpib_board = *board, u8 *buffer, writeb(DIRECTION_GPIB_TO_HOST, a_priv->gpib_base + SRAM_ACCESS_CONTROL_RE= G); if (retval < 0) return retval; - /* read last bytes if we havn't received an END yet */ + /* read last bytes if we haven't received an END yet */ if (*end =3D=3D 0) { size_t num_bytes; /* try to make sure we holdoff after last byte read */ diff --git a/drivers/gpib/eastwood/fluke_gpib.c b/drivers/gpib/eastwood/flu= ke_gpib.c index 3ae848e3f738..0699023ed243 100644 --- a/drivers/gpib/eastwood/fluke_gpib.c +++ b/drivers/gpib/eastwood/fluke_gpib.c @@ -286,7 +286,7 @@ static int wait_for_read(struct gpib_board *board) * in the case where the handshake is stuck in SGNS due to no byte being * available to the chip (and thus we can be confident a dma transfer will * result in at least one byte making it into the chip). This matters - * because we want to be confident before sending a "send eoi" auxilary + * because we want to be confident before sending a "send eoi" auxiliary * command that we will be able to also put the associated data byte * in the chip before any potential timeout. */ @@ -517,7 +517,7 @@ static int fluke_accel_write(struct gpib_board *board, = u8 *buffer, size_t length /* * wait until we are sure we will be able to write the data byte * into the chip before we send AUX_SEOI. This prevents a timeout - * scenerio where we send AUX_SEOI but then timeout without getting + * scenario where we send AUX_SEOI but then timeout without getting * any bytes into the gpib chip. This will result in the first byte * of the next write having a spurious EOI set on the first byte. */ diff --git a/drivers/gpib/gpio/gpib_bitbang.c b/drivers/gpib/gpio/gpib_bitb= ang.c index 374cd61355e9..d9ba95d0843f 100644 --- a/drivers/gpib/gpio/gpib_bitbang.c +++ b/drivers/gpib/gpio/gpib_bitbang.c @@ -169,7 +169,7 @@ static struct gpio_desc *all_descriptors[GPIB_PINS + SN= 7516X_PINS]; #define TE all_descriptors[18] #define ACT_LED all_descriptors[19] =20 -/* YOGA adapter uses a global enable for the buffer chips, re-using the TE= pin */ +/* YOGA adapter uses a global enable for the buffer chips, reusing the TE = pin */ #define YOGA_ENABLE TE =20 static int gpios_vector[] =3D { diff --git a/drivers/gpib/hp_82341/hp_82341.c b/drivers/gpib/hp_82341/hp_82= 341.c index 1a2ad0560e14..d8a2cdd7b1f3 100644 --- a/drivers/gpib/hp_82341/hp_82341.c +++ b/drivers/gpib/hp_82341/hp_82341.c @@ -133,7 +133,7 @@ static int hp_82341_accel_read(struct gpib_board *board= , u8 *buffer, size_t leng length -=3D i; if (retval < 0) return retval; - // read last byte if we havn't received an END yet + // read last byte if we haven't received an END yet if (*end =3D=3D 0) { size_t num_bytes; // try to make sure we holdoff after last byte read diff --git a/drivers/gpib/include/gpib_types.h b/drivers/gpib/include/gpib_= types.h index 5a0978ae27e7..f45f4979615a 100644 --- a/drivers/gpib/include/gpib_types.h +++ b/drivers/gpib/include/gpib_types.h @@ -88,13 +88,13 @@ struct gpib_interface { int (*command)(struct gpib_board *board, u8 *buffer, size_t length, size_t *bytes_written); /* - * Take control (assert ATN). If 'asyncronous' is nonzero, take - * control asyncronously (assert ATN immediately without waiting + * Take control (assert ATN). If 'asynchronous' is nonzero, take + * control asynchronously (assert ATN immediately without waiting * for other processes to complete first). Should not return * until board becomes controller in charge. Returns zero no success, * nonzero on error. */ - int (*take_control)(struct gpib_board *board, int asyncronous); + int (*take_control)(struct gpib_board *board, int asynchronous); /* * De-assert ATN. Returns zero on success, nonzer on error. */ diff --git a/drivers/gpib/include/nec7210.h b/drivers/gpib/include/nec7210.h index 9835aa5ef4ff..6453dfa15639 100644 --- a/drivers/gpib/include/nec7210.h +++ b/drivers/gpib/include/nec7210.h @@ -84,7 +84,7 @@ int nec7210_write(struct gpib_board *board, struct nec721= 0_priv *priv, u8 *buffe size_t length, int send_eoi, size_t *bytes_written); int nec7210_command(struct gpib_board *board, struct nec7210_priv *priv, u= 8 *buffer, size_t length, size_t *bytes_written); -int nec7210_take_control(struct gpib_board *board, struct nec7210_priv *pr= iv, int syncronous); +int nec7210_take_control(struct gpib_board *board, struct nec7210_priv *pr= iv, int synchronous); int nec7210_go_to_standby(struct gpib_board *board, struct nec7210_priv *p= riv); int nec7210_request_system_control(struct gpib_board *board, struct nec7210_priv *priv, int request_control); diff --git a/drivers/gpib/include/tms9914.h b/drivers/gpib/include/tms9914.h index e66b75e0fda8..48e9723f45cd 100644 --- a/drivers/gpib/include/tms9914.h +++ b/drivers/gpib/include/tms9914.h @@ -85,13 +85,13 @@ int tms9914_write(struct gpib_board *board, struct tms9= 914_priv *priv, u8 *buffe size_t length, int send_eoi, size_t *bytes_written); int tms9914_command(struct gpib_board *board, struct tms9914_priv *priv, u= 8 *buffer, size_t length, size_t *bytes_written); -int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *pr= iv, int syncronous); +int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *pr= iv, int synchronous); /* * alternate version of tms9914_take_control which works around buggy tcs * implementation. */ int tms9914_take_control_workaround(struct gpib_board *board, struct tms99= 14_priv *priv, - int syncronous); + int synchronous); int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *p= riv); int tms9914_request_system_control(struct gpib_board *board, struct tms991= 4_priv *priv, int request_control); @@ -215,8 +215,8 @@ enum imr1_bits { /* ADSR - Register bits */ enum adsr_bits { HR_ULPA =3D (1 << 0), /* Store last address LSB */ - HR_TA =3D (1 << 1), /* Talker Adressed */ - HR_LA =3D (1 << 2), /* Listener adressed */ + HR_TA =3D (1 << 1), /* Talker Addressed */ + HR_LA =3D (1 << 2), /* Listener addressed */ HR_TPAS =3D (1 << 3), /* talker primary address state */ HR_LPAS =3D (1 << 4), /* listener " */ HR_ATN =3D (1 << 5), /* ATN active */ diff --git a/drivers/gpib/nec7210/nec7210.c b/drivers/gpib/nec7210/nec7210.c index bbf39367f5e4..76cd53ea9a44 100644 --- a/drivers/gpib/nec7210/nec7210.c +++ b/drivers/gpib/nec7210/nec7210.c @@ -271,14 +271,14 @@ u8 nec7210_read_data_in(struct gpib_board *board, str= uct nec7210_priv *priv, int } EXPORT_SYMBOL(nec7210_read_data_in); =20 -int nec7210_take_control(struct gpib_board *board, struct nec7210_priv *pr= iv, int syncronous) +int nec7210_take_control(struct gpib_board *board, struct nec7210_priv *pr= iv, int synchronous) { int i; const int timeout =3D 100; int retval =3D 0; unsigned int adsr_bits =3D 0; =20 - if (syncronous) + if (synchronous) write_byte(priv, AUX_TCS, AUXMR); else write_byte(priv, AUX_TCA, AUXMR); @@ -1028,7 +1028,7 @@ void nec7210_ioport_write_byte(struct nec7210_priv *p= riv, u8 data, unsigned int { if (register_num =3D=3D AUXMR) /* - * locking makes absolutely sure noone accesses the + * locking makes absolutely sure no one accesses the * AUXMR register faster than once per microsecond */ nec7210_locking_ioport_write_byte(priv, data, register_num); @@ -1074,7 +1074,7 @@ void nec7210_iomem_write_byte(struct nec7210_priv *pr= iv, u8 data, unsigned int r { if (register_num =3D=3D AUXMR) /* - * locking makes absolutely sure noone accesses the + * locking makes absolutely sure no one accesses the * AUXMR register faster than once per microsecond */ nec7210_locking_iomem_write_byte(priv, data, register_num); --=20 2.43.0