HomeFreeBSD

acpica: Quiet a -Wdangling-pointer warning in AcpiUtInitStackPtrTrace.

Description

acpica: Quiet a -Wdangling-pointer warning in AcpiUtInitStackPtrTrace.

This function intentionally saves a pointer to an on-stack variable in
a global as a dubious way of reading the stack pointer.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D37535

Details

Provenance
jhbAuthored on Dec 5 2022, 12:28 AM
Reviewer
imp
Differential Revision
D37535: acpica: Quiet a -Wdangling-pointer warning in AcpiUtInitStackPtrTrace.
Parents
rG1055bedbed42: pw: Don't return a pointer to an on-stack buffer from grp_set_passwd.
Branches
Unknown
Tags
Unknown