.pylintrc: warning: ignored by one of the .gitignore files .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/cadence/macb_main.c: In function ‘macb_taprio_setup_replace’: ../drivers/net/ethernet/cadence/macb_main.c:4108:62: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 4108 | netdev_err(ndev, "Too many TAPRIO entries: %lu > %d queues\n", | ~~^ | | | long unsigned int | %u 4109 | conf->num_entries, bp->num_queues); | ~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} In file included from ../include/linux/printk.h:616, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:103, from ../arch/x86/include/asm/alternative.h:9, from ../arch/x86/include/asm/barrier.h:5, from ../include/asm-generic/bitops/generic-non-atomic.h:7, from ../include/linux/bitops.h:28, from ../include/linux/kernel.h:23, from ../include/linux/clk.h:13, from ../drivers/net/ethernet/cadence/macb_main.c:9: ../drivers/net/ethernet/cadence/macb_main.c:4211:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 4211 | netdev_dbg(ndev, "TAPRIO setup: %lu entries, base_time=%lld ns, cycle_time=%llu ns\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4212 | conf->num_entries, conf->base_time, conf->cycle_time); | ~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ 224 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:277:9: note: in expansion of macro ‘_dynamic_func_call’ 277 | _dynamic_func_call(fmt, __dynamic_netdev_dbg, \ | ^~~~~~~~~~~~~~~~~~ ../include/net/net_debug.h:57:9: note: in expansion of macro ‘dynamic_netdev_dbg’ 57 | dynamic_netdev_dbg(__dev, format, ##args); \ | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c:4211:9: note: in expansion of macro ‘netdev_dbg’ 4211 | netdev_dbg(ndev, "TAPRIO setup: %lu entries, base_time=%lld ns, cycle_time=%llu ns\n", | ^~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c:4211:43: note: format string is defined here 4211 | netdev_dbg(ndev, "TAPRIO setup: %lu entries, base_time=%lld ns, cycle_time=%llu ns\n", | ~~^ | | | long unsigned int | %u ../drivers/net/ethernet/cadence/macb_main.c:4234:75: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 4234 | netdev_info(ndev, "TAPRIO configuration completed successfully: %lu entries, %d queues configured\n", | ~~^ | | | long unsigned int | %u 4235 | conf->num_entries, hweight32(configured_queues)); | ~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../drivers/net/ethernet/cadence/macb_main.c: At top level: ../drivers/net/ethernet/cadence/macb_main.c:4088:12: warning: ‘macb_taprio_setup_replace’ defined but not used [-Wunused-function] 4088 | static int macb_taprio_setup_replace(struct net_device *ndev, | ^~~~~~~~~~~~~~~~~~~~~~~~~ New errors added --- /tmp/tmp.vvaDV8V4rh 2025-07-22 11:44:03.674679583 -0700 +++ /tmp/tmp.bBCHnkA0MH 2025-07-22 11:44:54.285042761 -0700 @@ -1,0 +2,63 @@ +../drivers/net/ethernet/cadence/macb_main.c: In function ‘macb_taprio_setup_replace’: +../drivers/net/ethernet/cadence/macb_main.c:4108:62: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] + 4108 | netdev_err(ndev, "Too many TAPRIO entries: %lu > %d queues\n", + | ~~^ + | | + | long unsigned int + | %u + 4109 | conf->num_entries, bp->num_queues); + | ~~~~~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +In file included from ../include/linux/printk.h:616, + from ../include/asm-generic/bug.h:22, + from ../arch/x86/include/asm/bug.h:103, + from ../arch/x86/include/asm/alternative.h:9, + from ../arch/x86/include/asm/barrier.h:5, + from ../include/asm-generic/bitops/generic-non-atomic.h:7, + from ../include/linux/bitops.h:28, + from ../include/linux/kernel.h:23, + from ../include/linux/clk.h:13, + from ../drivers/net/ethernet/cadence/macb_main.c:9: +../drivers/net/ethernet/cadence/macb_main.c:4211:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] + 4211 | netdev_dbg(ndev, "TAPRIO setup: %lu entries, base_time=%lld ns, cycle_time=%llu ns\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 4212 | conf->num_entries, conf->base_time, conf->cycle_time); + | ~~~~~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ + 224 | func(&id, ##__VA_ARGS__); \ + | ^~~~~~~~~~~ +../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ + 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/dynamic_debug.h:277:9: note: in expansion of macro ‘_dynamic_func_call’ + 277 | _dynamic_func_call(fmt, __dynamic_netdev_dbg, \ + | ^~~~~~~~~~~~~~~~~~ +../include/net/net_debug.h:57:9: note: in expansion of macro ‘dynamic_netdev_dbg’ + 57 | dynamic_netdev_dbg(__dev, format, ##args); \ + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/cadence/macb_main.c:4211:9: note: in expansion of macro ‘netdev_dbg’ + 4211 | netdev_dbg(ndev, "TAPRIO setup: %lu entries, base_time=%lld ns, cycle_time=%llu ns\n", + | ^~~~~~~~~~ +../drivers/net/ethernet/cadence/macb_main.c:4211:43: note: format string is defined here + 4211 | netdev_dbg(ndev, "TAPRIO setup: %lu entries, base_time=%lld ns, cycle_time=%llu ns\n", + | ~~^ + | | + | long unsigned int + | %u +../drivers/net/ethernet/cadence/macb_main.c:4234:75: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] + 4234 | netdev_info(ndev, "TAPRIO configuration completed successfully: %lu entries, %d queues configured\n", + | ~~^ + | | + | long unsigned int + | %u + 4235 | conf->num_entries, hweight32(configured_queues)); + | ~~~~~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +../drivers/net/ethernet/cadence/macb_main.c: At top level: +../drivers/net/ethernet/cadence/macb_main.c:4088:12: warning: ‘macb_taprio_setup_replace’ defined but not used [-Wunused-function] + 4088 | static int macb_taprio_setup_replace(struct net_device *ndev, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ Per-file breakdown --- /tmp/tmp.EvM9jbPCYq 2025-07-22 11:44:54.290314657 -0700 +++ /tmp/tmp.y5dQuLQ1Rk 2025-07-22 11:44:54.293314640 -0700 @@ -0,0 +1 @@ + 4 ../drivers/net/ethernet/cadence/macb_main.c