../drivers/net/hamradio/baycom_ser_fdx.c:290:43: warning: dubious: x | !y ../drivers/net/hamradio/baycom_ser_hdx.c:193:19: warning: dubious: x | !y ../drivers/net/phy/phy_device.c: In function ‘of_phy_led’: ../drivers/net/phy/phy_device.c:3318:21: error: ‘total_led_count’ undeclared (first use in this function) 3318 | if (total_led_count != 1) | ^~~~~~~~~~~~~~~ ../drivers/net/phy/phy_device.c:3318:21: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/phy/phy_device.c:3299:13: warning: variable ‘led_count’ set but not used [-Wunused-but-set-variable] 3299 | int led_count; | ^~~~~~~~~ make[6]: *** [../scripts/Makefile.build:194: drivers/net/phy/phy_device.o] Error 1 make[5]: *** [../scripts/Makefile.build:440: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/net/phy/phy_device.c: In function ‘of_phy_led’: ../drivers/net/phy/phy_device.c:3318:21: error: ‘total_led_count’ undeclared (first use in this function) 3318 | if (total_led_count != 1) | ^~~~~~~~~~~~~~~ ../drivers/net/phy/phy_device.c:3318:21: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/phy/phy_device.c:3299:13: warning: variable ‘led_count’ set but not used [-Wunused-but-set-variable] 3299 | int led_count; | ^~~~~~~~~ make[6]: *** [../scripts/Makefile.build:194: drivers/net/phy/phy_device.o] Error 1 make[5]: *** [../scripts/Makefile.build:440: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.ytGjGc7ddM 2025-01-20 00:35:25.785355906 -0800 +++ /tmp/tmp.ahwWB5Oqu6 2025-01-20 00:35:39.244206677 -0800 @@ -0,0 +1,17 @@ +../drivers/net/phy/phy_device.c: In function ‘of_phy_led’: +../drivers/net/phy/phy_device.c:3318:21: error: ‘total_led_count’ undeclared (first use in this function) + 3318 | if (total_led_count != 1) + | ^~~~~~~~~~~~~~~ +../drivers/net/phy/phy_device.c:3318:21: note: each undeclared identifier is reported only once for each function it appears in +../drivers/net/phy/phy_device.c:3299:13: warning: variable ‘led_count’ set but not used [-Wunused-but-set-variable] + 3299 | int led_count; + | ^~~~~~~~~ +make[6]: *** [../scripts/Makefile.build:194: drivers/net/phy/phy_device.o] Error 1 +make[5]: *** [../scripts/Makefile.build:440: drivers/net/phy] Error 2 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1993: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.MJRity2PgL 2025-01-20 00:35:39.251206599 -0800 +++ /tmp/tmp.JNFpo1Nsck 2025-01-20 00:35:39.256206543 -0800 @@ -0,0 +1 @@ + 2 ../drivers/net/phy/phy_device.c