From patchwork Tue Aug 20 14:33:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChenXiaoSong X-Patchwork-Id: 13770279 Received: from smtpbguseast1.qq.com (smtpbguseast1.qq.com [54.204.34.129]) (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 D3DA22745C; Tue, 20 Aug 2024 14:37:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.204.34.129 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724164628; cv=none; b=mR3ENFe/NnaXRfmQ5jl+QZgtUfsGsRlNYJ/F2M5qQqyz0bQyvlrD9JPPC3t7XO92Hr3ssjzYdH8x3otWph7j1ylIXSUOCPIa2lQwhdG1R+N5kw7AEvgEMiSL4s2H/UUPf1lWLATNljb7x0fD9JA57HiD9YY5rV9v9sOX8wIOXeQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724164628; c=relaxed/simple; bh=nTWWoVKRbsSB0AVuQsX8tA2drsINtAOwdGXNvlBVxoY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=l6ZmakOO52kB683hOIG8wLkDTCGSXUZNDAxjqQm0JYiWgdriBSaBXy9Hatp/3WdipZWRimqseD3/HHFTiIZM/FDc0IkL2m/gdiHy1D7LVo4/bceqYI8o25EyeMFZ5Y9IB6QURT7/BC8jdYDCX/3TCWvjlRv1/Ze577sqdmX8770= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chenxiaosong.com; spf=none smtp.mailfrom=chenxiaosong.com; arc=none smtp.client-ip=54.204.34.129 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chenxiaosong.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=chenxiaosong.com X-QQ-mid: bizesmtpsz13t1724164466ty8n5v X-QQ-Originating-IP: Dnn6QlT/NsFxZ5H8G2EJJyEdyGpisgPla7anQMylyVE= Received: from localhost.localdomain ( [116.128.244.171]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 20 Aug 2024 22:34:23 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 7950044140691014322 From: chenxiaosong@chenxiaosong.com To: linkinjeon@kernel.org, sfrench@samba.org, senozhatsky@chromium.org, tom@talpey.com, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, pc@manguebit.com, ronniesahlberg@gmail.com, sprasad@microsoft.com, bharathsm@microsoft.com Cc: chenxiaosong@kylinos.cn, liuzhengyuan@kylinos.cn, huhai@kylinos.cn, liuyun01@kylinos.cn, ChenXiaoSong Subject: [PATCH 7/8] smb/client: fix typo: STATUS_MCA_OCCURED -> STATUS_MCA_OCCURRED Date: Tue, 20 Aug 2024 14:33:18 +0000 Message-Id: <20240820143319.274033-8-chenxiaosong@chenxiaosong.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240820143319.274033-1-chenxiaosong@chenxiaosong.com> References: <20240820143319.274033-1-chenxiaosong@chenxiaosong.com> Precedence: bulk X-Mailing-List: linux-cifs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpsz:chenxiaosong.com:qybglogicsvrsz:qybglogicsvrsz4a-0 From: ChenXiaoSong Preparation for moving the SMB2 Status code definitions to a common header file. Signed-off-by: ChenXiaoSong --- 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)