All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Simon Horman <horms@kernel.org>,
	"D. Wythe" <alibuda@linux.alibaba.com>,
	Guangguan Wang <guangguan.wang@linux.alibaba.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Wenjia Zhang <wenjia@linux.ibm.com>,
	Jakub Kicinski <kuba@kernel.org>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.10.y 1/2] net/smc: Address spelling errors
Date: Wed,  9 Sep 2026 15:13:43 -0400	[thread overview]
Message-ID: <20260909191344.3552138-1-sashal@kernel.org> (raw)
In-Reply-To: <2026090314-stumble-payback-2ef5@gregkh>

From: Simon Horman <horms@kernel.org>

[ Upstream commit cd959bf7c3bbaf64a29750c5e36776078a18a8fe ]

Address spelling errors flagged by codespell.

This patch is intended to cover all files under drivers/smc

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: D. Wythe <alibuda@linux.alibaba.com>
Reviewed-by: Guangguan Wang <guangguan.wang@linux.alibaba.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Link: https://patch.msgid.link/20241009-smc-starspell-v1-1-b8b395bbaf82@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Backport notes for 5.15:

The freed member is absent because this tree does not contain
61f434b0280ed ("net/smc: Resolve the race between link group access and
termination"). Add only its bitfield declaration, with the corrected
comment, so db51a8658c11 ("net/smc: stop killed, freed and out_of_sync
sharing a byte") applies unchanged. The field has no readers or writers
in this tree; socket allocation already zero-initializes the connection.
Do not import the newer connection lifetime or link group refcount code.

Keep the requester spelling correction in smc_clc.h. Drop the smc_core.c
and smc_core.h hunks because the virtually contiguous buffer modes and
SMC-R v2.1 negotiation definitions they annotate do not exist in 5.15.
No functions are added or changed.

[ sashal: Reduced backport -- upstream cd959bf7c3bba touches 4 file(s), this
  backport carries 2. Not backported here:
  net/smc/smc_core.c
  net/smc/smc_core.h
  This note is generated from the file lists only; see the resolution record
  for the reasoning. ]

Stable-dep-of: db51a8658c11 ("net/smc: stop killed, freed and out_of_sync sharing a byte")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 net/smc/smc.h     | 1 +
 net/smc/smc_clc.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/smc/smc.h b/net/smc/smc.h
index 1eee40ec1d969..50c2b0ecf9dc5 100644
--- a/net/smc/smc.h
+++ b/net/smc/smc.h
@@ -211,6 +211,7 @@ struct smc_connection {
 						 */
 	u64			peer_token;	/* SMC-D token of peer */
 	u8			killed : 1;	/* abnormal termination */
+	u8			freed : 1;	/* normal termination */
 	u8			out_of_sync : 1; /* out of sync with peer */
 };
 
diff --git a/net/smc/smc_clc.h b/net/smc/smc_clc.h
index a57a3489df4ae..5255e64abb46c 100644
--- a/net/smc/smc_clc.h
+++ b/net/smc/smc_clc.h
@@ -135,7 +135,7 @@ struct smc_clc_msg_proposal_prefix {	/* prefix part of clc proposal message*/
 } __aligned(4);
 
 struct smc_clc_msg_smcd {	/* SMC-D GID information */
-	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requestor */
+	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requester */
 	__be16 v2_ext_offset;	/* SMC Version 2 Extension Offset */
 	u8 reserved[28];
 };
-- 
2.53.0


  reply	other threads:[~2026-09-09 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 15:10 FAILED: patch "[PATCH] net/smc: stop killed, freed and out_of_sync sharing a byte" failed to apply to 5.10-stable tree gregkh
2026-09-09 19:13 ` Sasha Levin [this message]
2026-09-09 19:13   ` [PATCH 5.10.y 2/2] net/smc: stop killed, freed and out_of_sync sharing a byte Sasha Levin

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=20260909191344.3552138-1-sashal@kernel.org \
    --to=sashal@kernel.org \
    --cc=alibuda@linux.alibaba.com \
    --cc=guangguan.wang@linux.alibaba.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=stable@vger.kernel.org \
    --cc=wenjia@linux.ibm.com \
    /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 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.