From: Ivy Lopez <skunkolee@gmail.com>
To: krzk@kernel.org
Cc: linux-kernel@vger.kernel.org, Ivy Lopez <skunkolee@gmail.com>
Subject: [PATCH] w1: netlink: fix spelling mistakes in comments
Date: Mon, 10 Aug 2026 18:27:04 -0600 [thread overview]
Message-ID: <20260811002704.57950-1-skunkolee@gmail.com> (raw)
Correct several typos in comments: "appeneded"/"appened" ->
"appended", "Direclty" -> "Directly", "compariable" -> "comparable",
"duplicats" -> "duplicates".
No functional change.
Signed-off-by: Ivy Lopez <skunkolee@gmail.com>
---
drivers/w1/w1_netlink.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/w1/w1_netlink.c b/drivers/w1/w1_netlink.c
index e6b59d921076..ac541a8fc274 100644
--- a/drivers/w1/w1_netlink.c
+++ b/drivers/w1/w1_netlink.c
@@ -23,9 +23,9 @@ struct w1_cb_block {
u16 maxlen;
/* pointers to building up the reply message */
struct cn_msg *first_cn; /* fixed once the structure is populated */
- struct cn_msg *cn; /* advances as cn_msg is appeneded */
- struct w1_netlink_msg *msg; /* advances as w1_netlink_msg is appened */
- struct w1_netlink_cmd *cmd; /* advances as cmds are appened */
+ struct cn_msg *cn; /* advances as cn_msg is appended */
+ struct w1_netlink_msg *msg; /* advances as w1_netlink_msg is appended */
+ struct w1_netlink_cmd *cmd; /* advances as cmds are appended */
struct w1_netlink_msg *cur_msg; /* currently message being processed */
/* copy of the original request follows */
struct cn_msg request_cn;
@@ -49,8 +49,8 @@ struct w1_cb_node {
* @block: block to calculate
*
* Calculates the current message length including possible multiple
- * cn_msg and data, excludes the first sizeof(struct cn_msg). Direclty
- * compariable to maxlen and usable to send the message.
+ * cn_msg and data, excludes the first sizeof(struct cn_msg). Directly
+ * comparable to maxlen and usable to send the message.
*/
static u16 w1_reply_len(struct w1_cb_block *block)
{
@@ -581,7 +581,7 @@ static void w1_cn_callback(struct cn_msg *cn, struct netlink_skb_parms *nsp)
int size;
int reply_size = sizeof(*cn) + cn->len + slave_len;
if (cn->flags & W1_CN_BUNDLE) {
- /* bundling duplicats some of the messages */
+ /* bundling duplicates some of the messages */
reply_size += 2 * cmd_count * (sizeof(struct cn_msg) +
sizeof(struct w1_netlink_msg) +
sizeof(struct w1_netlink_cmd));
--
2.55.0
next reply other threads:[~2026-08-11 0:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 0:27 Ivy Lopez [this message]
2026-08-11 5:46 ` [PATCH] w1: netlink: fix spelling mistakes in comments Krzysztof Kozlowski
2026-08-12 23:57 ` [PATCH] w1: fix spelling mistakes in comments across the subsystem Ivy Lopez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260811002704.57950-1-skunkolee@gmail.com \
--to=skunkolee@gmail.com \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox