Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27EC03B9949 for ; Wed, 9 Sep 2026 19:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788981229; cv=none; b=VSGnbMAWr2uEMQcLcYLjqC/Bf4XA9NgOXd3r9DK6M1K05YuYU8eXBNm/jiUVyuBh6gAAU1zAr5ZPXlWBxolqxm7qyd2qBzZNg9I4/YMw4SuUJMKOIkrEf5N3szyGGtJbW3e7mhbUnIwM7cJBV552Qst5td5wgESzjzSRM+PVLrk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788981229; c=relaxed/simple; bh=WcbAWn471YvftKFgomAc/D6mFIvWJKFV+SMDVH0TGtw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cPJlT6v2yCbZcOoNPhaI8KKQf3HpMyPij16sygLJgpFzL/9KQlOqFBCC3TBm4yl6ChpmCvsCDzmXHZJOv+NenjXnJvW2rc1Buf/cYtDk4WYAVZIKgpV1Vzuk2+5ZBtgkQnD+hqe4CU+hIf5gDuPi5177UdgqgyuYmRUpB34ZOSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J9Sg6cYi; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J9Sg6cYi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D82EC1F00893; Wed, 9 Sep 2026 19:13:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788981227; bh=zFIXJOwhZPFl4DfYg3iWnA/N2X/k99FvAS8oearNHzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=J9Sg6cYiHW0QXiEh/XPIH75nh0AQptHsQAFcxcab5BwSG3uMlz2G1VpaU3K3VouIG r34K5Gb0rPBt44AXklIJaCGVRKvv6YQRga8diu0HNV3UUSuWvy1yDXobquuJLfQnXi kFUR0DbdnBcDgPjkdMJ0nLs5xLk0BiIfcO0wekV4ytzcbPfkGLdNSq9nXYNAGauE50 SXJdWqizwLNG4aCjQvp9oAUx9CY8Cj+LFD9VBOpTtA17p7U8ZBBAAF59CmtxTB3SNI zyDwVzxfVK8ZCiOwqIlPO9z18AsDJwQ8Q9jJ/+G7/rJOb5ead4MchWneHcvMjzSwZJ dZd14zHyB+GOQ== From: Sasha Levin To: stable@vger.kernel.org Cc: Simon Horman , "D. Wythe" , Guangguan Wang , Randy Dunlap , Wenjia Zhang , Jakub Kicinski , Sasha Levin Subject: [PATCH 5.10.y 1/2] net/smc: Address spelling errors Date: Wed, 9 Sep 2026 15:13:43 -0400 Message-ID: <20260909191344.3552138-1-sashal@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <2026090314-stumble-payback-2ef5@gregkh> References: <2026090314-stumble-payback-2ef5@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Simon Horman [ 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 Reviewed-by: D. Wythe Reviewed-by: Guangguan Wang Reviewed-by: Randy Dunlap Reviewed-by: Wenjia Zhang Link: https://patch.msgid.link/20241009-smc-starspell-v1-1-b8b395bbaf82@kernel.org Signed-off-by: Jakub Kicinski 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 --- 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