diff options
author | 2021-05-26 18:01:08 +0900 | |
---|---|---|
committer | 2021-05-26 18:13:59 +0900 | |
commit | fc2d1b58c4f2c7240093d738ca99cfcf7a8b3107 (patch) | |
tree | 38fbef25ab809c13d8d14535813769a7a476b1f8 /fs/cifsd/smb_common.h | |
parent | cifsd: remove unnecessary parentheses around (diff) | |
download | wireguard-linux-fc2d1b58c4f2c7240093d738ca99cfcf7a8b3107.tar.xz wireguard-linux-fc2d1b58c4f2c7240093d738ca99cfcf7a8b3107.zip |
cifsd: Prefer kernel type 'u16' over 'uint16_t'
Fix a warning from checkpatch.pl --strict:
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#112: FILE: server.c:112:
+ uint16_t command;
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r-- | fs/cifsd/smb_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifsd/smb_common.h b/fs/cifsd/smb_common.h index 2d7b1c693ff4..6e7404b8db96 100644 --- a/fs/cifsd/smb_common.h +++ b/fs/cifsd/smb_common.h @@ -469,7 +469,7 @@ struct filesystem_posix_info { } __packed; struct smb_version_ops { - uint16_t (*get_cmd_val)(struct ksmbd_work *swork); + u16 (*get_cmd_val)(struct ksmbd_work *swork); int (*init_rsp_hdr)(struct ksmbd_work *swork); void (*set_rsp_status)(struct ksmbd_work *swork, __le32 err); int (*allocate_rsp_buf)(struct ksmbd_work *work); |