[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240620093436.411889-2-chenxiaosong@chenxiaosong.com>
Date: Thu, 20 Jun 2024 09:34:35 +0000
From: chenxiaosong@...nxiaosong.com
To: linkinjeon@...nel.org,
sfrench@...ba.org,
senozhatsky@...omium.org,
tom@...pey.com,
linux-cifs@...r.kernel.org,
linux-kernel@...r.kernel.org,
pc@...guebit.com,
ronniesahlberg@...il.com,
sprasad@...rosoft.com,
bharathsm@...rosoft.com
Cc: chenxiaosong@...inos.cn,
liuzhengyuan@...inos.cn,
huhai@...inos.cn,
liuyun01@...inos.cn,
ChenXiaoSong <chenxiaosong@...nxiaosong.com>
Subject: [PATCH 1/2] smb/client: fix typo to STATUS_MCA_OCCURRED
From: ChenXiaoSong <chenxiaosong@...inos.cn>
Preparation for moving the SMB2 Status code definitions to a common
header file.
Signed-off-by: ChenXiaoSong <chenxiaosong@...inos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@...nxiaosong.com>
---
fs/smb/client/smb2maperror.c | 2 +-
fs/smb/client/smb2status.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/smb/client/smb2maperror.c b/fs/smb/client/smb2maperror.c
index ac1895358908..3ac17d43bb7d 100644
--- a/fs/smb/client/smb2maperror.c
+++ b/fs/smb/client/smb2maperror.c
@@ -1096,7 +1096,7 @@ static const struct status_to_posix_error smb2_error_map_table[] = {
"STATUS_MOUNT_POINT_NOT_RESOLVED"},
{STATUS_INVALID_DEVICE_OBJECT_PARAMETER, -EIO,
"STATUS_INVALID_DEVICE_OBJECT_PARAMETER"},
- {STATUS_MCA_OCCURED, -EIO, "STATUS_MCA_OCCURED"},
+ {STATUS_MCA_OCCURRED, -EIO, "STATUS_MCA_OCCURRED"},
{STATUS_DRIVER_BLOCKED_CRITICAL, -EIO,
"STATUS_DRIVER_BLOCKED_CRITICAL"},
{STATUS_DRIVER_BLOCKED, -EIO, "STATUS_DRIVER_BLOCKED"},
diff --git a/fs/smb/client/smb2status.h b/fs/smb/client/smb2status.h
index 9c6d79b0bd49..15364c4328ec 100644
--- a/fs/smb/client/smb2status.h
+++ b/fs/smb/client/smb2status.h
@@ -901,7 +901,7 @@ struct ntstatus {
#define STATUS_DEVICE_ENUMERATION_ERROR cpu_to_le32(0xC0000366)
#define STATUS_MOUNT_POINT_NOT_RESOLVED cpu_to_le32(0xC0000368)
#define STATUS_INVALID_DEVICE_OBJECT_PARAMETER cpu_to_le32(0xC0000369)
-#define STATUS_MCA_OCCURED cpu_to_le32(0xC000036A)
+#define STATUS_MCA_OCCURRED cpu_to_le32(0xC000036A)
#define STATUS_DRIVER_BLOCKED_CRITICAL cpu_to_le32(0xC000036B)
#define STATUS_DRIVER_BLOCKED cpu_to_le32(0xC000036C)
#define STATUS_DRIVER_DATABASE_ERROR cpu_to_le32(0xC000036D)
--
2.34.1
Powered by blists - more mailing lists