svn commit: r364020 - stable/12/sys/dev/acpica

Alexander Motin mav at FreeBSD.org
Fri Aug 7 15:58:23 UTC 2020


Author: mav
Date: Fri Aug  7 15:58:23 2020
New Revision: 364020
URL: https://svnweb.freebsd.org/changeset/base/364020

Log:
  Fix bug in r363624 12 adaptation.

Modified:
  stable/12/sys/dev/acpica/acpi_apei.c

Modified: stable/12/sys/dev/acpica/acpi_apei.c
==============================================================================
--- stable/12/sys/dev/acpica/acpi_apei.c	Fri Aug  7 15:32:42 2020	(r364019)
+++ stable/12/sys/dev/acpica/acpi_apei.c	Fri Aug  7 15:58:23 2020	(r364020)
@@ -574,7 +574,7 @@ apei_probe(device_t dev)
 	if (acpi_find_table(ACPI_SIG_HEST) == 0)
 		return (ENXIO);
 	if (acpi_get_handle(dev) != NULL)
-		rv = (ACPI_ID_PROBE(device_get_parent(dev), dev, apei_ids) != NULL);
+		rv = (ACPI_ID_PROBE(device_get_parent(dev), dev, apei_ids) == NULL);
 	else
 		rv = 0;
 	if (rv <= 0)


More information about the svn-src-all mailing list