Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795042238; b=GhQGcPVzBi/edhHIUIE5dzu5iGXAtp0tu9x2XBnSdP0HOQf5MJPxc6MB7gqj7GmV53l8 mxDjJANW0Xvu9dlrKth9GM5WB1CUbnOxpUEUBGY7d9qpE+o/RU+WhIB0yiUHJCYPvwf+O sF4MwJ1QWjNkEL1zH89F1El8TnpClRqHvXc+sCwz5yc8s+Td0vvd8F+XtD92EmBHMKoE3 +fmvMmR0+mK+9NVOnXOucvcdHcFmrXvLw8Yv0i0DVLGdlWRA9aSD/iWymn94OLoiHvIFV bKGBGoEEKMiOe0+Dp9Jr5ivlo8MThbZkm5Lp6B6wjG6eDCgTeBSxPvYT8KnPYXXjgRg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795042238; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=WZr+RE2ESihAyo0LiGKj6XVYZjjViYptb6bNId5m7aw=; b=B/LofXm6cC00GOuOJi1caE8oHBGOpR0L0sJt8xGzeyRcgvAiDdhbhPRc6Hyb2UtIyUd9 eL+FP4EurpiecKM5VGVXqZvTwPo5dLt/gCNRscBhQeIkVeGHI6pfJyviczomN+gCijqNU D2dV7ywCyD/SZWKoej5Xc8JUQabtT4mnIwp6UVz4Jq+Mo/I9f/i19HuSTphXDncitHKgC 1Q5FzdqOuYxT0c9QSNoyh9BmJKtzwCrYaX94m2iwkDDXumNC/TmEjKKtEVvHWffNoboFU W9Dj8j7lRu29Vp2pD1tDfWJ5JAfcKdIhZC9iOOXEs4LQJFndN0Ky9Mnh2FAioKsrFew== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=te7vYK3B; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B8ED606A320; Wed, 18 Nov 2026 22:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=te7vYK3B Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8DB81F000C4; Wed, 18 Nov 2026 22:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795042238; bh=WZr+RE2ESihAyo0LiGKj6XVYZjjViYptb6bNId5m7aw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=te7vYK3B0Txa/v1XRkSKyxJJLGI4CXsmlBDW1LzSaqLK7XL165oLhzO+WcNS7qvy5 4sqQX6gnbOu0gcRcOi+vnU19AtX+sKbZVZFbPb35YLsIBovb3ZUBOPaEAjuKuUno0W kFJKUNTvbgFyi9ovA2Ms8Up5ROLtCkjwMYkXyWo0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Shen Lichuan , Namjae Jeon , Steve French , Sasha Levin Subject: [PATCH 6.6 3098/3318] ksmbd: Correct typos in multiple comments across various files Date: Wed, 18 Nov 2026 16:02:00 +0100 Message-ID: <20261118150452.952628678@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150313.527275416@linuxfoundation.org> References: <20261118150313.527275416@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Shen Lichuan [ Upstream commit 9e676e571d39eb6189bf6d55a9c401ba2dd13410 ] Fixed some confusing typos that were currently identified witch codespell, the details are as follows: -in the code comments: fs/smb/common/smb2pdu.h:9: specfication ==> specification fs/smb/common/smb2pdu.h:494: usally ==> usually fs/smb/common/smb2pdu.h:1064: Attrubutes ==> Attributes fs/smb/server/connection.c:28: cleand ==> cleaned fs/smb/server/ksmbd_netlink.h:216: struture ==> structure fs/smb/server/oplock.c:799: conains ==> contains fs/smb/server/oplock.c:1487: containted ==> contained fs/smb/server/server.c:282: proccessing ==> processing fs/smb/server/smb_common.c:491: comforms ==> conforms fs/smb/server/xattr.h:102: ATTRIBUITE ==> ATTRIBUTE Signed-off-by: Shen Lichuan Acked-by: Namjae Jeon Signed-off-by: Steve French Stable-dep-of: e8486c5cfbdd ("smb/server: fix trailing period in generated short names") Signed-off-by: Sasha Levin --- fs/smb/common/smb2pdu.h | 6 +++--- fs/smb/server/connection.c | 2 +- fs/smb/server/ksmbd_netlink.h | 2 +- fs/smb/server/oplock.c | 4 ++-- fs/smb/server/server.c | 2 +- fs/smb/server/smb_common.c | 2 +- fs/smb/server/xattr.h | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/fs/smb/common/smb2pdu.h b/fs/smb/common/smb2pdu.h index 59dd9b81bb29f..186810723be1b 100644 --- a/fs/smb/common/smb2pdu.h +++ b/fs/smb/common/smb2pdu.h @@ -6,7 +6,7 @@ * Note that, due to trying to use names similar to the protocol specifications, * there are many mixed case field names in the structures below. Although * this does not match typical Linux kernel style, it is necessary to be - * able to match against the protocol specfication. + * able to match against the protocol specification. * * SMB2 commands * Some commands have minimal (wct=0,bcc=0), or uninteresting, responses @@ -494,7 +494,7 @@ struct smb2_encryption_neg_context { __le16 ContextType; /* 2 */ __le16 DataLength; __le32 Reserved; - /* CipherCount usally 2, but can be 3 when AES256-GCM enabled */ + /* CipherCount usually 2, but can be 3 when AES256-GCM enabled */ __le16 CipherCount; /* AES128-GCM and AES128-CCM by default */ __le16 Ciphers[]; } __packed; @@ -1064,7 +1064,7 @@ struct smb2_server_client_notification { #define IL_IMPERSONATION cpu_to_le32(0x00000002) #define IL_DELEGATE cpu_to_le32(0x00000003) -/* File Attrubutes */ +/* File Attributes */ #define FILE_ATTRIBUTE_READONLY 0x00000001 #define FILE_ATTRIBUTE_HIDDEN 0x00000002 #define FILE_ATTRIBUTE_SYSTEM 0x00000004 diff --git a/fs/smb/server/connection.c b/fs/smb/server/connection.c index 833105f23d260..1b1e609206c0f 100644 --- a/fs/smb/server/connection.c +++ b/fs/smb/server/connection.c @@ -101,7 +101,7 @@ void ksmbd_conn_put(struct ksmbd_conn *conn) /** * ksmbd_conn_free() - free resources of the connection instance * - * @conn: connection instance to be cleand up + * @conn: connection instance to be cleaned up * * During the thread termination, the corresponding conn instance * resources(sock/memory) are released and finally the conn object is freed. diff --git a/fs/smb/server/ksmbd_netlink.h b/fs/smb/server/ksmbd_netlink.h index 125ea1b9839ef..8ccd57fd904bc 100644 --- a/fs/smb/server/ksmbd_netlink.h +++ b/fs/smb/server/ksmbd_netlink.h @@ -228,7 +228,7 @@ struct ksmbd_tree_connect_response { }; /* - * IPC Request struture to disconnect tree connection. + * IPC Request structure to disconnect tree connection. */ struct ksmbd_tree_disconnect_request { __u64 session_id; /* session id */ diff --git a/fs/smb/server/oplock.c b/fs/smb/server/oplock.c index c5c4be5b96935..d9539221d86b9 100644 --- a/fs/smb/server/oplock.c +++ b/fs/smb/server/oplock.c @@ -930,7 +930,7 @@ static void __smb2_lease_break_noti(struct work_struct *wk) /** * smb2_lease_break_noti() - break lease when a new client request * write lease - * @opinfo: conains lease state information + * @opinfo: contains lease state information * * Return: 0 on success, otherwise error */ @@ -1709,7 +1709,7 @@ void create_lease_buf(u8 *rbuf, struct lease *lease) } /** - * parse_lease_state() - parse lease context containted in file open request + * parse_lease_state() - parse lease context contained in file open request * @open_req: buffer containing smb2 file open(create) request * * Return: allocated lease context object on success, otherwise NULL diff --git a/fs/smb/server/server.c b/fs/smb/server/server.c index 0f1889d34740b..2f5c0e44b1c3a 100644 --- a/fs/smb/server/server.c +++ b/fs/smb/server/server.c @@ -299,7 +299,7 @@ static void handle_ksmbd_work(struct work_struct *wk) /** * queue_ksmbd_work() - queue a smb request to worker thread queue - * for proccessing smb command and sending response + * for processing smb command and sending response * @conn: connection instance * * read remaining data from socket create and submit work. diff --git a/fs/smb/server/smb_common.c b/fs/smb/server/smb_common.c index 5ea9cb1390433..e4e9bc919ee8e 100644 --- a/fs/smb/server/smb_common.c +++ b/fs/smb/server/smb_common.c @@ -494,7 +494,7 @@ int ksmbd_populate_dot_dotdot_entries(struct ksmbd_work *work, int info_level, * @shortname: destination short filename * * Return: shortname length or 0 when source long name is '.' or '..' - * TODO: Though this function comforms the restriction of 8.3 Filename spec, + * TODO: Though this function conforms the restriction of 8.3 Filename spec, * but the result is different with Windows 7's one. need to check. */ int ksmbd_extract_shortname(struct ksmbd_conn *conn, const char *longname, diff --git a/fs/smb/server/xattr.h b/fs/smb/server/xattr.h index 16499ca5c82d3..64a5a322fcd70 100644 --- a/fs/smb/server/xattr.h +++ b/fs/smb/server/xattr.h @@ -99,7 +99,7 @@ struct xattr_ntacl { __u8 posix_acl_hash[XATTR_SD_HASH_SIZE]; /* 64bytes hash for posix acl */ }; -/* DOS ATTRIBUITE XATTR PREFIX */ +/* DOS ATTRIBUTE XATTR PREFIX */ #define DOS_ATTRIBUTE_PREFIX "DOSATTRIB" #define DOS_ATTRIBUTE_PREFIX_LEN (sizeof(DOS_ATTRIBUTE_PREFIX) - 1) #define XATTR_NAME_DOS_ATTRIBUTE (XATTR_USER_PREFIX DOS_ATTRIBUTE_PREFIX) -- 2.53.0