Skip to content

Commit dd0ac2d

Browse files
author
Steve French
committed
smb2: fix typo in definition of a few error flags
As Sergey Senozhatsky pointed out __constant_cpu_to_le32() is misspelled in a few definitions in the list of status codes smb2status.h as __constanst_cpu_to_le32() Signed-off-by: Steve French <stfrench@microsoft.com> CC: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
1 parent c847dcc commit dd0ac2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/cifs/smb2status.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
*/
3131

3232
#define STATUS_SEVERITY_SUCCESS __constant_cpu_to_le32(0x0000)
33-
#define STATUS_SEVERITY_INFORMATIONAL __constanst_cpu_to_le32(0x0001)
34-
#define STATUS_SEVERITY_WARNING __constanst_cpu_to_le32(0x0002)
35-
#define STATUS_SEVERITY_ERROR __constanst_cpu_to_le32(0x0003)
33+
#define STATUS_SEVERITY_INFORMATIONAL cpu_to_le32(0x0001)
34+
#define STATUS_SEVERITY_WARNING cpu_to_le32(0x0002)
35+
#define STATUS_SEVERITY_ERROR cpu_to_le32(0x0003)
3636

3737
struct ntstatus {
3838
/* Facility is the high 12 bits of the following field */

0 commit comments

Comments
 (0)