WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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 tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1683:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1683 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ In file included from ../include/linux/string.h:390, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1977:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1977 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1986:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1986 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ 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:462:25: note: in definition of macro ‘printk_index_wrap’ 462 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:543:9: note: in expansion of macro ‘printk’ 543 | 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:543:16: note: in expansion of macro ‘KERN_WARNING’ 543 | 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:462:25: note: in definition of macro ‘printk_index_wrap’ 462 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:543:9: note: in expansion of macro ‘printk’ 543 | 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:543:16: note: in expansion of macro ‘KERN_WARNING’ 543 | 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) | ^~~~~~~~~~~~~~ In file included from ../include/linux/string.h:390, 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 ../net/core/skbuff.c:37: ../net/core/skbuff.c: In function ‘pskb_expand_head’: ../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ~~~~~~~~~~~~ ^ ~~~~~~~~~ | | | | | sk_buff_data_t {aka unsigned char *} | u8 * {aka unsigned char *} ../include/linux/fortify-string.h:503:44: note: in definition of macro ‘__fortify_memset_chk’ 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ | ^~~~~~ ../include/linux/fortify-string.h:513:17: note: in expansion of macro ‘__struct_size’ 513 | __struct_size(p), __member_size(p)) | ^~~~~~~~~~~~~ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ ../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ~~~~~~~~~~~~ ^ ~~~~~~~~~ | | | | | sk_buff_data_t {aka unsigned char *} | u8 * {aka unsigned char *} ../include/linux/fortify-string.h:503:52: note: in definition of macro ‘__fortify_memset_chk’ 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ | ^~~~~~~~~~~~ ../include/linux/fortify-string.h:513:35: note: in expansion of macro ‘__member_size’ 513 | __struct_size(p), __member_size(p)) | ^~~~~~~~~~~~~ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ ../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ~~~~~~~~~~~~ ^ ~~~~~~~~~ | | | | | sk_buff_data_t {aka unsigned char *} | u8 * {aka unsigned char *} ../include/linux/fortify-string.h:504:29: note: in definition of macro ‘__fortify_memset_chk’ 504 | __underlying_memset(p, c, __fortify_size); \ | ^ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ ../include/linux/fortify-string.h:503:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ | ^ ../include/linux/fortify-string.h:512:25: note: in expansion of macro ‘__fortify_memset_chk’ 512 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 make[4]: *** 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/linux/string.h:390, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' In file included from ../include/linux/string.h:390, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' make[3]: *** [../scripts/Makefile.build:478: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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 tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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 tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files In file included from ../include/linux/string.h:390, 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 ../net/core/skbuff.c:37: ../net/core/skbuff.c: In function ‘pskb_expand_head’: ../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ~~~~~~~~~~~~ ^ ~~~~~~~~~ | | | | | sk_buff_data_t {aka unsigned char *} | u8 * {aka unsigned char *} ../include/linux/fortify-string.h:503:44: note: in definition of macro ‘__fortify_memset_chk’ 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ | ^~~~~~ ../include/linux/fortify-string.h:513:17: note: in expansion of macro ‘__struct_size’ 513 | __struct_size(p), __member_size(p)) | ^~~~~~~~~~~~~ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ ../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ~~~~~~~~~~~~ ^ ~~~~~~~~~ | | | | | sk_buff_data_t {aka unsigned char *} | u8 * {aka unsigned char *} ../include/linux/fortify-string.h:503:52: note: in definition of macro ‘__fortify_memset_chk’ 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ | ^~~~~~~~~~~~ ../include/linux/fortify-string.h:513:35: note: in expansion of macro ‘__member_size’ 513 | __struct_size(p), __member_size(p)) | ^~~~~~~~~~~~~ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ ../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ~~~~~~~~~~~~ ^ ~~~~~~~~~ | | | | | sk_buff_data_t {aka unsigned char *} | u8 * {aka unsigned char *} ../include/linux/fortify-string.h:504:29: note: in definition of macro ‘__fortify_memset_chk’ 504 | __underlying_memset(p, c, __fortify_size); \ | ^ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ ../include/linux/fortify-string.h:503:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ | ^ ../include/linux/fortify-string.h:512:25: note: in expansion of macro ‘__fortify_memset_chk’ 512 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \ | ^~~~~~~~~~~~~~~~~~~~ ../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); | ^~~~~~ make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:478: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.t1TeGgLapG 2024-10-01 22:42:08.903980209 -0700 +++ /tmp/tmp.VHmzPS1LZC 2024-10-01 22:42:21.062225406 -0700 @@ -17,0 +18,70 @@ +In file included from ../include/linux/string.h:390, + 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 ../net/core/skbuff.c:37: +../net/core/skbuff.c: In function ‘pskb_expand_head’: +../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) + 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); + | ~~~~~~~~~~~~ ^ ~~~~~~~~~ + | | | + | | sk_buff_data_t {aka unsigned char *} + | u8 * {aka unsigned char *} +../include/linux/fortify-string.h:503:44: note: in definition of macro ‘__fortify_memset_chk’ + 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ + | ^~~~~~ +../include/linux/fortify-string.h:513:17: note: in expansion of macro ‘__struct_size’ + 513 | __struct_size(p), __member_size(p)) + | ^~~~~~~~~~~~~ +../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ + 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); + | ^~~~~~ +../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) + 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); + | ~~~~~~~~~~~~ ^ ~~~~~~~~~ + | | | + | | sk_buff_data_t {aka unsigned char *} + | u8 * {aka unsigned char *} +../include/linux/fortify-string.h:503:52: note: in definition of macro ‘__fortify_memset_chk’ + 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ + | ^~~~~~~~~~~~ +../include/linux/fortify-string.h:513:35: note: in expansion of macro ‘__member_size’ + 513 | __struct_size(p), __member_size(p)) + | ^~~~~~~~~~~~~ +../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ + 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); + | ^~~~~~ +../net/core/skbuff.c:2292:29: error: invalid operands to binary + (have ‘u8 *’ {aka ‘unsigned char *’} and ‘sk_buff_data_t’ {aka ‘unsigned char *’}) + 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); + | ~~~~~~~~~~~~ ^ ~~~~~~~~~ + | | | + | | sk_buff_data_t {aka unsigned char *} + | u8 * {aka unsigned char *} +../include/linux/fortify-string.h:504:29: note: in definition of macro ‘__fortify_memset_chk’ + 504 | __underlying_memset(p, c, __fortify_size); \ + | ^ +../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ + 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); + | ^~~~~~ +../include/linux/fortify-string.h:503:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] + 503 | fortify_memset_chk(__fortify_size, p_size, p_size_field), \ + | ^ +../include/linux/fortify-string.h:512:25: note: in expansion of macro ‘__fortify_memset_chk’ + 512 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \ + | ^~~~~~~~~~~~~~~~~~~~ +../net/core/skbuff.c:2292:9: note: in expansion of macro ‘memset’ + 2292 | memset(data + nhead + skb->tail, 0, skb_tailroom(skb) + ntail); + | ^~~~~~ +make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 +make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 +make[3]: *** [../scripts/Makefile.build:478: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 +make: *** [Makefile:224: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.sgOL29j3Ua 2024-10-01 22:42:21.068225527 -0700 +++ /tmp/tmp.WkrURRHxOV 2024-10-01 22:42:21.074225648 -0700 @@ -0,0 +1,2 @@ + 1 ../include/linux/fortify-string.h + 3 ../net/core/skbuff.c