========== build_32bit - 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 In file included from ../include/linux/kobject.h:20, from ../include/linux/energy_model.h:7, from ../include/linux/device.h:16, from ../drivers/acpi/bgrt.c:11: ../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ 32 | static BIN_ATTR_SIMPLE_RO(image); | ^~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_image.read’) 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ 32 | static BIN_ATTR_SIMPLE_RO(image); | ^~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: drivers/acpi/bgrt.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/linux/kobject.h:20, from ../include/linux/energy_model.h:7, from ../include/linux/device.h:16, from ../include/linux/async.h:14, from ../init/initramfs.c:3: ../init/initramfs.c:594:31: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:323:19: note: in definition of macro ‘__BIN_ATTR’ 323 | .read = _read, \ | ^~~~~ ../init/initramfs.c:594:8: note: in expansion of macro ‘BIN_ATTR’ 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~ ../init/initramfs.c:594:31: note: (near initialization for ‘bin_attr_initrd.read’) 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:323:19: note: in definition of macro ‘__BIN_ATTR’ 323 | .read = _read, \ | ^~~~~ ../init/initramfs.c:594:8: note: in expansion of macro ‘BIN_ATTR’ 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~ 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.... ../kernel/module/sysfs.c: In function ‘add_notes_attrs’: ../kernel/module/sysfs.c:199:30: error: ‘struct bin_attribute’ has no member named ‘read_new’ 199 | nattr->read_new = sysfs_bin_attr_simple_read; | ^~ 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[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/linux/kobject.h:20, from ../include/linux/module.h:21, from ../drivers/firmware/dmi_scan.c:5: ../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:764:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 764 | static BIN_ATTR_SIMPLE_ADMIN_RO(smbios_entry_point); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_smbios_entry_point.read’) 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:764:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 764 | static BIN_ATTR_SIMPLE_ADMIN_RO(smbios_entry_point); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:765:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 765 | static BIN_ATTR_SIMPLE_ADMIN_RO(DMI); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_DMI.read’) 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:765:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 765 | static BIN_ATTR_SIMPLE_ADMIN_RO(DMI); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: drivers/firmware/dmi_scan.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ ../kernel/kprobes.c:141: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 ../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/x86/wmi-bmof.c: In function ‘wmi_bmof_probe’: ../drivers/platform/x86/wmi-bmof.c:54:28: error: ‘struct bin_attribute’ has no member named ‘read_new’ 54 | priv->bmof_bin_attr.read_new = sysfs_bin_attr_simple_read; | ^ make[6]: *** [../scripts/Makefile.build:229: drivers/platform/x86/wmi-bmof.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/bug.h:5, from ../include/linux/thread_info.h:13, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:16, from ../include/linux/resource_ext.h:11, from ../include/linux/acpi.h:13, from ../drivers/platform/x86/dell/dell-uart-backlight.c:11: ../drivers/platform/x86/dell/../serdev_helpers.h: In function ‘get_serdev_controller.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ ../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ ../drivers/platform/x86/dell/../serdev_helpers.h:45:17: note: in expansion of macro ‘pr_err’ 45 | pr_err("error could not get %s/%s serial-ctrl physical node\n", | ^~~~~~ ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ ../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ ../drivers/platform/x86/dell/../serdev_helpers.h:37:17: note: in expansion of macro ‘pr_err’ 37 | pr_err("error could not get %s/%s serial-ctrl adev\n", | ^~~~~~ In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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[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 In file included from ../include/linux/kobject.h:20, from ../include/linux/energy_model.h:7, from ../include/linux/device.h:16, from ../include/linux/async.h:14, from ../init/initramfs.c:3: ../init/initramfs.c:594:31: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:323:19: note: in definition of macro ‘__BIN_ATTR’ 323 | .read = _read, \ | ^~~~~ ../init/initramfs.c:594:8: note: in expansion of macro ‘BIN_ATTR’ 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~ ../init/initramfs.c:594:31: note: (near initialization for ‘bin_attr_initrd.read’) 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:323:19: note: in definition of macro ‘__BIN_ATTR’ 323 | .read = _read, \ | ^~~~~ ../init/initramfs.c:594:8: note: in expansion of macro ‘BIN_ATTR’ 594 | static BIN_ATTR(initrd, 0440, sysfs_bin_attr_simple_read, NULL, 0); | ^~~~~~~~ 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.... In file included from ../include/linux/kobject.h:20, from ../include/linux/energy_model.h:7, from ../include/linux/device.h:16, from ../drivers/acpi/bgrt.c:11: ../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ 32 | static BIN_ATTR_SIMPLE_RO(image); | ^~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_image.read’) 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ 32 | static BIN_ATTR_SIMPLE_RO(image); | ^~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:229: drivers/acpi/bgrt.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/module/sysfs.c: In function ‘add_notes_attrs’: ../kernel/module/sysfs.c:199:30: error: ‘struct bin_attribute’ has no member named ‘read_new’ 199 | nattr->read_new = sysfs_bin_attr_simple_read; | ^~ 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 In file included from ../include/linux/kobject.h:20, from ../include/linux/module.h:21, from ../drivers/firmware/dmi_scan.c:5: ../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:764:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 764 | static BIN_ATTR_SIMPLE_ADMIN_RO(smbios_entry_point); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_smbios_entry_point.read’) 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:764:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 764 | static BIN_ATTR_SIMPLE_ADMIN_RO(smbios_entry_point); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:765:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 765 | static BIN_ATTR_SIMPLE_ADMIN_RO(DMI); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_DMI.read’) 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:765:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 765 | static BIN_ATTR_SIMPLE_ADMIN_RO(DMI); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/firmware/broadcom/tee_bnxt_fw.c:62: warning: Function parameter or struct member 'fw_shm_pool' not described in 'tee_bnxt_fw_private' ../drivers/platform/x86/wmi-bmof.c: In function ‘wmi_bmof_probe’: ../drivers/platform/x86/wmi-bmof.c:54:28: error: ‘struct bin_attribute’ has no member named ‘read_new’ 54 | priv->bmof_bin_attr.read_new = sysfs_bin_attr_simple_read; | ^ 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 In file included from ../include/linux/kernel.h:31, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../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/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' ../drivers/hv/channel.c:578: warning: Function parameter or struct member 'size' not described in 'request_arr_init' In file included from ../include/linux/kobject.h:20, from ../drivers/firmware/efi/rci2-table.c:15: ../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/efi/rci2-table.c:43:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 43 | static BIN_ATTR_SIMPLE_ADMIN_RO(rci2); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_rci2.read’) 376 | .read = sysfs_bin_attr_simple_read, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/efi/rci2-table.c:43:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ 43 | static BIN_ATTR_SIMPLE_ADMIN_RO(rci2); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:229: drivers/firmware/efi/rci2-table.o] Error 1 make[6]: *** Waiting for unfinished jobs.... ../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/memory/emif.c:68: warning: Function parameter or struct member 'lpmode' not described in 'emif_data' make[5]: *** [../scripts/Makefile.build:485: drivers/firmware/efi] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 ../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/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' 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.VabimzGp0t 2024-12-05 11:19:28.399926656 -0800 +++ /tmp/tmp.U8jP7yMuw5 2024-12-05 11:19:44.902756849 -0800 @@ -7,24 +6,0 @@ - from ../drivers/acpi/bgrt.c:11: -../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] - 376 | .read = sysfs_bin_attr_simple_read, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ - 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) - | ^~~~~~~~~~~~~~~~~~~~ -../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ - 32 | static BIN_ATTR_SIMPLE_RO(image); - | ^~~~~~~~~~~~~~~~~~ -../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_image.read’) - 376 | .read = sysfs_bin_attr_simple_read, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ - 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) - | ^~~~~~~~~~~~~~~~~~~~ -../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ - 32 | static BIN_ATTR_SIMPLE_RO(image); - | ^~~~~~~~~~~~~~~~~~ -make[5]: *** [../scripts/Makefile.build:229: drivers/acpi/bgrt.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../include/linux/kobject.h:20, - from ../include/linux/energy_model.h:7, - from ../include/linux/device.h:16, @@ -53,0 +30,24 @@ +In file included from ../include/linux/kobject.h:20, + from ../include/linux/energy_model.h:7, + from ../include/linux/device.h:16, + from ../drivers/acpi/bgrt.c:11: +../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] + 376 | .read = sysfs_bin_attr_simple_read, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ + 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ + 32 | static BIN_ATTR_SIMPLE_RO(image); + | ^~~~~~~~~~~~~~~~~~ +../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_image.read’) + 376 | .read = sysfs_bin_attr_simple_read, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/sysfs.h:380:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ + 380 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0444) + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/acpi/bgrt.c:32:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_RO’ + 32 | static BIN_ATTR_SIMPLE_RO(image); + | ^~~~~~~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:229: drivers/acpi/bgrt.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -60,3 +60 @@ -make[4]: *** Waiting for unfinished jobs.... -make[4]: *** [../scripts/Makefile.build:485: drivers/acpi] Error 2 -make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 @@ -104,19 +102,6 @@ -../kernel/audit.c: In function ‘audit_log_vformat’: -../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); - | ^~~ -../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); - | ^~~ -../kernel/kprobes.c:141: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' -make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 -make[3]: *** [../scripts/Makefile.build:485: kernel] Error 2 -../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/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/firmware/broadcom/tee_bnxt_fw.c:62: warning: Function parameter or struct member 'fw_shm_pool' not described in 'tee_bnxt_fw_private' @@ -128,28 +113,8 @@ -make[6]: *** Waiting for unfinished jobs.... -In file included from ../include/linux/string.h:390, - from ../include/linux/bitmap.h:13, - from ../include/linux/cpumask.h:12, - from ../include/linux/smp.h:13, - from ../include/linux/lockdep.h:14, - from ../include/linux/rcupdate.h:29, - from ../include/linux/rculist.h:11, - from ../include/linux/sched/signal.h:5, - from ../drivers/staging/rtl8723bs/include/drv_types.h:17, - from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: -In function ‘fortify_memcpy_chk’, - inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: -../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../include/asm-generic/bug.h:22, - from ../arch/x86/include/asm/bug.h:99, - from ../include/linux/bug.h:5, - from ../include/linux/thread_info.h:13, - from ../include/linux/spinlock.h:60, - from ../include/linux/mmzone.h:8, - from ../include/linux/gfp.h:7, - from ../include/linux/slab.h:16, - from ../include/linux/resource_ext.h:11, - from ../include/linux/acpi.h:13, - from ../drivers/platform/x86/dell/dell-uart-backlight.c:11: -../drivers/platform/x86/dell/../serdev_helpers.h: In function ‘get_serdev_controller.constprop’: +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 +In file included from ../include/linux/kernel.h:31, + from ../include/linux/bcm47xx_nvram.h:10, + from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: +../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: @@ -162,2 +127,2 @@ -../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ - 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) +../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ + 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) @@ -165,2 +130,2 @@ -../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ - 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ +../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ + 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ @@ -168,6 +133,10 @@ -../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ - 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~~~ -../drivers/platform/x86/dell/../serdev_helpers.h:45:17: note: in expansion of macro ‘pr_err’ - 45 | pr_err("error could not get %s/%s serial-ctrl physical node\n", - | ^~~~~~ +../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ + 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ + 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ + | ^~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ + 92 | NVRAM_READ_VAL(u32) + | ^~~~~~~~~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: @@ -180,2 +149,2 @@ -../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ - 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) +../include/linux/printk.h:554:9: note: in expansion of macro ‘printk’ + 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) @@ -183,2 +152,2 @@ -../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ - 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ +../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ + 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ @@ -186,24 +155,74 @@ -../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ - 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~~~ -../drivers/platform/x86/dell/../serdev_helpers.h:37:17: note: in expansion of macro ‘pr_err’ - 37 | pr_err("error could not get %s/%s serial-ctrl adev\n", - | ^~~~~~ -In file included from ../include/linux/string.h:390, - from ../include/linux/bitmap.h:13, - from ../include/linux/cpumask.h:12, - from ../include/linux/smp.h:13, - from ../include/linux/lockdep.h:14, - from ../include/linux/rcupdate.h:29, - from ../include/linux/rculist.h:11, - from ../include/linux/sched/signal.h:5, - from ../drivers/staging/rtl8723bs/include/drv_types.h:17, - from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: -In function ‘fortify_memcpy_chk’, - inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: -../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 +../include/linux/printk.h:554:16: note: in expansion of macro ‘KERN_WARNING’ + 554 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ + 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ + | ^~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ + 90 | NVRAM_READ_VAL(s8) + | ^~~~~~~~~~~~~~ +../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/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' +../drivers/hv/channel.c:578: warning: Function parameter or struct member 'size' not described in 'request_arr_init' +In file included from ../include/linux/kobject.h:20, + from ../drivers/firmware/efi/rci2-table.c:15: +../include/linux/sysfs.h:376:19: error: initialization of ‘ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, struct bin_attribute *, char *, long long int, unsigned int)’} from incompatible pointer type ‘ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t)’ {aka ‘int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, unsigned int)’} [-Wincompatible-pointer-types] + 376 | .read = sysfs_bin_attr_simple_read, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ + 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/firmware/efi/rci2-table.c:43:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ + 43 | static BIN_ATTR_SIMPLE_ADMIN_RO(rci2); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/sysfs.h:376:19: note: (near initialization for ‘bin_attr_rci2.read’) + 376 | .read = sysfs_bin_attr_simple_read, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/sysfs.h:383:41: note: in expansion of macro ‘__BIN_ATTR_SIMPLE_RO’ + 383 | struct bin_attribute bin_attr_##_name = __BIN_ATTR_SIMPLE_RO(_name, 0400) + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/firmware/efi/rci2-table.c:43:8: note: in expansion of macro ‘BIN_ATTR_SIMPLE_ADMIN_RO’ + 43 | static BIN_ATTR_SIMPLE_ADMIN_RO(rci2); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +make[6]: *** [../scripts/Makefile.build:229: drivers/firmware/efi/rci2-table.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +../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/memory/emif.c:68: warning: Function parameter or struct member 'lpmode' not described in 'emif_data' +make[5]: *** [../scripts/Makefile.build:485: drivers/firmware/efi] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/firmware] Error 2 +../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/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' Per-file breakdown --- /tmp/tmp.9zQl79OMBl 2024-12-05 11:19:44.912756746 -0800 +++ /tmp/tmp.QR81jT18ud 2024-12-05 11:19:44.915756715 -0800 @@ -1 +1,10 @@ - 9 ../drivers/platform/x86/dell/dcdbas.c + 11 ../drivers/android/binder.c + 3 ../drivers/android/binderfs.c + 12 ../drivers/devfreq/tegra30-devfreq.c + 5 ../drivers/firmware/broadcom/bcm47xx_nvram.c + 2 ../drivers/firmware/broadcom/bcm47xx_sprom.c + 1 ../drivers/firmware/broadcom/tee_bnxt_fw.c + 1 ../drivers/hv/channel.c + 3 ../drivers/hwtracing/intel_th/core.c + 10 ../drivers/hwtracing/intel_th/msu.c + 1 ../drivers/memory/emif.c @@ -3 +11,0 @@ - 2 ../include/linux/fortify-string.h @@ -5 +13,2 @@ - 3 ../include/linux/sysfs.h + 2 ../include/linux/printk.h + 4 ../include/linux/sysfs.h @@ -7,2 +15,0 @@ - 2 ../kernel/audit.c - 1 ../kernel/kprobes.c