.pylintrc: warning: ignored by one of the .gitignore files ../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: ../net/dibs/dibs_main.c:94:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 94 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_main.c:94:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 94 | dibs = kzalloc(sizeof(*dibs), 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_dev_probe’: ../net/dibs/dibs_loopback.c:40:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 40 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_loopback.c:40:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 40 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^ ../net/dibs/dibs_loopback.c:46:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 46 | kfree(ldev); | ^~~~~ 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: 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 .pylintrc: warning: ignored by one of the .gitignore files ../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: ../net/dibs/dibs_main.c:74:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 74 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_main.c:74:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 74 | dibs = kzalloc(sizeof(*dibs), 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_dev_probe’: ../net/dibs/dibs_loopback.c:31:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 31 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_loopback.c:31:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 31 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^ ../net/dibs/dibs_loopback.c:37:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 37 | kfree(ldev); | ^~~~~ 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.... 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_loopback.c: In function ‘dibs_lo_dev_probe’: ../net/dibs/dibs_loopback.c:40:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 40 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_loopback.c:40:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 40 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^ ../net/dibs/dibs_loopback.c:46:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 46 | 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_alloc’: ../net/dibs/dibs_main.c:94:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 94 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_main.c:94:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 94 | 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: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[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.eDNjneSRTA 2025-08-06 09:27:27.988250834 -0700 +++ /tmp/tmp.JCa3kHcCcb 2025-08-06 09:27:51.195832639 -0700 @@ -2,9 +1,0 @@ -../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: -../net/dibs/dibs_main.c:74:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] - 74 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); - | ^~~~~~~ -../net/dibs/dibs_main.c:74:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] - 74 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); - | ^ -make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_main.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... @@ -12,2 +3,2 @@ -../net/dibs/dibs_loopback.c:31:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] - 31 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); +../net/dibs/dibs_loopback.c:40:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] + 40 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); @@ -15,2 +6,2 @@ -../net/dibs/dibs_loopback.c:31:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] - 31 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); +../net/dibs/dibs_loopback.c:40:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 40 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); @@ -18,2 +9,2 @@ -../net/dibs/dibs_loopback.c:37:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] - 37 | kfree(ldev); +../net/dibs/dibs_loopback.c:46:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] + 46 | kfree(ldev); @@ -21,0 +13,9 @@ +make[5]: *** Waiting for unfinished jobs.... +../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: +../net/dibs/dibs_main.c:94:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] + 94 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); + | ^~~~~~~ +../net/dibs/dibs_main.c:94:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 94 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); + | ^ +make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_main.o] Error 1 @@ -23,0 +24,8 @@ +../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[4]: *** [../scripts/Makefile.build:555: net/smc] Error 2 Per-file breakdown --- /tmp/tmp.CzB2VtT0De 2025-08-06 09:27:51.205202718 -0700 +++ /tmp/tmp.UBsn5ixlhq 2025-08-06 09:27:51.207202707 -0700 @@ -2,0 +3 @@ + 1 ../net/smc/smc_ism.c