Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102718551
D37535.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
774 B
Referenced Files
None
Subscribers
None
D37535.diff
View Options
diff --git a/usr.sbin/acpi/acpidb/Makefile b/usr.sbin/acpi/acpidb/Makefile
--- a/usr.sbin/acpi/acpidb/Makefile
+++ b/usr.sbin/acpi/acpidb/Makefile
@@ -90,3 +90,7 @@
.if ${COMPILER_TYPE} == "clang"
CWARNFLAGS+= -Wno-null-pointer-arithmetic
.endif
+
+# AcpiUtInitStackPtrTrace intentionally leaks a pointer to an
+# on-stack variable.
+CWARNFLAGS.utdebug.c+= ${NO_WDANGLING_POINTER}
diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile
--- a/usr.sbin/acpi/iasl/Makefile
+++ b/usr.sbin/acpi/iasl/Makefile
@@ -147,4 +147,8 @@
prparser.y.h: prparserparse.h .NOMETA
ln -f ${.ALLSRC} ${.TARGET}
+# AcpiUtInitStackPtrTrace intentionally leaks a pointer to an
+# on-stack variable.
+CWARNFLAGS.utdebug.c+= ${NO_WDANGLING_POINTER}
+
.include <bsd.prog.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 7:38 AM (16 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14672666
Default Alt Text
D37535.diff (774 B)
Attached To
Mode
D37535: acpica: Quiet a -Wdangling-pointer warning in AcpiUtInitStackPtrTrace.
Attached
Detach File
Event Timeline
Log In to Comment