We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e1216 commit 9506b5fCopy full SHA for 9506b5f
drivers/acpi/acpica/tbprint.c
@@ -95,6 +95,11 @@ acpi_tb_print_table_header(acpi_physical_address address,
95
{
96
struct acpi_table_header local_header;
97
98
+#pragma GCC diagnostic push
99
+#if defined(__GNUC__) && __GNUC__ >= 11
100
+#pragma GCC diagnostic ignored "-Wstringop-overread"
101
+#endif
102
+
103
if (ACPI_COMPARE_NAMESEG(header->signature, ACPI_SIG_FACS)) {
104
105
/* FACS only has signature and length fields */
@@ -135,4 +140,5 @@ acpi_tb_print_table_header(acpi_physical_address address,
135
140
local_header.asl_compiler_id,
136
141
local_header.asl_compiler_revision));
137
142
}
143
+#pragma GCC diagnostic pop
138
144
0 commit comments