.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 .pylintrc: warning: ignored by one of the .gitignore files ../net/dibs/dibs_main.c: In function ‘dibs_dev_release’: ../net/dibs/dibs_main.c:96:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 96 | kfree(dibs); | ^~~~~ ../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: ../net/dibs/dibs_main.c:103:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 103 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_main.c:103:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 103 | 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:36:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 36 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_loopback.c:36:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 36 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); | ^ ../net/dibs/dibs_loopback.c:42:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] 42 | 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 New errors added --- /tmp/tmp.WOclg4aGoM 2025-08-06 09:28:06.432403914 -0700 +++ /tmp/tmp.xJF3Ew90tT 2025-08-06 09:29:23.853603602 -0700 @@ -2,3 +2,7 @@ -../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_main.c: In function ‘dibs_dev_release’: +../net/dibs/dibs_main.c:96:9: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] + 96 | kfree(dibs); + | ^~~~~ +../net/dibs/dibs_main.c: In function ‘dibs_dev_alloc’: +../net/dibs/dibs_main.c:103:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] + 103 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); @@ -6,2 +10,2 @@ -../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_main.c:103:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 103 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); @@ -9,4 +13 @@ -../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]: *** [../scripts/Makefile.build:287: net/dibs/dibs_main.o] Error 1 @@ -14,3 +15,3 @@ -../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_loopback.c: In function ‘dibs_lo_dev_probe’: +../net/dibs/dibs_loopback.c:36:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] + 36 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); @@ -18,2 +19,2 @@ -../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); +../net/dibs/dibs_loopback.c:36:14: error: assignment to ‘struct dibs_lo_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 36 | ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); @@ -21 +22,4 @@ -make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_main.o] Error 1 +../net/dibs/dibs_loopback.c:42:17: error: implicit declaration of function ‘kfree’ [-Wimplicit-function-declaration] + 42 | kfree(ldev); + | ^~~~~ +make[5]: *** [../scripts/Makefile.build:287: net/dibs/dibs_loopback.o] Error 1 @@ -30,0 +35 @@ +make[5]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.cVkaBRQ8eL 2025-08-06 09:29:23.896670157 -0700 +++ /tmp/tmp.m4Qdwpe72y 2025-08-06 09:29:23.902670123 -0700 @@ -2 +2 @@ - 2 ../net/dibs/dibs_main.c + 3 ../net/dibs/dibs_main.c