../net/ipv4/icmp.c: note: in included file (through ../include/linux/spinlock.h, ../include/linux/sched.h, ../include/linux/percpu.h, ../arch/x86/include/asm/msr.h, ../arch/x86/include/asm/tsc.h, ...): ../include/linux/bottom_half.h:33:30: warning: context imbalance in 'icmp_reply' - different lock contexts for basic block ../include/linux/bottom_half.h:33:30: warning: context imbalance in '__icmp_send' - different lock contexts for basic block ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/ipv4/icmp.c: In function ‘icmp_reply’: ../net/ipv4/icmp.c:408:27: warning: variable ‘inet’ set but not used [-Wunused-but-set-variable] 408 | struct inet_sock *inet; | ^~~~ ../net/ipv4/icmp.c: note: in included file (through ../include/linux/spinlock.h, ../include/linux/sched.h, ../include/linux/percpu.h, ../arch/x86/include/asm/msr.h, ../arch/x86/include/asm/tsc.h, ...): ../include/linux/bottom_half.h:33:30: warning: context imbalance in 'icmp_reply' - different lock contexts for basic block ../include/linux/bottom_half.h:33:30: warning: context imbalance in '__icmp_send' - different lock contexts for basic block ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.ph9hTz1Jhy 2025-02-06 13:29:00.138335163 -0800 +++ /tmp/tmp.Lcsppsmomr 2025-02-06 13:30:41.288255718 -0800 @@ -0,0 +1,4 @@ +../net/ipv4/icmp.c: In function ‘icmp_reply’: +../net/ipv4/icmp.c:408:27: warning: variable ‘inet’ set but not used [-Wunused-but-set-variable] + 408 | struct inet_sock *inet; + | ^~~~ Per-file breakdown --- /tmp/tmp.4PT9UaEjR2 2025-02-06 13:30:41.297255621 -0800 +++ /tmp/tmp.Cdd64rYKM2 2025-02-06 13:30:41.299255600 -0800 @@ -1,0 +2 @@ + 1 ../net/ipv4/icmp.c