========== build_clang - FAILED tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../init/initramfs.c:594:31: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:346:66: note: expanded from macro 'BIN_ATTR' 346 | struct bin_attribute bin_attr_##_name = __BIN_ATTR(_name, _mode, _read, \ | ^~~~~ ../include/linux/sysfs.h:323:10: note: expanded from macro '__BIN_ATTR' 323 | .read = _read, \ | ^~~~~ 1 error generated. make[4]: *** [../scripts/Makefile.build:229: init/initramfs.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: init] Error 2 make[3]: *** Waiting for unfinished jobs.... ../drivers/acpi/bgrt.c:32:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 32 | static BIN_ATTR_SIMPLE_RO(image); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: expanded from macro 'BIN_ATTR_SIMPLE_RO' 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: drivers/acpi/bgrt.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/module/sysfs.c:199:11: error: no member named 'read_new' in 'struct bin_attribute' 199 | nattr->read_new = sysfs_bin_attr_simple_read; | ~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: kernel/module/sysfs.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: kernel/module] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/thermal/intel/int340x_thermal/int3400_thermal.c:76:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 76 | static BIN_ATTR_SIMPLE_RO(data_vault); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: expanded from macro 'BIN_ATTR_SIMPLE_RO' 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/thermal/intel/int340x_thermal/int3400_thermal.o] Error 1 make[7]: *** Waiting for unfinished jobs.... ../drivers/firmware/dmi_scan.c:764:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 764 | static BIN_ATTR_SIMPLE_ADMIN_RO(smbios_entry_point); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:765:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 765 | static BIN_ATTR_SIMPLE_ADMIN_RO(DMI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:229: drivers/firmware/dmi_scan.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/gcov/clang.c:273: warning: Function parameter or struct member 'dst' not described in 'gcov_info_add' ../kernel/gcov/clang.c:273: warning: Function parameter or struct member 'src' not described in 'gcov_info_add' ../kernel/gcov/clang.c:273: warning: Excess function parameter 'dest' description in 'gcov_info_add' ../kernel/gcov/clang.c:273: warning: Excess function parameter 'source' description in 'gcov_info_add' ../drivers/firmware/efi/rci2-table.c:43:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 43 | static BIN_ATTR_SIMPLE_ADMIN_RO(rci2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/firmware/efi/rci2-table.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:485: drivers/firmware/efi] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... ../kernel/kprobes.c:141: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/thermal/intel/int340x_thermal] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/thermal/intel] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/platform/x86/wmi-bmof.c:54:22: error: no member named 'read_new' in 'struct bin_attribute' 54 | priv->bmof_bin_attr.read_new = sysfs_bin_attr_simple_read; | ~~~~~~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/platform/x86/wmi-bmof.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/thermal] Error 2 ../drivers/hv/channel.c:578: warning: Function parameter or struct member 'size' not described in 'request_arr_init' make[5]: *** [../scripts/Makefile.build:485: drivers/platform/x86] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/platform] Error 2 ../drivers/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'offset' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'irq_mask' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'config' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'regs' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'avg_count' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'boost_freq' not described in 'tegra_devfreq_device' ../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'target_freq' not described in 'tegra_devfreq_device' ../drivers/gpu/drm/i915/gvt/firmware.c:54:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 54 | static BIN_ATTR_SIMPLE_ADMIN_RO(gvt_firmware); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/i915/gvt/firmware.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/i915] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/memory/emif.c:68: warning: Function parameter or struct member 'lpmode' not described in 'emif_data' ../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' 29 | static inline u32 get_##_name(const struct perf_event *event) \ | ^~~~~~~~~~~ :30:1: note: expanded from here 30 | get_event | ^~~~~~~~~ 1 warning generated. make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/gpu] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1943: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../init/initramfs.c:594:31: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:346:66: note: expanded from macro 'BIN_ATTR' 346 | struct bin_attribute bin_attr_##_name = __BIN_ATTR(_name, _mode, _read, \ | ^~~~~ ../include/linux/sysfs.h:323:10: note: expanded from macro '__BIN_ATTR' 323 | .read = _read, \ | ^~~~~ 1 error generated. make[4]: *** [../scripts/Makefile.build:229: init/initramfs.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: init] Error 2 make[3]: *** Waiting for unfinished jobs.... ../drivers/acpi/bgrt.c:32:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 32 | static BIN_ATTR_SIMPLE_RO(image); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: expanded from macro 'BIN_ATTR_SIMPLE_RO' 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: drivers/acpi/bgrt.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/module/sysfs.c:199:11: error: no member named 'read_new' in 'struct bin_attribute' 199 | nattr->read_new = sysfs_bin_attr_simple_read; | ~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: kernel/module/sysfs.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: kernel/module] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 ../drivers/thermal/intel/int340x_thermal/int3400_thermal.c:76:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 76 | static BIN_ATTR_SIMPLE_RO(data_vault); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: expanded from macro 'BIN_ATTR_SIMPLE_RO' 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/thermal/intel/int340x_thermal/int3400_thermal.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/thermal/intel/int340x_thermal] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/thermal/intel] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/firmware/dmi_scan.c:764:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 764 | static BIN_ATTR_SIMPLE_ADMIN_RO(smbios_entry_point); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:765:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 765 | static BIN_ATTR_SIMPLE_ADMIN_RO(DMI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:229: drivers/firmware/dmi_scan.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../drivers/firmware/efi/rci2-table.c:43:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 43 | static BIN_ATTR_SIMPLE_ADMIN_RO(rci2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/firmware/efi/rci2-table.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/firmware/efi] Error 2 ../drivers/platform/x86/wmi-bmof.c:54:22: error: no member named 'read_new' in 'struct bin_attribute' 54 | priv->bmof_bin_attr.read_new = sysfs_bin_attr_simple_read; | ~~~~~~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/platform/x86/wmi-bmof.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/platform/x86] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/platform] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 ../drivers/thermal/testing/zone.c:54:1: warning: unused function 'class_tt_zone_lock_ptr' [-Wunused-function] 54 | DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:303:23: note: expanded from macro 'DEFINE_GUARD' 303 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :239:1: note: expanded from here 239 | class_tt_zone_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'drvdata' not described in 'intel_th_alloc' ../drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'ndevres' not described in 'intel_th_alloc' ../drivers/hwtracing/intel_th/core.c:866: warning: Excess function parameter 'irq' description in 'intel_th_alloc' make[4]: *** [../scripts/Makefile.build:485: drivers/thermal] Error 2 ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'msu_base' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'mbuf_priv' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'work' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'switch_on_unlock' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'orig_addr' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'orig_sz' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'iter_list' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'stop_on_full' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'do_irq' not described in 'msc' ../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'multi_is_broken' not described in 'msc' ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 ../drivers/rapidio/rio_cm.c:675:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 675 | int rc; | ^ 1 warning generated. ../drivers/gpu/drm/i915/gvt/firmware.c:54:8: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long, unsigned long)') with an expression of type 'ssize_t (struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)' (aka 'long (struct file *, struct kobject *, const struct bin_attribute *, char *, long long, unsigned long)') [-Wincompatible-function-pointer-types] 54 | static BIN_ATTR_SIMPLE_ADMIN_RO(gvt_firmware); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: expanded from macro 'BIN_ATTR_SIMPLE_ADMIN_RO' 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:10: note: expanded from macro '__BIN_ATTR_SIMPLE_RO' 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/i915/gvt/firmware.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/i915] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/android/binder.c:1976: warning: Function parameter or struct member 'file' not described in 'binder_task_work_cb' ../drivers/android/binder.c:1976: warning: Excess struct member 'fd' description in 'binder_task_work_cb' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4010: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/gpu] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1943: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.xcDUXQsFX3 2024-12-05 11:57:22.140538739 -0800 +++ /tmp/tmp.3tglelFjfs 2024-12-05 11:57:46.515288456 -0800 @@ -35,0 +36 @@ +make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 @@ -47 +48,3 @@ -make[7]: *** Waiting for unfinished jobs.... +make[6]: *** [../scripts/Makefile.build:485: drivers/thermal/intel/int340x_thermal] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/thermal/intel] Error 2 +make[5]: *** Waiting for unfinished jobs.... @@ -69,4 +71,0 @@ -../kernel/gcov/clang.c:273: warning: Function parameter or struct member 'dst' not described in 'gcov_info_add' -../kernel/gcov/clang.c:273: warning: Function parameter or struct member 'src' not described in 'gcov_info_add' -../kernel/gcov/clang.c:273: warning: Excess function parameter 'dest' description in 'gcov_info_add' -../kernel/gcov/clang.c:273: warning: Excess function parameter 'source' description in 'gcov_info_add' @@ -84 +82,0 @@ -make[6]: *** Waiting for unfinished jobs.... @@ -86,7 +83,0 @@ -make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 -make[4]: *** Waiting for unfinished jobs.... -../kernel/kprobes.c:141: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' -make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/thermal/intel/int340x_thermal] Error 2 -make[5]: *** [../scripts/Makefile.build:485: drivers/thermal/intel] Error 2 -make[5]: *** Waiting for unfinished jobs.... @@ -98,4 +88,0 @@ -make[6]: *** Waiting for unfinished jobs.... -make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/thermal] Error 2 -../drivers/hv/channel.c:578: warning: Function parameter or struct member 'size' not described in 'request_arr_init' @@ -104,3 +91,34 @@ -../drivers/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] - 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[4]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 +../drivers/thermal/testing/zone.c:54:1: warning: unused function 'class_tt_zone_lock_ptr' [-Wunused-function] + 54 | DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:303:23: note: expanded from macro 'DEFINE_GUARD' + 303 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ + | ^~~~~~~~~~~~~~~~~~~~~~~~ +:239:1: note: expanded from here + 239 | class_tt_zone_lock_ptr + | ^~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. +../drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'drvdata' not described in 'intel_th_alloc' +../drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'ndevres' not described in 'intel_th_alloc' +../drivers/hwtracing/intel_th/core.c:866: warning: Excess function parameter 'irq' description in 'intel_th_alloc' +make[4]: *** [../scripts/Makefile.build:485: drivers/thermal] Error 2 +../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' +../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' +../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'msu_base' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'mbuf_priv' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'work' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'switch_on_unlock' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'orig_addr' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'orig_sz' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'iter_list' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'stop_on_full' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'do_irq' not described in 'msc' +../drivers/hwtracing/intel_th/msu.c:168: warning: Function parameter or struct member 'multi_is_broken' not described in 'msc' +../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' +make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 +../drivers/rapidio/rio_cm.c:675:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] + 675 | int rc; + | ^ @@ -108,12 +125,0 @@ -../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'offset' not described in 'tegra_devfreq_device_config' -../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'irq_mask' not described in 'tegra_devfreq_device_config' -../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' -../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' -../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' -../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' -../drivers/devfreq/tegra30-devfreq.c:100: warning: Function parameter or struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' -../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'config' not described in 'tegra_devfreq_device' -../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'regs' not described in 'tegra_devfreq_device' -../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'avg_count' not described in 'tegra_devfreq_device' -../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'boost_freq' not described in 'tegra_devfreq_device' -../drivers/devfreq/tegra30-devfreq.c:171: warning: Function parameter or struct member 'target_freq' not described in 'tegra_devfreq_device' @@ -133,10 +139,18 @@ -../drivers/memory/emif.c:68: warning: Function parameter or struct member 'lpmode' not described in 'emif_data' -../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] - 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' - 29 | static inline u32 get_##_name(const struct perf_event *event) \ - | ^~~~~~~~~~~ -:30:1: note: expanded from here - 30 | get_event - | ^~~~~~~~~ +../drivers/android/binder.c:1976: warning: Function parameter or struct member 'file' not described in 'binder_task_work_cb' +../drivers/android/binder.c:1976: warning: Excess struct member 'fd' description in 'binder_task_work_cb' +../drivers/android/binder.c:2427: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' +../drivers/android/binder.c:2427: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' +../drivers/android/binder.c:2427: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' +../drivers/android/binder.c:2427: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' +../drivers/android/binder.c:2447: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' +../drivers/android/binder.c:2447: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' +../drivers/android/binder.c:2447: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' +../drivers/android/binder.c:2447: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' +../drivers/android/binder.c:4010: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' +../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] + 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. +../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] + 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Per-file breakdown --- /tmp/tmp.LsNFMbPMhX 2024-12-05 11:57:46.526288343 -0800 +++ /tmp/tmp.lVRv7YaB1i 2024-12-05 11:57:46.530288302 -0800 @@ -2,2 +2,4 @@ - 1 ../drivers/devfreq/event/exynos-ppmu.c - 12 ../drivers/devfreq/tegra30-devfreq.c + 11 ../drivers/android/binder.c + 3 ../drivers/android/binderfs.c + 1 ../drivers/ata/ahci_imx.c + 1 ../drivers/ata/ahci_xgene.c @@ -7,3 +9,3 @@ - 1 ../drivers/hv/channel.c - 1 ../drivers/memory/emif.c - 1 ../drivers/perf/arm_cspmu/ampere_cspmu.c + 3 ../drivers/hwtracing/intel_th/core.c + 10 ../drivers/hwtracing/intel_th/msu.c + 1 ../drivers/nvdimm/core.c @@ -10,0 +13 @@ + 1 ../drivers/rapidio/rio_cm.c @@ -11,0 +15 @@ + 1 ../drivers/thermal/testing/zone.c @@ -13,2 +16,0 @@ - 4 ../kernel/gcov/clang.c - 1 ../kernel/kprobes.c