[Bug 245778] ACPI not detecting battery properly on HP Spectre x360 13-ap0053dx 13-CURRENT between base r359837 and base r360134

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 23 17:30:14 UTC 2020


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

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

Author: cem
Date: Thu Apr 23 17:30:03 UTC 2020
New revision: 360224
URL: https://svnweb.freebsd.org/changeset/base/360224

Log:
  acpi_ec(4): Don't probe erroneously if success occurred

  In r360131, acpi_ec probe was changed to not clobber an error status prior to
  several error cases that did not explicitly set the error variable before
  goto'ing the exit path.  However, I did not notice that the error variable
was
  not set to success in the success path.  That caused all successful probes to
  fail, which is obviously undesirable.

  PR:           245778
  Reported by:  Neel Chauhan <neel AT neelc.org>, Evilham <contact AT
evilham.com>
  Tested by:    Evilham
  X-MFC-With:   r360131

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-acpi mailing list