In file included from ../include/linux/bitops.h:7, from ../include/linux/kernel.h:23, from ../include/linux/cpumask.h:11, from ../include/linux/alloc_tag.h:13, from ../include/linux/percpu.h:5, from ../include/linux/context_tracking_state.h:5, from ../include/linux/hardirq.h:5, from ../drivers/net/ethernet/ti/tlan.c:32: ../drivers/net/ethernet/ti/tlan.c: In function ‘tlan_timer’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/jiffies.h:149:10: note: in expansion of macro ‘typecheck’ 149 | typecheck(unsigned long, b) && \ | ^~~~~~~~~ ../include/linux/jiffies.h:292:38: note: in expansion of macro ‘time_after_eq’ 292 | #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) | ^~~~~~~~~~~~~ ../drivers/net/ethernet/ti/tlan.c:1846:29: note: in expansion of macro ‘time_is_before_eq_jiffies’ 1846 | if (time_is_before_eq_jiffies(priv->timer_set_at + TLAN_TIMER_ACT_DELAY)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/tlan.c:1846:29: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/ti/tlan.c:1846:29: unsigned long * ../drivers/net/ethernet/ti/tlan.c:1846:29: unsigned int * In file included from ../include/linux/bitops.h:7, from ../include/linux/kernel.h:23, from ../include/linux/cpumask.h:11, from ../include/linux/alloc_tag.h:13, from ../include/linux/percpu.h:5, from ../include/linux/context_tracking_state.h:5, from ../include/linux/hardirq.h:5, from ../drivers/net/ethernet/ti/tlan.c:32: ../drivers/net/ethernet/ti/tlan.c: In function ‘tlan_timer’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/jiffies.h:149:10: note: in expansion of macro ‘typecheck’ 149 | typecheck(unsigned long, b) && \ | ^~~~~~~~~ ../include/linux/jiffies.h:292:38: note: in expansion of macro ‘time_after_eq’ 292 | #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) | ^~~~~~~~~~~~~ ../drivers/net/ethernet/ti/tlan.c:1846:29: note: in expansion of macro ‘time_is_before_eq_jiffies’ 1846 | if (time_is_before_eq_jiffies(priv->timer_set_at + TLAN_TIMER_ACT_DELAY)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/tlan.c:1846:29: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/ti/tlan.c:1846:29: unsigned long * ../drivers/net/ethernet/ti/tlan.c:1846:29: unsigned int * New errors added --- /tmp/tmp.5vODMnGEyl 2025-08-27 01:14:29.772602841 -0700 +++ /tmp/tmp.HtY6XMB5Np 2025-08-27 01:15:41.469817770 -0700 @@ -0,0 +1,24 @@ +In file included from ../include/linux/bitops.h:7, + from ../include/linux/kernel.h:23, + from ../include/linux/cpumask.h:11, + from ../include/linux/alloc_tag.h:13, + from ../include/linux/percpu.h:5, + from ../include/linux/context_tracking_state.h:5, + from ../include/linux/hardirq.h:5, + from ../drivers/net/ethernet/ti/tlan.c:32: +../drivers/net/ethernet/ti/tlan.c: In function ‘tlan_timer’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/jiffies.h:149:10: note: in expansion of macro ‘typecheck’ + 149 | typecheck(unsigned long, b) && \ + | ^~~~~~~~~ +../include/linux/jiffies.h:292:38: note: in expansion of macro ‘time_after_eq’ + 292 | #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) + | ^~~~~~~~~~~~~ +../drivers/net/ethernet/ti/tlan.c:1846:29: note: in expansion of macro ‘time_is_before_eq_jiffies’ + 1846 | if (time_is_before_eq_jiffies(priv->timer_set_at + TLAN_TIMER_ACT_DELAY)) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/ti/tlan.c:1846:29: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/ti/tlan.c:1846:29: unsigned long * +../drivers/net/ethernet/ti/tlan.c:1846:29: unsigned int * Per-file breakdown --- /tmp/tmp.OuaMxCb3DM 2025-08-27 01:15:41.474963664 -0700 +++ /tmp/tmp.pn004dPoPY 2025-08-27 01:15:41.478266690 -0700 @@ -0,0 +1,2 @@ + 1 ../drivers/net/ethernet/ti/tlan.c + 1 ../include/linux/typecheck.h