[Bug 245757] Firware Error (ACPI): Failure creating named object object

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 20 18:02:43 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245757

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: cem
Date: Mon Apr 20 18:01:45 UTC 2020
New revision: 360131
URL: https://svnweb.freebsd.org/changeset/base/360131

Log:
  acpi_ec(4): Do not probe "successfully" if an error occurred

  All of the 'goto out;' cases in this probe routine without explicit
  initialization of 'ret' indicate error cases and were clearly intended
  to use the initial definition of 'ret' with ENXIO.  However, 'ret' was
  accidentally squashed by reuse for a subroutine call near the beginning
  of probe.

  Use a different variable for the subroutine status to preserve ENXIO ret
  for the 'goto out's as a minimal solution to the panic reported at attach
  for now.

  PR:   245757

Changes:
  head/sys/dev/acpica/acpi_ec.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list