--- zzzz-none-000/linux-4.1.38/include/linux/debug_locks.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/debug_locks.h 2020-11-25 10:06:48.000000000 +0000 @@ -57,12 +57,12 @@ { } -static inline void debug_show_held_locks(struct task_struct *task) +static inline void debug_show_held_locks(struct task_struct *task __attribute__((unused))) { } static inline void -debug_check_no_locks_freed(const void *from, unsigned long len) +debug_check_no_locks_freed(const void *from __attribute__((unused)), unsigned long len __attribute__((unused))) { }