========== build_clang - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:570:20: error: call to undeclared function 'kmalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); | ^ ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:570:18: error: incompatible integer to pointer conversion assigning to 'struct fdb_tbl *' from 'int' [-Wint-conversion] 570 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[7]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/ti/icssm/icssm_prueth_switch.o] Error 1 make[6]: *** [../scripts/Makefile.build:544: drivers/net/ethernet/ti] Error 2 make[5]: *** [../scripts/Makefile.build:544: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:544: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:544: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2054: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:581:20: error: call to undeclared function 'kmalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 581 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); | ^ ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:581:18: error: incompatible integer to pointer conversion assigning to 'struct fdb_tbl *' from 'int' [-Wint-conversion] 581 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:649:13: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 649 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); | ^ ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:649:11: error: incompatible integer to pointer conversion assigning to 'struct icssm_prueth_sw_fdb_work *' from 'int' [-Wint-conversion] 649 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:668:13: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); | ^ ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:668:11: error: incompatible integer to pointer conversion assigning to 'struct icssm_prueth_sw_fdb_work *' from 'int' [-Wint-conversion] 668 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/ti/icssm/icssm_prueth_switch.o] Error 1 make[7]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/ti/icssm/icssm_switchdev.c:170:19: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | switchdev_work = kzalloc_obj(*switchdev_work, GFP_ATOMIC); | ^ ../drivers/net/ethernet/ti/icssm/icssm_switchdev.c:170:17: error: incompatible integer to pointer conversion assigning to 'struct icssm_sw_event_work *' from 'int' [-Wint-conversion] 170 | switchdev_work = kzalloc_obj(*switchdev_work, GFP_ATOMIC); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[7]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/ti/icssm/icssm_switchdev.o] Error 1 make[6]: *** [../scripts/Makefile.build:544: drivers/net/ethernet/ti] Error 2 make[5]: *** [../scripts/Makefile.build:544: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:544: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:544: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2054: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.DuhhdqC0SO 2026-01-23 09:27:41.344527908 -0500 +++ /tmp/tmp.EVtyXYWyUE 2026-01-23 09:27:53.410445372 -0500 @@ -2,2 +2,2 @@ -../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:570:20: error: call to undeclared function 'kmalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 570 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); +../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:581:20: error: call to undeclared function 'kmalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 581 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); @@ -5,2 +5,2 @@ -../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:570:18: error: incompatible integer to pointer conversion assigning to 'struct fdb_tbl *' from 'int' [-Wint-conversion] - 570 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); +../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:581:18: error: incompatible integer to pointer conversion assigning to 'struct fdb_tbl *' from 'int' [-Wint-conversion] + 581 | prueth->fdb_tbl = kmalloc_obj(*prueth->fdb_tbl, GFP_KERNEL); @@ -8 +8,13 @@ -2 errors generated. +../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:649:13: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 649 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); + | ^ +../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:649:11: error: incompatible integer to pointer conversion assigning to 'struct icssm_prueth_sw_fdb_work *' from 'int' [-Wint-conversion] + 649 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:668:13: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 668 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); + | ^ +../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c:668:11: error: incompatible integer to pointer conversion assigning to 'struct icssm_prueth_sw_fdb_work *' from 'int' [-Wint-conversion] + 668 | fdb_work = kzalloc_obj(*fdb_work, GFP_ATOMIC); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. @@ -9,0 +22,9 @@ +make[7]: *** Waiting for unfinished jobs.... +../drivers/net/ethernet/ti/icssm/icssm_switchdev.c:170:19: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 170 | switchdev_work = kzalloc_obj(*switchdev_work, GFP_ATOMIC); + | ^ +../drivers/net/ethernet/ti/icssm/icssm_switchdev.c:170:17: error: incompatible integer to pointer conversion assigning to 'struct icssm_sw_event_work *' from 'int' [-Wint-conversion] + 170 | switchdev_work = kzalloc_obj(*switchdev_work, GFP_ATOMIC); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +2 errors generated. +make[7]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/ti/icssm/icssm_switchdev.o] Error 1 Per-file breakdown --- /tmp/tmp.oiSP0SbkY0 2026-01-23 09:27:53.415454167 -0500 +++ /tmp/tmp.6yZF6bMFlK 2026-01-23 09:27:53.416445331 -0500 @@ -1 +1,2 @@ - 2 ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c + 6 ../drivers/net/ethernet/ti/icssm/icssm_prueth_switch.c + 2 ../drivers/net/ethernet/ti/icssm/icssm_switchdev.c