========== build_clang - FAILED In file included from ../drivers/net/usb/lan78xx.c:6: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: In file included from ../include/linux/skbuff.h:17: In file included from ../include/linux/bvec.h:10: In file included from ../include/linux/highmem.h:8: In file included from ../include/linux/cacheflush.h:5: In file included from ../arch/x86/include/asm/cacheflush.h:5: In file included from ../include/linux/mm.h:2224: ../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ ../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/lan78xx.c:2576:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 2576 | int ret; | ^ ../drivers/net/usb/lan78xx.c:4404:31: warning: variable 'phydev' is uninitialized when used here [-Wuninitialized] 4404 | if (phy_is_pseudo_fixed_link(phydev)) { | ^~~~~~ ../drivers/net/usb/lan78xx.c:4381:27: note: initialize the variable 'phydev' to silence this warning 4381 | struct phy_device *phydev; | ^ | = NULL 5 warnings generated. WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o In file included from ../drivers/net/usb/lan78xx.c:6: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: In file included from ../include/linux/skbuff.h:17: In file included from ../include/linux/bvec.h:10: In file included from ../include/linux/highmem.h:8: In file included from ../include/linux/cacheflush.h:5: In file included from ../arch/x86/include/asm/cacheflush.h:5: In file included from ../include/linux/mm.h:2224: ../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ ../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/lan78xx.c:2514:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^ 4 warnings generated. WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o In file included from ../drivers/net/usb/lan78xx.c:6: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: In file included from ../include/linux/skbuff.h:17: In file included from ../include/linux/bvec.h:10: In file included from ../include/linux/highmem.h:8: In file included from ../include/linux/cacheflush.h:5: In file included from ../arch/x86/include/asm/cacheflush.h:5: In file included from ../include/linux/mm.h:2224: ../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ ../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/lan78xx.c:2576:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 2576 | int ret; | ^ ../drivers/net/usb/lan78xx.c:4404:31: warning: variable 'phydev' is uninitialized when used here [-Wuninitialized] 4404 | if (phy_is_pseudo_fixed_link(phydev)) { | ^~~~~~ ../drivers/net/usb/lan78xx.c:4381:27: note: initialize the variable 'phydev' to silence this warning 4381 | struct phy_device *phydev; | ^ | = NULL 5 warnings generated. WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o New errors added --- /tmp/tmp.j1cNiavvsN 2025-01-08 04:42:02.543188227 -0800 +++ /tmp/tmp.IqIf3BZYxt 2025-01-08 04:43:08.941476931 -0800 @@ -22,2 +22,2 @@ -../drivers/net/usb/lan78xx.c:2514:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] - 2514 | int ret; +../drivers/net/usb/lan78xx.c:2576:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] + 2576 | int ret; @@ -25 +25,8 @@ -4 warnings generated. +../drivers/net/usb/lan78xx.c:4404:31: warning: variable 'phydev' is uninitialized when used here [-Wuninitialized] + 4404 | if (phy_is_pseudo_fixed_link(phydev)) { + | ^~~~~~ +../drivers/net/usb/lan78xx.c:4381:27: note: initialize the variable 'phydev' to silence this warning + 4381 | struct phy_device *phydev; + | ^ + | = NULL +5 warnings generated. Per-file breakdown --- /tmp/tmp.u2wJxdHDLv 2025-01-08 04:43:08.949476845 -0800 +++ /tmp/tmp.m9QCMYUplS 2025-01-08 04:43:08.951476823 -0800 @@ -1 +1 @@ - 1 ../drivers/net/usb/lan78xx.c + 3 ../drivers/net/usb/lan78xx.c