--- zzzz-none-000/linux-4.1.38/include/linux/pid_namespace.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/pid_namespace.h 2020-11-25 10:06:48.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; }