aboutsummaryrefslogtreecommitdiff
path: root/source/components/tables
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2025-12-19 05:24:03 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2025-12-19 05:24:03 +0000
commit5cab380e2a2644aaa920b93f1580a1cfc803a8de (patch)
treeddcdfcba94a4c4166cab7c4f37d1c57d1ec6ea91 /source/components/tables
parent5bb60d44e94172a567412968545c82065695d871 (diff)
Diffstat (limited to 'source/components/tables')
-rw-r--r--source/components/tables/tbprint.c5
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
}