========== build_clang - FAILED tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../drivers/net/dsa/microchip/ksz9477.c:1054:2: error: call to undeclared function 'ksz9477_handle_wake_reason'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1054 | ksz9477_handle_wake_reason(dev, port); | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/microchip/ksz9477.o] Error 1 make[7]: *** Waiting for unfinished jobs.... ../drivers/net/dsa/microchip/ksz_common.c:3771:30: error: use of undeclared identifier 'REG_PORT_PME_CTRL' 3771 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3775:17: error: use of undeclared identifier 'PME_WOL_MAGICPKT' 3775 | if (pme_ctrl & PME_WOL_MAGICPKT) | ^ ../drivers/net/dsa/microchip/ksz_common.c:3777:18: error: use of undeclared identifier 'PME_WOL_LINKUP' 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) | ^ ../drivers/net/dsa/microchip/ksz_common.c:3777:35: error: use of undeclared identifier 'PME_WOL_ENERGY' 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) | ^ ../drivers/net/dsa/microchip/ksz_common.c:3820:8: error: call to undeclared function 'ksz9477_handle_wake_reason'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3820 | ret = ksz9477_handle_wake_reason(dev, port); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3825:15: error: use of undeclared identifier 'PME_WOL_MAGICPKT' 3825 | pme_ctrl |= PME_WOL_MAGICPKT; | ^ ../drivers/net/dsa/microchip/ksz_common.c:3827:15: error: use of undeclared identifier 'PME_WOL_LINKUP' 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; | ^ ../drivers/net/dsa/microchip/ksz_common.c:3827:32: error: use of undeclared identifier 'PME_WOL_ENERGY' 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; | ^ ../drivers/net/dsa/microchip/ksz_common.c:3829:30: error: use of undeclared identifier 'REG_PORT_PME_CTRL' 3829 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl_old); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3836:39: error: use of undeclared identifier 'PME_WOL_MAGICPKT' 3836 | magic_switched_off = (pme_ctrl_old & PME_WOL_MAGICPKT) && | ^ ../drivers/net/dsa/microchip/ksz_common.c:3837:21: error: use of undeclared identifier 'PME_WOL_MAGICPKT' 3837 | !(pme_ctrl & PME_WOL_MAGICPKT); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3838:39: error: use of undeclared identifier 'PME_WOL_MAGICPKT' 3838 | magic_switched_on = !(pme_ctrl_old & PME_WOL_MAGICPKT) && | ^ ../drivers/net/dsa/microchip/ksz_common.c:3839:20: error: use of undeclared identifier 'PME_WOL_MAGICPKT' 3839 | (pme_ctrl & PME_WOL_MAGICPKT); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3852:31: error: use of undeclared identifier 'REG_PORT_PME_CTRL' 3852 | ret = ksz_pwrite8(dev, port, REG_PORT_PME_CTRL, pme_ctrl); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3875:12: error: static declaration of 'ksz9477_handle_wake_reason' follows non-static declaration 3875 | static int ksz9477_handle_wake_reason(struct ksz_device *dev, int port) | ^ ../drivers/net/dsa/microchip/ksz_common.c:3820:8: note: previous implicit declaration is here 3820 | ret = ksz9477_handle_wake_reason(dev, port); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3880:30: error: use of undeclared identifier 'REG_PORT_PME_STATUS' 3880 | ret = ksz_pread8(dev, port, REG_PORT_PME_STATUS, &pme_status); | ^ ../drivers/net/dsa/microchip/ksz_common.c:3888:16: error: use of undeclared identifier 'PME_WOL_MAGICPKT' 3888 | pme_status & PME_WOL_MAGICPKT ? " \"Magic Packet\"" : "", | ^ ../drivers/net/dsa/microchip/ksz_common.c:3889:16: error: use of undeclared identifier 'PME_WOL_LINKUP' 3889 | pme_status & PME_WOL_LINKUP ? " \"Link Up\"" : "", | ^ ../drivers/net/dsa/microchip/ksz_common.c:3890:16: error: use of undeclared identifier 'PME_WOL_ENERGY' 3890 | pme_status & PME_WOL_ENERGY ? " \"Energy detect\"" : ""); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/microchip/ksz_common.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/microchip] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1926: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8data.o WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8-selftest.o WARNING: modpost: missing MODULE_DESCRIPTION() in security/apparmor/apparmor_policy_unpack_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/find_bit_benchmark.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/cpumask_kunit.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bitmap.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/core/cxl_core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pci.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_mem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_acpi.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_port.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/hd44780_common.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/line-display.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/ch341.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/qcaux.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o New errors added --- /tmp/tmp.9EfcHLnKHq 2024-07-31 07:31:01.981620879 -0700 +++ /tmp/tmp.JaTVFxAGg3 2024-07-31 07:31:39.344424515 -0700 @@ -8,77 +8,36 @@ -../drivers/net/dsa/microchip/ksz9477.c:1054:2: error: call to undeclared function 'ksz9477_handle_wake_reason'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 1054 | ksz9477_handle_wake_reason(dev, port); - | ^ -1 error generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/microchip/ksz9477.o] Error 1 -make[7]: *** Waiting for unfinished jobs.... -../drivers/net/dsa/microchip/ksz_common.c:3771:30: error: use of undeclared identifier 'REG_PORT_PME_CTRL' - 3771 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3775:17: error: use of undeclared identifier 'PME_WOL_MAGICPKT' - 3775 | if (pme_ctrl & PME_WOL_MAGICPKT) - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3777:18: error: use of undeclared identifier 'PME_WOL_LINKUP' - 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3777:35: error: use of undeclared identifier 'PME_WOL_ENERGY' - 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3820:8: error: call to undeclared function 'ksz9477_handle_wake_reason'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 3820 | ret = ksz9477_handle_wake_reason(dev, port); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3825:15: error: use of undeclared identifier 'PME_WOL_MAGICPKT' - 3825 | pme_ctrl |= PME_WOL_MAGICPKT; - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3827:15: error: use of undeclared identifier 'PME_WOL_LINKUP' - 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3827:32: error: use of undeclared identifier 'PME_WOL_ENERGY' - 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3829:30: error: use of undeclared identifier 'REG_PORT_PME_CTRL' - 3829 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl_old); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3836:39: error: use of undeclared identifier 'PME_WOL_MAGICPKT' - 3836 | magic_switched_off = (pme_ctrl_old & PME_WOL_MAGICPKT) && - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3837:21: error: use of undeclared identifier 'PME_WOL_MAGICPKT' - 3837 | !(pme_ctrl & PME_WOL_MAGICPKT); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3838:39: error: use of undeclared identifier 'PME_WOL_MAGICPKT' - 3838 | magic_switched_on = !(pme_ctrl_old & PME_WOL_MAGICPKT) && - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3839:20: error: use of undeclared identifier 'PME_WOL_MAGICPKT' - 3839 | (pme_ctrl & PME_WOL_MAGICPKT); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3852:31: error: use of undeclared identifier 'REG_PORT_PME_CTRL' - 3852 | ret = ksz_pwrite8(dev, port, REG_PORT_PME_CTRL, pme_ctrl); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3875:12: error: static declaration of 'ksz9477_handle_wake_reason' follows non-static declaration - 3875 | static int ksz9477_handle_wake_reason(struct ksz_device *dev, int port) - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3820:8: note: previous implicit declaration is here - 3820 | ret = ksz9477_handle_wake_reason(dev, port); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3880:30: error: use of undeclared identifier 'REG_PORT_PME_STATUS' - 3880 | ret = ksz_pread8(dev, port, REG_PORT_PME_STATUS, &pme_status); - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3888:16: error: use of undeclared identifier 'PME_WOL_MAGICPKT' - 3888 | pme_status & PME_WOL_MAGICPKT ? " \"Magic Packet\"" : "", - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3889:16: error: use of undeclared identifier 'PME_WOL_LINKUP' - 3889 | pme_status & PME_WOL_LINKUP ? " \"Link Up\"" : "", - | ^ -../drivers/net/dsa/microchip/ksz_common.c:3890:16: error: use of undeclared identifier 'PME_WOL_ENERGY' - 3890 | pme_status & PME_WOL_ENERGY ? " \"Energy detect\"" : ""); - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/microchip/ksz_common.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/microchip] Error 2 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 -make[4]: *** Waiting for unfinished jobs.... -make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 -make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1926: .] Error 2 -make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 -make: *** [Makefile:224: __sub-make] Error 2 +WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o +WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o +WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8data.o +WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8-selftest.o +WARNING: modpost: missing MODULE_DESCRIPTION() in security/apparmor/apparmor_policy_unpack_test.o +WARNING: modpost: missing MODULE_DESCRIPTION() in lib/find_bit_benchmark.o +WARNING: modpost: missing MODULE_DESCRIPTION() in lib/cpumask_kunit.o +WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bitmap.o +WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/core/cxl_core.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pci.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_mem.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_acpi.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pmem.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_port.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/hd44780_common.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/auxdisplay/line-display.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/ch341.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/qcaux.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o +WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o Per-file breakdown --- /tmp/tmp.6A3TxPeTYU 2024-07-31 07:32:07.987040589 -0700 +++ /tmp/tmp.6qd2iHHQhh 2024-07-31 07:32:07.988040610 -0700 @@ -1,2 +0,0 @@ - 1 ../drivers/net/dsa/microchip/ksz9477.c - 19 ../drivers/net/dsa/microchip/ksz_common.c