/[base]
ViewVC logotype

Revision 360224


Jump to revision: Previous Next
Author: cem
Date: Thu Apr 23 17:30:03 2020 UTC (4 years, 2 months ago)
Changed paths: 1
Log Message:
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


Changed paths

Path Details
Directoryhead/sys/dev/acpica/acpi_ec.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27