../fs/namespace.c:118:37: warning: unused function 'node_to_mnt_ns' [-Wunused-function] 118 | static inline struct mnt_namespace *node_to_mnt_ns(const struct rb_node *node) | ^~~~~~~~~~~~~~ ../fs/namespace.c:1713:1: warning: unused function 'class_namespace_lock_lock_err' [-Wunused-function] 1713 | DEFINE_GUARD(namespace_lock, struct rw_semaphore *, namespace_lock(), namespace_unlock()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :47:1: note: expanded from here 47 | class_namespace_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Warning: ../fs/namespace.c:2703 function parameter 'pinned' not described in 'do_lock_mount' ../fs/namespace.c:118:37: warning: unused function 'node_to_mnt_ns' [-Wunused-function] 118 | static inline struct mnt_namespace *node_to_mnt_ns(const struct rb_node *node) | ^~~~~~~~~~~~~~ ../fs/namespace.c:1713:1: warning: unused function 'class_namespace_lock_lock_err' [-Wunused-function] 1713 | DEFINE_GUARD(namespace_lock, struct rw_semaphore *, namespace_lock(), namespace_unlock()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:380:2: note: expanded from macro 'DEFINE_GUARD' 380 | DEFINE_CLASS_IS_GUARD(_name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:372:2: note: expanded from macro 'DEFINE_CLASS_IS_GUARD' 372 | __DEFINE_GUARD_LOCK_PTR(_name, _T) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:358:20: note: expanded from macro '__DEFINE_GUARD_LOCK_PTR' 358 | static inline int class_##_name##_lock_err(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :47:1: note: expanded from here 47 | class_namespace_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Warning: ../fs/namespace.c:2703 function parameter 'pinned' not described in 'do_lock_mount'