========== 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[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] 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.... make[4]: *** [../scripts/Makefile.build:485: drivers/thermal] Error 2 make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 ../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.... make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/gpu] Error 2 In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:80: 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:390: ../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/staging/rtl8723bs/core/rtw_xmit.c:1937:13: warning: variable 'drop_cnt' set but not used [-Wunused-but-set-variable] 1937 | static u32 drop_cnt; | ^ In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:80: 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:390: ../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); | ^ 2 warnings generated. ../drivers/staging/rtl8723bs/hal/hal_com.c:963:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 963 | u32 res, i = 0; | ^ 1 warning generated. ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' 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[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 make[4]: *** 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[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[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.... ../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/thermal/max77620_thermal.c:48: warning: Function parameter or struct member 'tz' not described in 'max77620_thermal_read_temp' ../drivers/thermal/max77620_thermal.c:48: warning: Excess function parameter 'data' description in 'max77620_thermal_read_temp' ../drivers/firmware/broadcom/tee_bnxt_fw.c:62: warning: Function parameter or struct member 'fw_shm_pool' not described in 'tee_bnxt_fw_private' 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/dell/dcdbas.c:104: warning: Function parameter or struct member 'size' not described in 'smi_data_buf_realloc' ../drivers/platform/x86/dell/dcdbas.c:285: warning: Function parameter or struct member 'smi_cmd' not described in 'dcdbas_smi_request' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'dev' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'attr' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'buf' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'count' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'nb' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'code' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'unused' not described in 'dcdbas_reboot_notify' ../drivers/platform/surface/surface3_power.c:248:3: warning: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 12 [-Wformat-truncation-non-kprintf] 248 | snprintf(bix->serial, ARRAY_SIZE(bix->serial), "%3pE%6pE", buf + 7, buf); | ^ 1 warning generated. make[4]: *** [../scripts/Makefile.build:485: drivers/thermal] 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[6]: *** Waiting for unfinished jobs.... ../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/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.... ../drivers/firmware/efi/libstub/efi-stub-helper.c:612: warning: Function parameter or struct member 'out' not described in 'efi_load_initrd' make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/gpu] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/platform/x86] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/platform] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/firmware/efi] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] 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.Xo0LEQoqaQ 2024-12-05 11:56:40.283968529 -0800 +++ /tmp/tmp.eVt15cwe7f 2024-12-05 11:57:01.955745999 -0800 @@ -28 +28,2 @@ -make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -35 +36 @@ -make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 @@ -68,3 +69,9 @@ -make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 -make[4]: *** Waiting for unfinished jobs.... -make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 +make[5]: *** Waiting for unfinished jobs.... +../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' +../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' +../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' +../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' +../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' +../drivers/thermal/max77620_thermal.c:48: warning: Function parameter or struct member 'tz' not described in 'max77620_thermal_read_temp' +../drivers/thermal/max77620_thermal.c:48: warning: Excess function parameter 'data' description in 'max77620_thermal_read_temp' +../drivers/firmware/broadcom/tee_bnxt_fw.c:62: warning: Function parameter or struct member 'fw_shm_pool' not described in 'tee_bnxt_fw_private' @@ -73,0 +81,13 @@ +../drivers/platform/x86/dell/dcdbas.c:104: warning: Function parameter or struct member 'size' not described in 'smi_data_buf_realloc' +../drivers/platform/x86/dell/dcdbas.c:285: warning: Function parameter or struct member 'smi_cmd' not described in 'dcdbas_smi_request' +../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'dev' not described in 'smi_request_store' +../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'attr' not described in 'smi_request_store' +../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'buf' not described in 'smi_request_store' +../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'count' not described in 'smi_request_store' +../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'nb' not described in 'dcdbas_reboot_notify' +../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'code' not described in 'dcdbas_reboot_notify' +../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'unused' not described in 'dcdbas_reboot_notify' +../drivers/platform/surface/surface3_power.c:248:3: warning: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 12 [-Wformat-truncation-non-kprintf] + 248 | snprintf(bix->serial, ARRAY_SIZE(bix->serial), "%3pE%6pE", buf + 7, buf); + | ^ +1 warning generated. @@ -75 +95,6 @@ -make[3]: *** [../scripts/Makefile.build:485: kernel] 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[6]: *** Waiting for unfinished jobs.... @@ -88,0 +114,13 @@ +../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.... +../drivers/firmware/efi/libstub/efi-stub-helper.c:612: warning: Function parameter or struct member 'out' not described in 'efi_load_initrd' @@ -91,38 +129,5 @@ -In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: -In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: -In file included from ../include/linux/sched/signal.h:5: -In file included from ../include/linux/rculist.h:11: -In file included from ../include/linux/rcupdate.h:26: -In file included from ../include/linux/irqflags.h:18: -In file included from ../arch/x86/include/asm/irqflags.h:80: -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:390: -../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/staging/rtl8723bs/core/rtw_xmit.c:1937:13: warning: variable 'drop_cnt' set but not used [-Wunused-but-set-variable] - 1937 | static u32 drop_cnt; - | ^ -In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: -In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: -In file included from ../include/linux/sched/signal.h:5: -In file included from ../include/linux/rculist.h:11: -In file included from ../include/linux/rcupdate.h:26: -In file included from ../include/linux/irqflags.h:18: -In file included from ../arch/x86/include/asm/irqflags.h:80: -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:390: -../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); - | ^ -2 warnings generated. -../drivers/staging/rtl8723bs/hal/hal_com.c:963:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] - 963 | u32 res, i = 0; - | ^ -1 warning generated. -../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' +make[5]: *** [../scripts/Makefile.build:485: drivers/platform/x86] Error 2 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:485: drivers/platform] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/firmware/efi] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 Per-file breakdown --- /tmp/tmp.U0H6AJ5855 2024-12-05 11:57:01.964745907 -0800 +++ /tmp/tmp.KoLcqQ5rAw 2024-12-05 11:57:01.967745876 -0800 @@ -1,0 +2,2 @@ + 5 ../drivers/firmware/broadcom/bcm47xx_nvram.c + 1 ../drivers/firmware/broadcom/tee_bnxt_fw.c @@ -2,0 +5,2 @@ + 1 ../drivers/firmware/efi/libstub/efi-stub-helper.c + 1 ../drivers/firmware/efi/rci2-table.c @@ -4,3 +8,3 @@ - 1 ../drivers/hid/hid-logitech-hidpp.c - 1 ../drivers/staging/rtl8723bs/core/rtw_xmit.c - 1 ../drivers/staging/rtl8723bs/hal/hal_com.c + 1 ../drivers/platform/surface/surface3_power.c + 9 ../drivers/platform/x86/dell/dcdbas.c + 1 ../drivers/platform/x86/wmi-bmof.c @@ -8 +12 @@ - 2 ../include/linux/fortify-string.h + 2 ../drivers/thermal/max77620_thermal.c