--- zzzz-none-000/linux-4.1.52/include/linux/projid.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/projid.h 2022-03-02 11:37:13.000000000 +0000 @@ -61,17 +61,17 @@ #else -static inline kprojid_t make_kprojid(struct user_namespace *from, projid_t projid) +static inline kprojid_t make_kprojid(struct user_namespace *from __maybe_unused, projid_t projid __maybe_unused) { return KPROJIDT_INIT(projid); } -static inline projid_t from_kprojid(struct user_namespace *to, kprojid_t kprojid) +static inline projid_t from_kprojid(struct user_namespace *to __maybe_unused, kprojid_t kprojid) { return __kprojid_val(kprojid); } -static inline projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t kprojid) +static inline projid_t from_kprojid_munged(struct user_namespace *to __maybe_unused, kprojid_t kprojid) { projid_t projid = from_kprojid(to, kprojid); if (projid == (projid_t)-1) @@ -79,7 +79,7 @@ return projid; } -static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) +static inline bool kprojid_has_mapping(struct user_namespace *ns __maybe_unused, kprojid_t projid __maybe_unused) { return true; }