.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[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 .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[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 New errors added --- /tmp/tmp.T8DFljZzVf 2025-08-06 09:25:25.961717567 -0700 +++ /tmp/tmp.arjOx2R5XH 2025-08-06 09:25:52.629866612 -0700 @@ -1,0 +2,15 @@ +../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[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 Per-file breakdown --- /tmp/tmp.QcHAlxh1to 2025-08-06 09:25:52.638824031 -0700 +++ /tmp/tmp.N3WBCPHJzQ 2025-08-06 09:25:52.643092032 -0700 @@ -0,0 +1 @@ + 2 ../net/dibs/dibs_main.c