--- zzzz-none-000/linux-3.10.107/include/linux/utsname.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/utsname.h 2021-11-10 11:53:56.000000000 +0000 @@ -42,16 +42,16 @@ kref_put(&ns->kref, free_uts_ns); } #else -static inline void get_uts_ns(struct uts_namespace *ns) +static inline void get_uts_ns(struct uts_namespace *ns __maybe_unused) { } -static inline void put_uts_ns(struct uts_namespace *ns) +static inline void put_uts_ns(struct uts_namespace *ns __maybe_unused) { } static inline struct uts_namespace *copy_utsname(unsigned long flags, - struct user_namespace *user_ns, struct uts_namespace *old_ns) + struct user_namespace *user_ns __maybe_unused, struct uts_namespace *old_ns) { if (flags & CLONE_NEWUTS) return ERR_PTR(-EINVAL);