]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fs: fix cast in fsparam_u32hex() macro
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 16 Sep 2020 20:18:43 +0000 (23:18 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Sep 2020 23:12:27 +0000 (19:12 -0400)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs_parser.h

index 2eab6d5f6736a518b3202abc5ea2b9fcd842234c..aab0ffc6bac67a074a99590ca348f001d2db4e03 100644 (file)
@@ -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)