../drivers/acpi/property.c:1680:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/acpi/property.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/net/pcs/pcs-xilinx.c:295:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions] 295 | } | ^ ../drivers/net/pcs/pcs-xilinx.c:403:25: error: use of undeclared identifier 'xilinx_timer_of_match'; did you mean 'xilinx_pcs_of_match'? 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ | xilinx_pcs_of_match ../include/linux/module.h:250:15: note: expanded from macro 'MODULE_DEVICE_TABLE' 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^ ../drivers/net/pcs/pcs-xilinx.c:399:34: note: 'xilinx_pcs_of_match' declared here 399 | static const struct of_device_id xilinx_pcs_of_match[] = { | ^ ../drivers/net/pcs/pcs-xilinx.c:458:21: error: redefinition of 'axienet_xilinx_pcs_get' 458 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, | ^ ../include/linux/pcs-xilinx.h:30:1: note: previous definition is here 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^ 1 warning and 2 errors generated. make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/acpi/property.c:1680:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/acpi/property.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/acpi/property.c:1680:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: error: incompatible function pointer types initializing 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' with an expression of type 'int (const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Wincompatible-function-pointer-types] 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:25: note: expanded from macro 'DECLARE_ACPI_FWNODE_OPS' 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:207: drivers/acpi/property.o] Error 1 make[4]: *** [../scripts/Makefile.build:465: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/net/pcs/pcs-xilinx.c:295:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions] 295 | } | ^ ../drivers/net/pcs/pcs-xilinx.c:403:25: error: use of undeclared identifier 'xilinx_timer_of_match'; did you mean 'xilinx_pcs_of_match'? 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ | xilinx_pcs_of_match ../include/linux/module.h:250:15: note: expanded from macro 'MODULE_DEVICE_TABLE' 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^ ../drivers/net/pcs/pcs-xilinx.c:399:34: note: 'xilinx_pcs_of_match' declared here 399 | static const struct of_device_id xilinx_pcs_of_match[] = { | ^ ../drivers/net/pcs/pcs-xilinx.c:458:21: error: redefinition of 'axienet_xilinx_pcs_get' 458 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, | ^ ../include/linux/pcs-xilinx.h:30:1: note: previous definition is here 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^ 1 warning and 2 errors generated. make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1997: .] 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.APhsAxpPc7 2025-04-08 05:35:42.650355131 -0700 +++ /tmp/tmp.eyi3yz47Qu 2025-04-08 05:36:22.459448889 -0700 @@ -16,0 +17,24 @@ +../drivers/net/pcs/pcs-xilinx.c:295:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions] + 295 | } + | ^ +../drivers/net/pcs/pcs-xilinx.c:403:25: error: use of undeclared identifier 'xilinx_timer_of_match'; did you mean 'xilinx_pcs_of_match'? + 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); + | ^~~~~~~~~~~~~~~~~~~~~ + | xilinx_pcs_of_match +../include/linux/module.h:250:15: note: expanded from macro 'MODULE_DEVICE_TABLE' + 250 | extern typeof(name) __mod_device_table__##type##__##name \ + | ^ +../drivers/net/pcs/pcs-xilinx.c:399:34: note: 'xilinx_pcs_of_match' declared here + 399 | static const struct of_device_id xilinx_pcs_of_match[] = { + | ^ +../drivers/net/pcs/pcs-xilinx.c:458:21: error: redefinition of 'axienet_xilinx_pcs_get' + 458 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, + | ^ +../include/linux/pcs-xilinx.h:30:1: note: previous definition is here + 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) + | ^ +1 warning and 2 errors generated. +make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 +make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 Per-file breakdown --- /tmp/tmp.yVF8WCB9zr 2025-04-08 05:36:22.465667523 -0700 +++ /tmp/tmp.2nvqE18YxX 2025-04-08 05:36:22.467667502 -0700 @@ -1,0 +2 @@ + 3 ../drivers/net/pcs/pcs-xilinx.c