Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../kernel/sched/rq-offsets.c:5: ../kernel/sched/sched.h:3743:18: warning: variable 'cpumask' set but not used [-Wunused-but-set-variable] 3743 | struct cpumask *cpumask; | ^ 1 warning generated. ../fs/namespace.c:96:1: warning: unused function 'class_namespace_excl_lock_err' [-Wunused-function] 96 | DEFINE_LOCK_GUARD_0(namespace_excl, namespace_lock(), namespace_unlock()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:499:49: note: expanded from macro 'DEFINE_LOCK_GUARD_0' 499 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 500 | __DEFINE_UNLOCK_GUARD(_name, void, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :103:1: note: expanded from here 103 | class_namespace_excl_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/namespace.c:97:1: warning: unused function 'class_namespace_shared_lock_err' [-Wunused-function] 97 | DEFINE_LOCK_GUARD_0(namespace_shared, down_read(&namespace_sem), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | up_read(&namespace_sem)) | ~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:499:49: note: expanded from macro 'DEFINE_LOCK_GUARD_0' 499 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 500 | __DEFINE_UNLOCK_GUARD(_name, void, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :125:1: note: expanded from here 125 | class_namespace_shared_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/namespace.c:135:37: warning: unused function 'node_to_mnt_ns' [-Wunused-function] 135 | static inline struct mnt_namespace *node_to_mnt_ns(const struct rb_node *node) | ^~~~~~~~~~~~~~ 3 warnings generated. In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/efi.c:11: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/message/fusion/mptsas.c:4791:17: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable] 4791 | unsigned long timeleft; | ^ 1 warning generated. ../drivers/scsi/qla1280.c:1712:15: warning: variable 'num' set but not used [-Wunused-but-set-variable] 1712 | int err = 0, num, i; | ^ 1 warning generated. ../kernel/sched/core.c:6376:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6376 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6377 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6378 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6379 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :143:1: note: expanded from here 143 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/sched/core.c:6376:1: warning: unused function 'class_core_lock_lock_err' [-Wunused-function] 6376 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6377 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6378 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6379 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :147:1: note: expanded from here 147 | class_core_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/xfs/xfs_super.c:1374:1: warning: unused function 'xfs_fs_warn_deprecated' [-Wunused-function] 1374 | xfs_fs_warn_deprecated( | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/xfs/xfs_sysctl.c:54:1: warning: unused function 'xfs_deprecated_dointvec_minmax' [-Wunused-function] 54 | xfs_deprecated_dointvec_minmax( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/xfs/scrub/rtbitmap_repair.c:91:1: warning: unused function 'rtxlen_to_wordcnt' [-Wunused-function] 91 | rtxlen_to_wordcnt( | ^~~~~~~~~~~~~~~~~ 1 warning generated. Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../kernel/sched/rq-offsets.c:5: ../kernel/sched/sched.h:3743:18: warning: variable 'cpumask' set but not used [-Wunused-but-set-variable] 3743 | struct cpumask *cpumask; | ^ 1 warning generated. ../fs/namespace.c:96:1: warning: unused function 'class_namespace_excl_lock_err' [-Wunused-function] 96 | DEFINE_LOCK_GUARD_0(namespace_excl, namespace_lock(), namespace_unlock()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:499:49: note: expanded from macro 'DEFINE_LOCK_GUARD_0' 499 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 500 | __DEFINE_UNLOCK_GUARD(_name, void, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :103:1: note: expanded from here 103 | class_namespace_excl_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/namespace.c:97:1: warning: unused function 'class_namespace_shared_lock_err' [-Wunused-function] 97 | DEFINE_LOCK_GUARD_0(namespace_shared, down_read(&namespace_sem), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | up_read(&namespace_sem)) | ~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:499:49: note: expanded from macro 'DEFINE_LOCK_GUARD_0' 499 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 500 | __DEFINE_UNLOCK_GUARD(_name, void, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :125:1: note: expanded from here 125 | class_namespace_shared_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/namespace.c:135:37: warning: unused function 'node_to_mnt_ns' [-Wunused-function] 135 | static inline struct mnt_namespace *node_to_mnt_ns(const struct rb_node *node) | ^~~~~~~~~~~~~~ 3 warnings generated. In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/efi.c:11: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../drivers/message/fusion/mptsas.c:4791:17: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable] 4791 | unsigned long timeleft; | ^ 1 warning generated. ../drivers/scsi/qla1280.c:1712:15: warning: variable 'num' set but not used [-Wunused-but-set-variable] 1712 | int err = 0, num, i; | ^ 1 warning generated. ../kernel/sched/core.c:6376:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6376 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6377 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6378 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6379 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:350:22: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 350 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :143:1: note: expanded from here 143 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/sched/core.c:6376:1: warning: unused function 'class_core_lock_lock_err' [-Wunused-function] 6376 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6377 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6378 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6379 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:494:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 494 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 495 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:473:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 473 | \ | ^ 474 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :147:1: note: expanded from here 147 | class_core_lock_lock_err | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:382: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/xfs/xfs_super.c:1374:1: warning: unused function 'xfs_fs_warn_deprecated' [-Wunused-function] 1374 | xfs_fs_warn_deprecated( | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/xfs/xfs_sysctl.c:54:1: warning: unused function 'xfs_deprecated_dointvec_minmax' [-Wunused-function] 54 | xfs_deprecated_dointvec_minmax( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../fs/xfs/scrub/rtbitmap_repair.c:91:1: warning: unused function 'rtxlen_to_wordcnt' [-Wunused-function] 91 | rtxlen_to_wordcnt( | ^~~~~~~~~~~~~~~~~ 1 warning generated.