Documentation/.renames.txt: warning: ignored by one of the .gitignore files Warning: ../sound/usb/qcom/qc_audio_offload.c:1021 function parameter 'xfer_buf_cpu' not described in 'uaudio_transfer_buffer_setup' Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../drivers/tty/n_hdlc.c:139 struct member 'write_work' not described in 'n_hdlc' Warning: ../drivers/tty/n_hdlc.c:139 struct member 'tty_for_write_work' not described in 'n_hdlc' Warning: ../drivers/tty/n_gsm.c:4175 function parameter 'dlci' not described in 'gsm_modem_send_initial_msc' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1035 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1035 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:108, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/vmalloc.h:5, 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:484:25: note: in definition of macro ‘printk_index_wrap’ 484 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:565:9: note: in expansion of macro ‘printk’ 565 | 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:565:16: note: in expansion of macro ‘KERN_WARNING’ 565 | 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:484:25: note: in definition of macro ‘printk_index_wrap’ 484 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:565:9: note: in expansion of macro ‘printk’ 565 | 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:565:16: note: in expansion of macro ‘KERN_WARNING’ 565 | 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) | ^~~~~~~~~~~~~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:377:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 377 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:433:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 433 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:475:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 475 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1069:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1069 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/scsi/qla2xxx/qla_def.h:12, from ../drivers/scsi/qla2xxx/qla_init.c:6: In function ‘fortify_memcpy_chk’, inlined from ‘qla81xx_nvram_config’ at ../drivers/scsi/qla2xxx/qla_init.c:9246:2: ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../kernel/bpf/stream.c: In function ‘bpf_stream_vprintk’: ../kernel/bpf/stream.c:383:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 383 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); | ^~~ In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2i_process_login_resp.isra’ at ../drivers/scsi/bnx2i/bnx2i_hwi.c:1460:2: ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: ../drivers/android/binder.c:2436 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2436 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2456 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2456 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4078 function parameter 'thread' not described in 'binder_free_buf' ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../fs/smb/client/cifssmb.c:17: In function ‘fortify_memcpy_chk’, inlined from ‘CIFSPOSIXCreate’ at ../fs/smb/client/cifssmb.c:993: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 function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFileInfo’ at ../fs/smb/client/cifssmb.c:3843:4: ../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 function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQFileInfo’ at ../fs/smb/client/cifssmb.c:4009:4: ../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 function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBUnixQPathInfo’ at ../fs/smb/client/cifssmb.c:4091:4: ../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 function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSAttributeInfo’ at ../fs/smb/client/cifssmb.c:4857:4: ../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 function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSDeviceInfo’ at ../fs/smb/client/cifssmb.c:4928:4: ../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 function ‘fortify_memcpy_chk’, inlined from ‘CIFSSMBQFSUnixInfo’ at ../fs/smb/client/cifssmb.c:4997:4: ../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/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' In file included from ../include/net/rtnetlink.h:7, from ../include/net/neighbour.h:31, from ../include/net/dst.h:20, from ../include/net/sock.h:66, from ../include/linux/tcp.h:19, from ../include/linux/ipv6.h:103, from ../drivers/net/wireguard/allowedips.h:11, from ../drivers/net/wireguard/device.h:10, from ../drivers/net/wireguard/netlink.c:7: ../drivers/net/wireguard/netlink.c:30:67: error: ‘peer_policy’ undeclared here (not in a function) 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), | ^~~~~~~~~~~ ../include/net/netlink.h:395:54: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~ ../drivers/net/wireguard/netlink.c:30:43: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler.h:197:82: error: expression in static assertion is not an integer 197 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | ^ ../include/net/netlink.h:395:69: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~~ ../include/linux/compiler.h:202:33: note: in expansion of macro ‘__BUILD_BUG_ON_ZERO_MSG’ 202 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/array_size.h:11:59: note: in expansion of macro ‘__must_be_array’ 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | ^~~~~~~~~~~~~~~ ../include/net/netlink.h:399:34: note: in expansion of macro ‘ARRAY_SIZE’ 399 | _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy) | ^~~~~~~~~~ ../drivers/net/wireguard/netlink.c:30:43: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireguard/netlink.c:42:83: error: ‘allowedip_policy’ undeclared here (not in a function) 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), | ^~~~~~~~~~~~~~~~ ../include/net/netlink.h:395:54: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~ ../drivers/net/wireguard/netlink.c:42:59: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler.h:197:82: error: expression in static assertion is not an integer 197 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | ^ ../include/net/netlink.h:395:69: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~~ ../include/linux/compiler.h:202:33: note: in expansion of macro ‘__BUILD_BUG_ON_ZERO_MSG’ 202 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/array_size.h:11:59: note: in expansion of macro ‘__must_be_array’ 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | ^~~~~~~~~~~~~~~ ../include/net/netlink.h:399:34: note: in expansion of macro ‘ARRAY_SIZE’ 399 | _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy) | ^~~~~~~~~~ ../drivers/net/wireguard/netlink.c:42:59: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireguard/netlink.c:46:32: warning: ‘allowedip_policy’ defined but not used [-Wunused-const-variable=] 46 | static const struct nla_policy allowedip_policy[WGALLOWEDIP_A_MAX + 1] = { | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/netlink.c:33:32: warning: ‘peer_policy’ defined but not used [-Wunused-const-variable=] 33 | static const struct nla_policy peer_policy[WGPEER_A_MAX + 1] = { | ^~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:287: drivers/net/wireguard/netlink.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/wireguard] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../include/net/rtnetlink.h:7, from ../include/net/neighbour.h:31, from ../include/net/dst.h:20, from ../include/net/sock.h:66, from ../include/linux/tcp.h:19, from ../include/linux/ipv6.h:103, from ../drivers/net/wireguard/allowedips.h:11, from ../drivers/net/wireguard/device.h:10, from ../drivers/net/wireguard/netlink.c:7: ../drivers/net/wireguard/netlink.c:30:67: error: ‘peer_policy’ undeclared here (not in a function) 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), | ^~~~~~~~~~~ ../include/net/netlink.h:395:54: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~ ../drivers/net/wireguard/netlink.c:30:43: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler.h:197:82: error: expression in static assertion is not an integer 197 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | ^ ../include/net/netlink.h:395:69: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~~ ../include/linux/compiler.h:202:33: note: in expansion of macro ‘__BUILD_BUG_ON_ZERO_MSG’ 202 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/array_size.h:11:59: note: in expansion of macro ‘__must_be_array’ 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | ^~~~~~~~~~~~~~~ ../include/net/netlink.h:399:34: note: in expansion of macro ‘ARRAY_SIZE’ 399 | _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy) | ^~~~~~~~~~ ../drivers/net/wireguard/netlink.c:30:43: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireguard/netlink.c:42:83: error: ‘allowedip_policy’ undeclared here (not in a function) 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), | ^~~~~~~~~~~~~~~~ ../include/net/netlink.h:395:54: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~ ../drivers/net/wireguard/netlink.c:42:59: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler.h:197:82: error: expression in static assertion is not an integer 197 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | ^ ../include/net/netlink.h:395:69: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } | ^~~~~~~ ../include/linux/compiler.h:202:33: note: in expansion of macro ‘__BUILD_BUG_ON_ZERO_MSG’ 202 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/array_size.h:11:59: note: in expansion of macro ‘__must_be_array’ 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | ^~~~~~~~~~~~~~~ ../include/net/netlink.h:399:34: note: in expansion of macro ‘ARRAY_SIZE’ 399 | _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy) | ^~~~~~~~~~ ../drivers/net/wireguard/netlink.c:42:59: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireguard/netlink.c:46:32: warning: ‘allowedip_policy’ defined but not used [-Wunused-const-variable=] 46 | static const struct nla_policy allowedip_policy[WGALLOWEDIP_A_MAX + 1] = { | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/netlink.c:33:32: warning: ‘peer_policy’ defined but not used [-Wunused-const-variable=] 33 | static const struct nla_policy peer_policy[WGPEER_A_MAX + 1] = { | ^~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:287: drivers/net/wireguard/netlink.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/wireguard] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.FmA838UgkV 2025-10-29 17:57:47.008050009 -0700 +++ /tmp/tmp.3HnHFy9aNU 2025-10-29 17:57:59.237352996 -0700 @@ -1,0 +2,77 @@ +In file included from ../include/net/rtnetlink.h:7, + from ../include/net/neighbour.h:31, + from ../include/net/dst.h:20, + from ../include/net/sock.h:66, + from ../include/linux/tcp.h:19, + from ../include/linux/ipv6.h:103, + from ../drivers/net/wireguard/allowedips.h:11, + from ../drivers/net/wireguard/device.h:10, + from ../drivers/net/wireguard/netlink.c:7: +../drivers/net/wireguard/netlink.c:30:67: error: ‘peer_policy’ undeclared here (not in a function) + 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), + | ^~~~~~~~~~~ +../include/net/netlink.h:395:54: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ + 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } + | ^~~~~~ +../drivers/net/wireguard/netlink.c:30:43: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ + 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), + | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/compiler.h:197:82: error: expression in static assertion is not an integer + 197 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) + | ^ +../include/net/netlink.h:395:69: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ + 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } + | ^~~~~~~ +../include/linux/compiler.h:202:33: note: in expansion of macro ‘__BUILD_BUG_ON_ZERO_MSG’ + 202 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/array_size.h:11:59: note: in expansion of macro ‘__must_be_array’ + 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) + | ^~~~~~~~~~~~~~~ +../include/net/netlink.h:399:34: note: in expansion of macro ‘ARRAY_SIZE’ + 399 | _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy) + | ^~~~~~~~~~ +../drivers/net/wireguard/netlink.c:30:43: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ + 30 | [WGDEVICE_A_PEERS] = NLA_POLICY_NESTED_ARRAY(peer_policy), + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireguard/netlink.c:42:83: error: ‘allowedip_policy’ undeclared here (not in a function) + 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), + | ^~~~~~~~~~~~~~~~ +../include/net/netlink.h:395:54: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ + 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } + | ^~~~~~ +../drivers/net/wireguard/netlink.c:42:59: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ + 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), + | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/compiler.h:197:82: error: expression in static assertion is not an integer + 197 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) + | ^ +../include/net/netlink.h:395:69: note: in definition of macro ‘_NLA_POLICY_NESTED_ARRAY’ + 395 | { .type = NLA_NESTED_ARRAY, .nested_policy = policy, .len = maxattr } + | ^~~~~~~ +../include/linux/compiler.h:202:33: note: in expansion of macro ‘__BUILD_BUG_ON_ZERO_MSG’ + 202 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/array_size.h:11:59: note: in expansion of macro ‘__must_be_array’ + 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) + | ^~~~~~~~~~~~~~~ +../include/net/netlink.h:399:34: note: in expansion of macro ‘ARRAY_SIZE’ + 399 | _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy) + | ^~~~~~~~~~ +../drivers/net/wireguard/netlink.c:42:59: note: in expansion of macro ‘NLA_POLICY_NESTED_ARRAY’ + 42 | [WGPEER_A_ALLOWEDIPS] = NLA_POLICY_NESTED_ARRAY(allowedip_policy), + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireguard/netlink.c:46:32: warning: ‘allowedip_policy’ defined but not used [-Wunused-const-variable=] + 46 | static const struct nla_policy allowedip_policy[WGALLOWEDIP_A_MAX + 1] = { + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireguard/netlink.c:33:32: warning: ‘peer_policy’ defined but not used [-Wunused-const-variable=] + 33 | static const struct nla_policy peer_policy[WGPEER_A_MAX + 1] = { + | ^~~~~~~~~~~ +make[6]: *** [../scripts/Makefile.build:287: drivers/net/wireguard/netlink.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/net/wireguard] Error 2 +make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2010: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.3a0XQiasLY 2025-10-29 17:57:59.243553055 -0700 +++ /tmp/tmp.vls9ntKn4q 2025-10-29 17:57:59.247553015 -0700 @@ -0,0 +1,2 @@ + 4 ../drivers/net/wireguard/netlink.c + 2 ../include/linux/compiler.h