--- zzzz-none-000/linux-4.1.52/include/linux/pid_namespace.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/pid_namespace.h 2022-03-02 11:37:13.000000000 +0000 @@ -74,23 +74,23 @@ } static inline struct pid_namespace *copy_pid_ns(unsigned long flags, - struct user_namespace *user_ns, struct pid_namespace *ns) + struct user_namespace *user_ns __maybe_unused, struct pid_namespace *ns) { if (flags & CLONE_NEWPID) ns = ERR_PTR(-EINVAL); return ns; } -static inline void put_pid_ns(struct pid_namespace *ns) +static inline void put_pid_ns(struct pid_namespace *ns __maybe_unused) { } -static inline void zap_pid_ns_processes(struct pid_namespace *ns) +static inline void zap_pid_ns_processes(struct pid_namespace *ns __maybe_unused) { BUG(); } -static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd) +static inline int reboot_pid_ns(struct pid_namespace *pid_ns __maybe_unused, int cmd __maybe_unused) { return 0; }