========== build_allmodconfig_warn - FAILED ../drivers/acpi/property.c:1669:39: error: initialization of ‘int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)’ from incompatible pointer type ‘int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)’ [-Wincompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1680:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: note: (near initialization for ‘acpi_device_fwnode_ops.get_reference_args’) 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1680:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: error: initialization of ‘int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)’ from incompatible pointer type ‘int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)’ [-Wincompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: note: (near initialization for ‘acpi_data_fwnode_ops.get_reference_args’) 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: drivers/acpi/property.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/linux/device/driver.h:21, from ../include/linux/device.h:32, from ../include/linux/dma-mapping.h:5, from ../include/linux/skbuff.h:28, from ../include/linux/if_ether.h:19, from ../include/linux/ethtool.h:18, from ../include/linux/linkmode.h:5, from ../include/linux/mii.h:13, from ../include/uapi/linux/mdio.h:15, from ../include/linux/mdio.h:9, from ../drivers/net/pcs/pcs-xilinx.c:34: ../drivers/net/pcs/pcs-xilinx.c:403:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~ ../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, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/pcs/pcs-xilinx.c:37: ../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/pcs/pcs-xilinx.c:403:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~ 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 ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/acpi/property.c:1669:39: error: initialization of ‘int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)’ from incompatible pointer type ‘int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)’ [-Wincompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1680:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: note: (near initialization for ‘acpi_device_fwnode_ops.get_reference_args’) 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1680:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: error: initialization of ‘int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)’ from incompatible pointer type ‘int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)’ [-Wincompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: note: (near initialization for ‘acpi_data_fwnode_ops.get_reference_args’) 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ 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/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:428:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" 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/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/acpi/property.c:1669:39: error: initialization of ‘int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)’ from incompatible pointer type ‘int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)’ [-Wincompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1680:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: note: (near initialization for ‘acpi_device_fwnode_ops.get_reference_args’) 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1680:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: error: initialization of ‘int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)’ from incompatible pointer type ‘int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)’ [-Wincompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1669:39: note: (near initialization for ‘acpi_data_fwnode_ops.get_reference_args’) 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/acpi/property.c:1681:1: note: in expansion of macro ‘DECLARE_ACPI_FWNODE_OPS’ 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ 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.... In file included from ../include/linux/device/driver.h:21, from ../include/linux/device.h:32, from ../include/linux/dma-mapping.h:5, from ../include/linux/skbuff.h:28, from ../include/linux/if_ether.h:19, from ../include/linux/ethtool.h:18, from ../include/linux/linkmode.h:5, from ../include/linux/mii.h:13, from ../include/uapi/linux/mdio.h:15, from ../include/linux/mdio.h:9, from ../drivers/net/pcs/pcs-xilinx.c:34: ../drivers/net/pcs/pcs-xilinx.c:403:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~ ../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, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/pcs/pcs-xilinx.c:37: ../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/pcs/pcs-xilinx.c:403:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~ 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 ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:428:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" 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.Bwe32Emlyn 2025-04-08 06:39:15.704640358 -0700 +++ /tmp/tmp.FmrlRiXBQ3 2025-04-08 06:40:46.981320515 -0700 @@ -0,0 +1 @@ +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -5 +5,0 @@ -../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -32,0 +33,34 @@ +In file included from ../include/linux/device/driver.h:21, + from ../include/linux/device.h:32, + from ../include/linux/dma-mapping.h:5, + from ../include/linux/skbuff.h:28, + from ../include/linux/if_ether.h:19, + from ../include/linux/ethtool.h:18, + from ../include/linux/linkmode.h:5, + from ../include/linux/mii.h:13, + from ../include/uapi/linux/mdio.h:15, + from ../include/linux/mdio.h:9, + from ../drivers/net/pcs/pcs-xilinx.c:34: +../drivers/net/pcs/pcs-xilinx.c:403:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? + 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ + 250 | extern typeof(name) __mod_device_table__##type##__##name \ + | ^~~~ +../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, + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/pcs/pcs-xilinx.c:37: +../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ + 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ + 250 | extern typeof(name) __mod_device_table__##type##__##name \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/pcs/pcs-xilinx.c:403:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ + 403 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); + | ^~~~~~~~~~~~~~~~~~~ +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.Sww2nyVSDj 2025-04-08 06:40:47.037473681 -0700 +++ /tmp/tmp.PFuZeYmLP4 2025-04-08 06:40:47.060473441 -0700 @@ -3,0 +4,2 @@ + 2 ../drivers/net/pcs/pcs-xilinx.c + 1 ../include/linux/module.h