* [PATCH] w1: netlink: fix spelling mistakes in comments
@ 2026-08-11 0:27 Ivy Lopez
2026-08-11 5:46 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Ivy Lopez @ 2026-08-11 0:27 UTC (permalink / raw)
To: krzk; +Cc: linux-kernel, Ivy Lopez
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] w1: netlink: fix spelling mistakes in comments
2026-08-11 0:27 [PATCH] w1: netlink: fix spelling mistakes in comments Ivy Lopez
@ 2026-08-11 5:46 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-11 5:46 UTC (permalink / raw)
To: Ivy Lopez; +Cc: linux-kernel
On 11/08/2026 02:27, Ivy Lopez wrote:
> 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 ++++++------
Did you investigate / fix all such typos in entire w1 subsystem?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-11 5:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11 0:27 [PATCH] w1: netlink: fix spelling mistakes in comments Ivy Lopez
2026-08-11 5:46 ` Krzysztof Kozlowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.