diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2020-09-16 22:18:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-09-17 01:12:27 +0200 |
commit | ffbc3dd1975f1e2dac7b1752aa8b5cac3cd5b459 (patch) | |
tree | f4b7017a2b8c1ef8cfe3bbb4c8e0049cfb143ccd | |
parent | vboxsf: Fix the check for the old binary mount-arguments struct (diff) | |
download | linux-ffbc3dd1975f1e2dac7b1752aa8b5cac3cd5b459.tar.xz linux-ffbc3dd1975f1e2dac7b1752aa8b5cac3cd5b459.zip |
fs: fix cast in fsparam_u32hex() macro
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/linux/fs_parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h index 2eab6d5f6736..aab0ffc6bac6 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) |