diff options
Diffstat (limited to 'source/components/tables/tbprint.c')
| -rw-r--r-- | source/components/tables/tbprint.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/components/tables/tbprint.c b/source/components/tables/tbprint.c index d82cfddb4758..72dab8dafab2 100644 --- a/source/components/tables/tbprint.c +++ b/source/components/tables/tbprint.c @@ -254,6 +254,10 @@ AcpiTbPrintTableHeader ( { ACPI_TABLE_HEADER LocalHeader; +#pragma GCC diagnostic push +#if defined(__GNUC__) && __GNUC__ >= 11 +#pragma GCC diagnostic ignored "-Wstringop-overread" +#endif if (ACPI_COMPARE_NAMESEG (Header->Signature, ACPI_SIG_FACS)) { @@ -301,4 +305,5 @@ AcpiTbPrintTableHeader ( LocalHeader.OemTableId, LocalHeader.OemRevision, LocalHeader.AslCompilerId, LocalHeader.AslCompilerRevision)); } +#pragma GCC diagnostic pop } |
