--- zzzz-none-000/linux-2.6.39.4/include/linux/moduleparam.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/moduleparam.h 2021-11-10 13:23:10.000000000 +0000 @@ -164,7 +164,7 @@ /* We don't get oldget: it's often a new-style param_get_uint, etc. */ static inline int -__check_old_set_param(int (*oldset)(const char *, struct kernel_param *)) +__check_old_set_param(int (*oldset)(const char *, struct kernel_param *) __attribute__((unused))) { return 0; }