../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[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../drivers/rapidio/rio_cm.c:675:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 675 | int rc; | ^ 1 warning generated. ../drivers/ata/ahci_imx.c:871:18: warning: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 871 | imxpriv->type = (enum ahci_imx_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/ata/ahci_xgene.c:779:13: warning: cast to smaller integer type 'enum xgene_ahci_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 779 | version = (enum xgene_ahci_version)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/mtd/nand/raw/vf610_nfc.c:843:17: warning: cast to smaller integer type 'enum vf610_nfc_variant' from 'const void *' [-Wvoid-pointer-to-enum-cast] 843 | nfc->variant = (enum vf610_nfc_variant)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 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[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