Date: Mon, 20 Apr 2020 18:02:42 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 245757] Firware Error (ACPI): Failure creating named object object Message-ID: <bug-245757-227-PWgzW22fay@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245757-227@https.bugs.freebsd.org/bugzilla/> References: <bug-245757-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245757 --- Comment #2 from commit-hook@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245757-227-PWgzW22fay>