|
@@ -346,7 +346,7 @@ static inline void destroy_params(const struct kernel_param *params,
|
|
/* The macros to do compile-time type checking stolen from Jakub
|
|
/* The macros to do compile-time type checking stolen from Jakub
|
|
Jelinek, who IIRC came up with this idea for the 2.4 module init code. */
|
|
Jelinek, who IIRC came up with this idea for the 2.4 module init code. */
|
|
#define __param_check(name, p, type) \
|
|
#define __param_check(name, p, type) \
|
|
- static inline type *__check_##name(void) { return(p); }
|
|
|
|
|
|
+ static inline type __always_unused *__check_##name(void) { return(p); }
|
|
|
|
|
|
extern struct kernel_param_ops param_ops_byte;
|
|
extern struct kernel_param_ops param_ops_byte;
|
|
extern int param_set_byte(const char *val, const struct kernel_param *kp);
|
|
extern int param_set_byte(const char *val, const struct kernel_param *kp);
|