../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/bug.h:5, from ../include/linux/fortify-string.h:6, from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/netfilter/ipvs/ip_vs_ctl.c:19: ../net/netfilter/ipvs/ip_vs_ctl.c: In function ‘do_ip_vs_get_ctl’: ../include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ ../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ ../net/netfilter/ipvs/ip_vs_ctl.c:3099:25: note: in expansion of macro ‘pr_err’ 3099 | pr_err("length: %u != %lu\n", *len, size); | ^~~~~~ ../include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ ../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ ../net/netfilter/ipvs/ip_vs_ctl.c:3140:25: note: in expansion of macro ‘pr_err’ 3140 | pr_err("length: %u != %lu\n", *len, size); | ^~~~~~ In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/bug.h:5, from ../include/linux/fortify-string.h:6, from ../include/linux/string.h:392, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/netfilter/ipvs/ip_vs_ctl.c:19: ../net/netfilter/ipvs/ip_vs_ctl.c: In function ‘do_ip_vs_get_ctl’: ../include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ ../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ ../net/netfilter/ipvs/ip_vs_ctl.c:3099:25: note: in expansion of macro ‘pr_err’ 3099 | pr_err("length: %u != %lu\n", *len, size); | ^~~~~~ ../include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ ../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ ../net/netfilter/ipvs/ip_vs_ctl.c:3140:25: note: in expansion of macro ‘pr_err’ 3140 | pr_err("length: %u != %lu\n", *len, size); | ^~~~~~ New errors added --- /tmp/tmp.6YJkSxSldf 2025-03-07 05:49:33.505508952 -0800 +++ /tmp/tmp.io4oTkuwvS 2025-03-07 05:50:25.463979249 -0800 @@ -0,0 +1,52 @@ +In file included from ../include/asm-generic/bug.h:22, + from ../arch/x86/include/asm/bug.h:99, + from ../include/linux/bug.h:5, + from ../include/linux/fortify-string.h:6, + from ../include/linux/string.h:392, + from ../arch/x86/include/asm/page_32.h:18, + from ../arch/x86/include/asm/page.h:14, + from ../arch/x86/include/asm/processor.h:20, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../net/netfilter/ipvs/ip_vs_ctl.c:19: +../net/netfilter/ipvs/ip_vs_ctl.c: In function ‘do_ip_vs_get_ctl’: +../include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] + 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ + | ^~~~~~ +../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ + 473 | _p_func(_fmt, ##__VA_ARGS__); \ + | ^~~~ +../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ + 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~ +../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ + 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ + | ^~~~~~~~ +../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ + 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~~ +../net/netfilter/ipvs/ip_vs_ctl.c:3099:25: note: in expansion of macro ‘pr_err’ + 3099 | pr_err("length: %u != %lu\n", *len, size); + | ^~~~~~ +../include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] + 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ + | ^~~~~~ +../include/linux/printk.h:473:25: note: in definition of macro ‘printk_index_wrap’ + 473 | _p_func(_fmt, ##__VA_ARGS__); \ + | ^~~~ +../include/linux/printk.h:544:9: note: in expansion of macro ‘printk’ + 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~ +../include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’ + 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ + | ^~~~~~~~ +../include/linux/printk.h:544:16: note: in expansion of macro ‘KERN_ERR’ + 544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~~ +../net/netfilter/ipvs/ip_vs_ctl.c:3140:25: note: in expansion of macro ‘pr_err’ + 3140 | pr_err("length: %u != %lu\n", *len, size); + | ^~~~~~ Per-file breakdown --- /tmp/tmp.0zD2LgRrlA 2025-03-07 05:50:25.470979178 -0800 +++ /tmp/tmp.dKvu6BYaeR 2025-03-07 05:50:25.473979147 -0800 @@ -0,0 +1 @@ + 2 ../include/linux/kern_levels.h