========== build_32bit - FAILED .pylintrc: warning: ignored by one of the .gitignore files ../net/dibs/dibs_loopback.c: In function ‘dibs_lo_dev_probe’: ../net/dibs/dibs_loopback.c:46:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 46 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_loopback.c:46:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 46 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^ ../net/dibs/dibs_loopback.c:52:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 52 | kfree(ldev); | ^~~~~ make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_loopback.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/dibs/dibs_main.c: In function ‘dibs_dev_release’: ../net/dibs/dibs_main.c:98:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 98 | kfree(dibs); | ^~~~~ ../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: ../net/dibs/dibs_main.c:105:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 105 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_main.c:105:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 105 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^ make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_main.o] Error 1 make[4]: *** [../scripts/Makefile.build:555: net/dibs] Error 2 make[4]: *** Waiting for unfinished jobs.... ../net/smc/smc_ism.c: In function ‘smcd_register_dev’: ../net/smc/smc_ism.c:535:36: error: ‘smc_ism_client’ undeclared (first use in this function); did you mean ‘smc_dibs_client’? 535 | ism_set_priv(ism, &smc_ism_client, smcd); | ^~~~~~~~~~~~~~ | smc_dibs_client ../net/smc/smc_ism.c:535:36: note: each undeclared identifier is reported only once for each function it appears in make[5]: *** [../scripts/Makefile.build:287: net/smc/smc_ism.o] Error 1 make[4]: *** [../scripts/Makefile.build:555: net/smc] Error 2 make[3]: *** [../scripts/Makefile.build:555: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2004: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 .pylintrc: warning: ignored by one of the .gitignore files ../net/dibs/dibs_main.c: In function ‘dibs_dev_release’: ../net/dibs/dibs_main.c:129:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 129 | kfree(dibs); | ^~~~~ ../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: ../net/dibs/dibs_main.c:136:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 136 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_main.c:136:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 136 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^ ../net/dibs/dibs_main.c: In function ‘dibs_dev_add’: ../net/dibs/dibs_main.c:188:32: error: assignment to ‘u8 *’ {aka ‘unsigned char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 188 | dibs->dmb_clientid_arr = kzalloc(max_dmbs, GFP_KERNEL); | ^ make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_main.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../net/dibs/dibs_loopback.c: In function ‘dibs_lo_register_dmb’: ../net/dibs/dibs_loopback.c:64:20: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 64 | dmb_node = kzalloc(sizeof(*dmb_node), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_loopback.c:64:18: error: assignment to ‘struct dibs_lo_dmb_node *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 64 | dmb_node = kzalloc(sizeof(*dmb_node), GFP_KERNEL); | ^ ../net/dibs/dibs_loopback.c:72:28: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 72 | dmb_node->cpu_addr = kzalloc(dmb_node->len, GFP_KERNEL | | ^ ../net/dibs/dibs_loopback.c:109:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 109 | kfree(dmb_node); | ^~~~~ ../net/dibs/dibs_loopback.c: In function ‘__dibs_lo_unregister_dmb’: ../net/dibs/dibs_loopback.c:124:9: error: implicit declaration of function ‘kvfree’ [-Wimplicit-function-declaration] 124 | kvfree(dmb_node->cpu_addr); | ^~~~~~ ../net/dibs/dibs_loopback.c: In function ‘dibs_lo_dev_probe’: ../net/dibs/dibs_loopback.c:300:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 300 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^ make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_loopback.o] Error 1 make[4]: *** [../scripts/Makefile.build:555: net/dibs] Error 2 make[4]: *** Waiting for unfinished jobs.... ../net/smc/smc_ism.c:46:23: error: ‘smcd_handle_irq’ undeclared here (not in a function) 46 | .handle_irq = smcd_handle_irq, | ^~~~~~~~~~~~~~~ ../net/smc/smc_ism.c: In function ‘smcd_register_dev’: ../net/smc/smc_ism.c:531:36: error: ‘smc_ism_client’ undeclared (first use in this function); did you mean ‘smc_dibs_client’? 531 | ism_set_priv(ism, &smc_ism_client, smcd); | ^~~~~~~~~~~~~~ | smc_dibs_client ../net/smc/smc_ism.c:531:36: note: each undeclared identifier is reported only once for each function it appears in make[5]: *** [../scripts/Makefile.build:287: net/smc/smc_ism.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:555: net/smc] Error 2 make[3]: *** [../scripts/Makefile.build:555: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2004: .] 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.XKSLJZxuVz 2025-08-06 09:37:52.284715803 -0700 +++ /tmp/tmp.cYXX7ftsgw 2025-08-06 09:38:14.817683354 -0700 @@ -2,12 +1,0 @@ -../net/dibs/dibs_loopback.c: In function ‘dibs_lo_dev_probe’: -../net/dibs/dibs_loopback.c:46:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] - 46 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); - | ^~~~~~~ -../net/dibs/dibs_loopback.c:46:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] - 46 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); - | ^ -../net/dibs/dibs_loopback.c:52:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] - 52 | kfree(ldev); - | ^~~~~ -make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_loopback.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... @@ -15,2 +3,2 @@ -../net/dibs/dibs_main.c:98:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] - 98 | kfree(dibs); +../net/dibs/dibs_main.c:129:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] + 129 | kfree(dibs); @@ -19,2 +7,2 @@ -../net/dibs/dibs_main.c:105:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] - 105 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); +../net/dibs/dibs_main.c:136:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] + 136 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); @@ -22,2 +10,2 @@ -../net/dibs/dibs_main.c:105:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] - 105 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); +../net/dibs/dibs_main.c:136:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 136 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); @@ -24,0 +13,4 @@ +../net/dibs/dibs_main.c: In function ‘dibs_dev_add’: +../net/dibs/dibs_main.c:188:32: error: assignment to ‘u8 *’ {aka ‘unsigned char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 188 | dibs->dmb_clientid_arr = kzalloc(max_dmbs, GFP_KERNEL); + | ^ @@ -25,0 +18,23 @@ +make[5]: *** Waiting for unfinished jobs.... +../net/dibs/dibs_loopback.c: In function ‘dibs_lo_register_dmb’: +../net/dibs/dibs_loopback.c:64:20: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] + 64 | dmb_node = kzalloc(sizeof(*dmb_node), GFP_KERNEL); + | ^~~~~~~ +../net/dibs/dibs_loopback.c:64:18: error: assignment to ‘struct dibs_lo_dmb_node *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 64 | dmb_node = kzalloc(sizeof(*dmb_node), GFP_KERNEL); + | ^ +../net/dibs/dibs_loopback.c:72:28: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 72 | dmb_node->cpu_addr = kzalloc(dmb_node->len, GFP_KERNEL | + | ^ +../net/dibs/dibs_loopback.c:109:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] + 109 | kfree(dmb_node); + | ^~~~~ +../net/dibs/dibs_loopback.c: In function ‘__dibs_lo_unregister_dmb’: +../net/dibs/dibs_loopback.c:124:9: error: implicit declaration of function ‘kvfree’ [-Wimplicit-function-declaration] + 124 | kvfree(dmb_node->cpu_addr); + | ^~~~~~ +../net/dibs/dibs_loopback.c: In function ‘dibs_lo_dev_probe’: +../net/dibs/dibs_loopback.c:300:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 300 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); + | ^ +make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_loopback.o] Error 1 @@ -27,0 +43,3 @@ +../net/smc/smc_ism.c:46:23: error: ‘smcd_handle_irq’ undeclared here (not in a function) + 46 | .handle_irq = smcd_handle_irq, + | ^~~~~~~~~~~~~~~ @@ -29,2 +47,2 @@ -../net/smc/smc_ism.c:535:36: error: ‘smc_ism_client’ undeclared (first use in this function); did you mean ‘smc_dibs_client’? - 535 | ism_set_priv(ism, &smc_ism_client, smcd); +../net/smc/smc_ism.c:531:36: error: ‘smc_ism_client’ undeclared (first use in this function); did you mean ‘smc_dibs_client’? + 531 | ism_set_priv(ism, &smc_ism_client, smcd); @@ -33 +51 @@ -../net/smc/smc_ism.c:535:36: note: each undeclared identifier is reported only once for each function it appears in +../net/smc/smc_ism.c:531:36: note: each undeclared identifier is reported only once for each function it appears in @@ -34,0 +53 @@ +make[5]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.4a1cNTF34O 2025-08-06 09:38:14.825390663 -0700 +++ /tmp/tmp.WoqkgXgVum 2025-08-06 09:38:14.827619661 -0700 @@ -1,3 +1,3 @@ - 3 ../net/dibs/dibs_loopback.c - 3 ../net/dibs/dibs_main.c - 1 ../net/smc/smc_ism.c + 6 ../net/dibs/dibs_loopback.c + 4 ../net/dibs/dibs_main.c + 2 ../net/smc/smc_ism.c