Skip to content

Commit ffbc3dd

Browse files
Alexey DobriyanAl Viro
authored andcommitted
fs: fix cast in fsparam_u32hex() macro
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 9d682ea commit ffbc3dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/fs_parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static inline bool fs_validate_description(const char *name,
120120
#define fsparam_u32oct(NAME, OPT) \
121121
__fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)8)
122122
#define fsparam_u32hex(NAME, OPT) \
123-
__fsparam(fs_param_is_u32_hex, NAME, OPT, 0, (void *16))
123+
__fsparam(fs_param_is_u32_hex, NAME, OPT, 0, (void *)16)
124124
#define fsparam_s32(NAME, OPT) __fsparam(fs_param_is_s32, NAME, OPT, 0, NULL)
125125
#define fsparam_u64(NAME, OPT) __fsparam(fs_param_is_u64, NAME, OPT, 0, NULL)
126126
#define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array)

0 commit comments

Comments
 (0)