========== 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 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/uapi/linux/posix_types.h:5, from ../include/uapi/linux/types.h:14, from ../include/linux/types.h:6, from ../include/linux/kasan-checks.h:5, from ../include/asm-generic/rwonce.h:26, from ./arch/x86/include/generated/asm/rwonce.h:1, from ../include/linux/compiler.h:314, from ../include/linux/array_size.h:5, from ../include/linux/kernel.h:16, from ../drivers/net/bonding/bond_main.c:35: ../drivers/net/bonding/bond_main.c: In function ‘bond_ipsec_dev’: ../include/linux/stddef.h:8:14: error: incompatible types when returning type ‘void *’ but ‘struct net_device’ was expected 8 | #define NULL ((void *)0) | ^ ../drivers/net/bonding/bond_main.c:434:24: note: in expansion of macro ‘NULL’ 434 | return NULL; | ^~~~ ../include/linux/stddef.h:8:14: error: incompatible types when returning type ‘void *’ but ‘struct net_device’ was expected 8 | #define NULL ((void *)0) | ^ ../drivers/net/bonding/bond_main.c:442:24: note: in expansion of macro ‘NULL’ 442 | return NULL; | ^~~~ ../drivers/net/bonding/bond_main.c:446:16: error: incompatible types when returning type ‘struct net_device *’ but ‘struct net_device’ was expected 446 | return real_dev; | ^~~~~~~~ ../drivers/net/bonding/bond_main.c: In function ‘bond_ipsec_offload_ok’: ../drivers/net/bonding/bond_main.c:630:20: error: incompatible types when assigning to type ‘struct net_device *’ from type ‘struct net_device’ 630 | real_dev = bond_ipsec_dev(xs); | ^~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:244: drivers/net/bonding/bond_main.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/bonding] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/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 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/uapi/linux/posix_types.h:5, from ../include/uapi/linux/types.h:14, from ../include/linux/types.h:6, from ../include/linux/kasan-checks.h:5, from ../include/asm-generic/rwonce.h:26, from ./arch/x86/include/generated/asm/rwonce.h:1, from ../include/linux/compiler.h:314, from ../include/linux/array_size.h:5, from ../include/linux/kernel.h:16, from ../drivers/net/bonding/bond_main.c:35: ../drivers/net/bonding/bond_main.c: In function ‘bond_ipsec_dev’: ../include/linux/stddef.h:8:14: error: incompatible types when returning type ‘void *’ but ‘struct net_device’ was expected 8 | #define NULL ((void *)0) | ^ ../drivers/net/bonding/bond_main.c:434:24: note: in expansion of macro ‘NULL’ 434 | return NULL; | ^~~~ ../include/linux/stddef.h:8:14: error: incompatible types when returning type ‘void *’ but ‘struct net_device’ was expected 8 | #define NULL ((void *)0) | ^ ../drivers/net/bonding/bond_main.c:442:24: note: in expansion of macro ‘NULL’ 442 | return NULL; | ^~~~ ../drivers/net/bonding/bond_main.c:446:16: error: incompatible types when returning type ‘struct net_device *’ but ‘struct net_device’ was expected 446 | return real_dev; | ^~~~~~~~ ../drivers/net/bonding/bond_main.c: In function ‘bond_ipsec_offload_ok’: ../drivers/net/bonding/bond_main.c:630:20: error: incompatible types when assigning to type ‘struct net_device *’ from type ‘struct net_device’ 630 | real_dev = bond_ipsec_dev(xs); | ^~~~~~~~~~~~~~ ../drivers/net/bonding/bond_main.c: In function ‘bond_advance_esn_state’: ../drivers/net/bonding/bond_main.c:658:20: error: incompatible types when assigning to type ‘struct net_device *’ from type ‘struct net_device’ 658 | real_dev = bond_ipsec_dev(xs); | ^~~~~~~~~~~~~~ ../drivers/net/bonding/bond_main.c:668:9: error: ‘rhel_dev’ undeclared (first use in this function); did you mean ‘real_dev’? 668 | rhel_dev->xfrmdev_ops->xdo_dev_state_advance_esn(xs); | ^~~~~~~~ | real_dev ../drivers/net/bonding/bond_main.c:668:9: note: each undeclared identifier is reported only once for each function it appears in make[6]: *** [../scripts/Makefile.build:244: drivers/net/bonding/bond_main.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/bonding] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1925: .] 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.wql5nhUarB 2024-08-19 08:57:28.226079902 -0700 +++ /tmp/tmp.fxYB81KxNU 2024-08-19 08:57:42.315366705 -0700 @@ -37,0 +38,9 @@ +../drivers/net/bonding/bond_main.c: In function ‘bond_advance_esn_state’: +../drivers/net/bonding/bond_main.c:658:20: error: incompatible types when assigning to type ‘struct net_device *’ from type ‘struct net_device’ + 658 | real_dev = bond_ipsec_dev(xs); + | ^~~~~~~~~~~~~~ +../drivers/net/bonding/bond_main.c:668:9: error: ‘rhel_dev’ undeclared (first use in this function); did you mean ‘real_dev’? + 668 | rhel_dev->xfrmdev_ops->xdo_dev_state_advance_esn(xs); + | ^~~~~~~~ + | real_dev +../drivers/net/bonding/bond_main.c:668:9: note: each undeclared identifier is reported only once for each function it appears in Per-file breakdown --- /tmp/tmp.kAwwOk8iDp 2024-08-19 08:57:42.324366889 -0700 +++ /tmp/tmp.S4gYHlKSke 2024-08-19 08:57:42.326366929 -0700 @@ -1 +1 @@ - 2 ../drivers/net/bonding/bond_main.c + 4 ../drivers/net/bonding/bond_main.c