From: Alexey Dobriyan Date: Wed, 16 Sep 2020 20:18:43 +0000 (+0300) Subject: fs: fix cast in fsparam_u32hex() macro X-Git-Tag: v5.9-rc7~33^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ffbc3dd1975f1e2dac7b1752aa8b5cac3cd5b459;p=thirdparty%2Fkernel%2Flinux.git fs: fix cast in fsparam_u32hex() macro Signed-off-by: Alexey Dobriyan Signed-off-by: Al Viro --- diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h index 2eab6d5f6736a..aab0ffc6bac67 100644 --- a/include/linux/fs_parser.h +++ b/include/linux/fs_parser.h @@ -120,7 +120,7 @@ static inline bool fs_validate_description(const char *name, #define fsparam_u32oct(NAME, OPT) \ __fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)8) #define fsparam_u32hex(NAME, OPT) \ - __fsparam(fs_param_is_u32_hex, NAME, OPT, 0, (void *16)) + __fsparam(fs_param_is_u32_hex, NAME, OPT, 0, (void *)16) #define fsparam_s32(NAME, OPT) __fsparam(fs_param_is_s32, NAME, OPT, 0, NULL) #define fsparam_u64(NAME, OPT) __fsparam(fs_param_is_u64, NAME, OPT, 0, NULL) #define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array)