Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'acpi-6.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI fixes from Rafael Wysocki:
"These fix a fallout of a recent ACPI properties management update and
work around a compiler bug in ACPICA:

- Fix a recent coding mistake causing __acpi_node_get_property_reference()
arguments to be put in an incorrect order (Sunil V L)

- Work around bogus -Wstringop-overread warning on LoongArch since
GCC 11 in ACPICA (Xi Ruoyao)"

* tag 'acpi-6.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPICA: Work around bogus -Wstringop-overread warning since GCC 11
ACPI: property: Fix argument order in __acpi_node_get_property_reference()

+7 -1
+6
drivers/acpi/acpica/tbprint.c
··· 95 95 { 96 96 struct acpi_table_header local_header; 97 97 98 + #pragma GCC diagnostic push 99 + #if defined(__GNUC__) && __GNUC__ >= 11 100 + #pragma GCC diagnostic ignored "-Wstringop-overread" 101 + #endif 102 + 98 103 if (ACPI_COMPARE_NAMESEG(header->signature, ACPI_SIG_FACS)) { 99 104 100 105 /* FACS only has signature and length fields */ ··· 148 143 local_header.asl_compiler_id, 149 144 local_header.asl_compiler_revision)); 150 145 } 146 + #pragma GCC diagnostic pop 151 147 }
+1 -1
drivers/acpi/property.c
··· 1107 1107 size_t num_args, 1108 1108 struct fwnode_reference_args *args) 1109 1109 { 1110 - return acpi_fwnode_get_reference_args(fwnode, propname, NULL, index, num_args, args); 1110 + return acpi_fwnode_get_reference_args(fwnode, propname, NULL, num_args, index, args); 1111 1111 } 1112 1112 EXPORT_SYMBOL_GPL(__acpi_node_get_property_reference); 1113 1113