[PATCH] cifs: smb1: fix comment typo

Joseph Salisbury posted 1 patch 3 weeks ago
There is a newer version of this series
fs/smb/client/smb1transport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cifs: smb1: fix comment typo
Posted by Joseph Salisbury 3 weeks ago
The file contains a spelling error in a source comment (resposne).

Typos in comments reduce readability and make text searches less reliable
for developers and maintainers.

Replace 'resposne' with 'response' in the affected comment. This is a
comment-only cleanup and does not change behavior.

Fixes: 282432612aa7 ("cifs: SMB1 split: Move some SMB1 received PDU checking bits to smb1transport.c")
Cc: stable@vger.kernel.org
Signed-off-by: Joseph Salisbury <joseph.salisbury@oracle.com>
---
 fs/smb/client/smb1transport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/smb/client/smb1transport.c b/fs/smb/client/smb1transport.c
index 38d6d5538b96..53abb29fe71b 100644
--- a/fs/smb/client/smb1transport.c
+++ b/fs/smb/client/smb1transport.c
@@ -460,7 +460,7 @@ check_smb_hdr(struct smb_hdr *smb)
 		return 0;
 
 	/*
-	 * Windows NT server returns error resposne (e.g. STATUS_DELETE_PENDING
+	 * Windows NT server returns error response (e.g. STATUS_DELETE_PENDING
 	 * or STATUS_OBJECT_NAME_NOT_FOUND or ERRDOS/ERRbadfile or any other)
 	 * for some TRANS2 requests without the RESPONSE flag set in header.
 	 */
-- 
2.47.3
Re: [External] : [PATCH] cifs: smb1: fix comment typo
Posted by Joseph Salisbury 3 weeks ago

On 3/16/26 2:19 PM, Joseph Salisbury wrote:
> The file contains a spelling error in a source comment (resposne).
>
> Typos in comments reduce readability and make text searches less reliable
> for developers and maintainers.
>
> Replace 'resposne' with 'response' in the affected comment. This is a
> comment-only cleanup and does not change behavior.
>
> Fixes: 282432612aa7 ("cifs: SMB1 split: Move some SMB1 received PDU checking bits to smb1transport.c")
> Cc: stable@vger.kernel.org
> Signed-off-by: Joseph Salisbury <joseph.salisbury@oracle.com>
> ---
>   fs/smb/client/smb1transport.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/smb/client/smb1transport.c b/fs/smb/client/smb1transport.c
> index 38d6d5538b96..53abb29fe71b 100644
> --- a/fs/smb/client/smb1transport.c
> +++ b/fs/smb/client/smb1transport.c
> @@ -460,7 +460,7 @@ check_smb_hdr(struct smb_hdr *smb)
>   		return 0;
>   
>   	/*
> -	 * Windows NT server returns error resposne (e.g. STATUS_DELETE_PENDING
> +	 * Windows NT server returns error response (e.g. STATUS_DELETE_PENDING
>   	 * or STATUS_OBJECT_NAME_NOT_FOUND or ERRDOS/ERRbadfile or any other)
>   	 * for some TRANS2 requests without the RESPONSE flag set in header.
>   	 */
I inadvertently added Fixes: and Cc: stable tags.  If possible, please 
remove them as they are not appropriate for fixes to misspellings in 
code comments.  If it's not possible to remove them, I can send a v2.