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: In function ‘ksz9477_port_setup’: ../drivers/net/dsa/microchip/ksz9477.c:1054:9: error: implicit declaration of function ‘ksz9477_handle_wake_reason’ [-Wimplicit-function-declaration] 1054 | ksz9477_handle_wake_reason(dev, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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: In function ‘ksz9477_get_wol’: ../drivers/net/dsa/microchip/ksz_common.c:3771:37: error: ‘REG_PORT_PME_CTRL’ undeclared (first use in this function) 3771 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl); | ^~~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3771:37: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/dsa/microchip/ksz_common.c:3775:24: error: ‘PME_WOL_MAGICPKT’ undeclared (first use in this function) 3775 | if (pme_ctrl & PME_WOL_MAGICPKT) | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3777:25: error: ‘PME_WOL_LINKUP’ undeclared (first use in this function) 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) | ^~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3777:42: error: ‘PME_WOL_ENERGY’ undeclared (first use in this function) 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) | ^~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_set_wol’: ../drivers/net/dsa/microchip/ksz_common.c:3820:15: error: implicit declaration of function ‘ksz9477_handle_wake_reason’ [-Wimplicit-function-declaration] 3820 | ret = ksz9477_handle_wake_reason(dev, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3825:29: error: ‘PME_WOL_MAGICPKT’ undeclared (first use in this function) 3825 | pme_ctrl |= PME_WOL_MAGICPKT; | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3827:29: error: ‘PME_WOL_LINKUP’ undeclared (first use in this function) 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; | ^~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3827:46: error: ‘PME_WOL_ENERGY’ undeclared (first use in this function) 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; | ^~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3829:37: error: ‘REG_PORT_PME_CTRL’ undeclared (first use in this function) 3829 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl_old); | ^~~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c: At top level: ../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:15: note: previous implicit declaration of ‘ksz9477_handle_wake_reason’ with type ‘int()’ 3820 | ret = ksz9477_handle_wake_reason(dev, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_handle_wake_reason’: ../drivers/net/dsa/microchip/ksz_common.c:3880:37: error: ‘REG_PORT_PME_STATUS’ undeclared (first use in this function); did you mean ‘REG_PORT_INT_STATUS’? 3880 | ret = ksz_pread8(dev, port, REG_PORT_PME_STATUS, &pme_status); | ^~~~~~~~~~~~~~~~~~~ | REG_PORT_INT_STATUS In file included from ../include/linux/printk.h:574, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:87, from ../include/linux/bug.h:5, from ../include/linux/fortify-string.h:6, from ../include/linux/string.h:374, 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 ../include/linux/sched.h:13, from ../include/linux/delay.h:23, from ../drivers/net/dsa/microchip/ksz_common.c:8: ../drivers/net/dsa/microchip/ksz_common.c:3888:30: error: ‘PME_WOL_MAGICPKT’ undeclared (first use in this function) 3888 | pme_status & PME_WOL_MAGICPKT ? " \"Magic Packet\"" : "", | ^~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ 224 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:273:9: note: in expansion of macro ‘_dynamic_func_call’ 273 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:165:9: note: in expansion of macro ‘dynamic_dev_dbg’ 165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3887:9: note: in expansion of macro ‘dev_dbg’ 3887 | dev_dbg(dev->dev, "Wake event on port %d due to:%s%s%s\n", port, | ^~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3889:30: error: ‘PME_WOL_LINKUP’ undeclared (first use in this function) 3889 | pme_status & PME_WOL_LINKUP ? " \"Link Up\"" : "", | ^~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ 224 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:273:9: note: in expansion of macro ‘_dynamic_func_call’ 273 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:165:9: note: in expansion of macro ‘dynamic_dev_dbg’ 165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3887:9: note: in expansion of macro ‘dev_dbg’ 3887 | dev_dbg(dev->dev, "Wake event on port %d due to:%s%s%s\n", port, | ^~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3890:30: error: ‘PME_WOL_ENERGY’ undeclared (first use in this function) 3890 | pme_status & PME_WOL_ENERGY ? " \"Energy detect\"" : ""); | ^~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ 224 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:273:9: note: in expansion of macro ‘_dynamic_func_call’ 273 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:165:9: note: in expansion of macro ‘dynamic_dev_dbg’ 165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3887:9: note: in expansion of macro ‘dev_dbg’ 3887 | dev_dbg(dev->dev, "Wake event on port %d due to:%s%s%s\n", port, | ^~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_wol_pre_shutdown’: ../drivers/net/dsa/microchip/ksz_common.c:3920:50: error: ‘REG_PORT_PME_CTRL’ undeclared (first use in this function) 3920 | ret = ksz_pread8(dev, dp->index, REG_PORT_PME_CTRL, &pme_ctrl); | ^~~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3932:33: error: ‘REG_SW_PME_CTRL’ undeclared (first use in this function) 3932 | ksz_write8(dev, REG_SW_PME_CTRL, PME_ENABLE); | ^~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz_common.c:3932:50: error: ‘PME_ENABLE’ undeclared (first use in this function); did you mean ‘UMH_ENABLED’? 3932 | ksz_write8(dev, REG_SW_PME_CTRL, PME_ENABLE); | ^~~~~~~~~~ | UMH_ENABLED ../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_handle_wake_reason’: ../drivers/net/dsa/microchip/ksz_common.c:3893:1: error: control reaches end of non-void function [-Werror=return-type] 3893 | } | ^ cc1: some warnings being treated as errors 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_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.wWS16fhv53 2024-07-31 07:21:52.836809317 -0700 +++ /tmp/tmp.zkyrqrQdMd 2024-07-31 07:22:46.626966298 -0700 @@ -8,139 +8,35 @@ -../drivers/net/dsa/microchip/ksz9477.c: In function ‘ksz9477_port_setup’: -../drivers/net/dsa/microchip/ksz9477.c:1054:9: error: implicit declaration of function ‘ksz9477_handle_wake_reason’ [-Wimplicit-function-declaration] - 1054 | ksz9477_handle_wake_reason(dev, port); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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: In function ‘ksz9477_get_wol’: -../drivers/net/dsa/microchip/ksz_common.c:3771:37: error: ‘REG_PORT_PME_CTRL’ undeclared (first use in this function) - 3771 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl); - | ^~~~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3771:37: note: each undeclared identifier is reported only once for each function it appears in -../drivers/net/dsa/microchip/ksz_common.c:3775:24: error: ‘PME_WOL_MAGICPKT’ undeclared (first use in this function) - 3775 | if (pme_ctrl & PME_WOL_MAGICPKT) - | ^~~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3777:25: error: ‘PME_WOL_LINKUP’ undeclared (first use in this function) - 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) - | ^~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3777:42: error: ‘PME_WOL_ENERGY’ undeclared (first use in this function) - 3777 | if (pme_ctrl & (PME_WOL_LINKUP | PME_WOL_ENERGY)) - | ^~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_set_wol’: -../drivers/net/dsa/microchip/ksz_common.c:3820:15: error: implicit declaration of function ‘ksz9477_handle_wake_reason’ [-Wimplicit-function-declaration] - 3820 | ret = ksz9477_handle_wake_reason(dev, port); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3825:29: error: ‘PME_WOL_MAGICPKT’ undeclared (first use in this function) - 3825 | pme_ctrl |= PME_WOL_MAGICPKT; - | ^~~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3827:29: error: ‘PME_WOL_LINKUP’ undeclared (first use in this function) - 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; - | ^~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3827:46: error: ‘PME_WOL_ENERGY’ undeclared (first use in this function) - 3827 | pme_ctrl |= PME_WOL_LINKUP | PME_WOL_ENERGY; - | ^~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3829:37: error: ‘REG_PORT_PME_CTRL’ undeclared (first use in this function) - 3829 | ret = ksz_pread8(dev, port, REG_PORT_PME_CTRL, &pme_ctrl_old); - | ^~~~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c: At top level: -../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:15: note: previous implicit declaration of ‘ksz9477_handle_wake_reason’ with type ‘int()’ - 3820 | ret = ksz9477_handle_wake_reason(dev, port); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_handle_wake_reason’: -../drivers/net/dsa/microchip/ksz_common.c:3880:37: error: ‘REG_PORT_PME_STATUS’ undeclared (first use in this function); did you mean ‘REG_PORT_INT_STATUS’? - 3880 | ret = ksz_pread8(dev, port, REG_PORT_PME_STATUS, &pme_status); - | ^~~~~~~~~~~~~~~~~~~ - | REG_PORT_INT_STATUS -In file included from ../include/linux/printk.h:574, - from ../include/asm-generic/bug.h:22, - from ../arch/x86/include/asm/bug.h:87, - from ../include/linux/bug.h:5, - from ../include/linux/fortify-string.h:6, - from ../include/linux/string.h:374, - 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 ../include/linux/sched.h:13, - from ../include/linux/delay.h:23, - from ../drivers/net/dsa/microchip/ksz_common.c:8: -../drivers/net/dsa/microchip/ksz_common.c:3888:30: error: ‘PME_WOL_MAGICPKT’ undeclared (first use in this function) - 3888 | pme_status & PME_WOL_MAGICPKT ? " \"Magic Packet\"" : "", - | ^~~~~~~~~~~~~~~~ -../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ - 224 | func(&id, ##__VA_ARGS__); \ - | ^~~~~~~~~~~ -../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ - 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -../include/linux/dynamic_debug.h:273:9: note: in expansion of macro ‘_dynamic_func_call’ - 273 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \ - | ^~~~~~~~~~~~~~~~~~ -../include/linux/dev_printk.h:165:9: note: in expansion of macro ‘dynamic_dev_dbg’ - 165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3887:9: note: in expansion of macro ‘dev_dbg’ - 3887 | dev_dbg(dev->dev, "Wake event on port %d due to:%s%s%s\n", port, - | ^~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3889:30: error: ‘PME_WOL_LINKUP’ undeclared (first use in this function) - 3889 | pme_status & PME_WOL_LINKUP ? " \"Link Up\"" : "", - | ^~~~~~~~~~~~~~ -../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ - 224 | func(&id, ##__VA_ARGS__); \ - | ^~~~~~~~~~~ -../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ - 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -../include/linux/dynamic_debug.h:273:9: note: in expansion of macro ‘_dynamic_func_call’ - 273 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \ - | ^~~~~~~~~~~~~~~~~~ -../include/linux/dev_printk.h:165:9: note: in expansion of macro ‘dynamic_dev_dbg’ - 165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3887:9: note: in expansion of macro ‘dev_dbg’ - 3887 | dev_dbg(dev->dev, "Wake event on port %d due to:%s%s%s\n", port, - | ^~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3890:30: error: ‘PME_WOL_ENERGY’ undeclared (first use in this function) - 3890 | pme_status & PME_WOL_ENERGY ? " \"Energy detect\"" : ""); - | ^~~~~~~~~~~~~~ -../include/linux/dynamic_debug.h:224:29: note: in definition of macro ‘__dynamic_func_call_cls’ - 224 | func(&id, ##__VA_ARGS__); \ - | ^~~~~~~~~~~ -../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ - 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -../include/linux/dynamic_debug.h:273:9: note: in expansion of macro ‘_dynamic_func_call’ - 273 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \ - | ^~~~~~~~~~~~~~~~~~ -../include/linux/dev_printk.h:165:9: note: in expansion of macro ‘dynamic_dev_dbg’ - 165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) - | ^~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3887:9: note: in expansion of macro ‘dev_dbg’ - 3887 | dev_dbg(dev->dev, "Wake event on port %d due to:%s%s%s\n", port, - | ^~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_wol_pre_shutdown’: -../drivers/net/dsa/microchip/ksz_common.c:3920:50: error: ‘REG_PORT_PME_CTRL’ undeclared (first use in this function) - 3920 | ret = ksz_pread8(dev, dp->index, REG_PORT_PME_CTRL, &pme_ctrl); - | ^~~~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3932:33: error: ‘REG_SW_PME_CTRL’ undeclared (first use in this function) - 3932 | ksz_write8(dev, REG_SW_PME_CTRL, PME_ENABLE); - | ^~~~~~~~~~~~~~~ -../drivers/net/dsa/microchip/ksz_common.c:3932:50: error: ‘PME_ENABLE’ undeclared (first use in this function); did you mean ‘UMH_ENABLED’? - 3932 | ksz_write8(dev, REG_SW_PME_CTRL, PME_ENABLE); - | ^~~~~~~~~~ - | UMH_ENABLED -../drivers/net/dsa/microchip/ksz_common.c: In function ‘ksz9477_handle_wake_reason’: -../drivers/net/dsa/microchip/ksz_common.c:3893:1: error: control reaches end of non-void function [-Werror=return-type] - 3893 | } - | ^ -cc1: some warnings being treated as errors -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_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.sAE7Idrywn 2024-07-31 07:22:46.635966491 -0700 +++ /tmp/tmp.uSjhiEUekT 2024-07-31 07:22:46.636966513 -0700 @@ -1,2 +0,0 @@ - 1 ../drivers/net/dsa/microchip/ksz9477.c - 18 ../drivers/net/dsa/microchip/ksz_common.c