.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[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:72:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] 72 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); | ^~~~~~~ ../net/dibs/dibs_main.c:72:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 72 | 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[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[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.QFIAzxAhxD 2025-08-06 09:26:28.624846111 -0700 +++ /tmp/tmp.hxyU0nppYg 2025-08-06 09:26:42.043106245 -0700 @@ -3,2 +3,2 @@ -../net/dibs/dibs_main.c:72:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] - 72 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); +../net/dibs/dibs_main.c:74:16: error: implicit declaration of function ‘kzalloc’ [-Wimplicit-function-declaration] + 74 | dibs = kzalloc(sizeof(*dibs), GFP_KERNEL); @@ -6,2 +6,2 @@ -../net/dibs/dibs_main.c:72:14: error: assignment to ‘struct dibs_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] - 72 | 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); @@ -9,0 +10,12 @@ +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 Per-file breakdown --- /tmp/tmp.2rSTJ6n8zO 2025-08-06 09:26:42.049600054 -0700 +++ /tmp/tmp.puj1eNhNfB 2025-08-06 09:26:42.051600042 -0700 @@ -0,0 +1 @@ + 3 ../net/dibs/dibs_loopback.c