--- zzzz-none-000/linux-4.1.52/include/linux/moduleparam.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/moduleparam.h 2022-03-02 11:37:13.000000000 +0000 @@ -233,7 +233,8 @@ /* 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 *) + __maybe_unused) { return 0; }