HomeFreeBSD

acpi_apm: Don't recurse on ACPI_LOCK in apmreadfilt

Description

acpi_apm: Don't recurse on ACPI_LOCK in apmreadfilt

The lock is already held by the caller since it is used as the knlist
lock.

PR: 293901
Reported by: Jiaming Zhang <r772577952@gmail.com>
Fixes: cc2715cf1f86 ("acpi_apm: Narrow scope of ACPI_LOCK")

Details

Provenance
jhbAuthored on Apr 14 2026, 1:25 PM
Parents
rG998d501ae61a: freebsd-base.7: Add an example for unregistering
Branches
Unknown
Tags
Unknown