svn commit: r353693 - head/sys/dev/acpica
Conrad Meyer
cem at FreeBSD.org
Thu Oct 17 19:53:56 UTC 2019
Author: cem
Date: Thu Oct 17 19:53:55 2019
New Revision: 353693
URL: https://svnweb.freebsd.org/changeset/base/353693
Log:
acpica: Fix for the fix, unfortunately
Follow-up to incomplete pedantic change in r353691 by actually fixing the
default implementation to match the interface type. Mea culpa.
X-MFC-With: r353691, r339754
Modified:
head/sys/dev/acpica/acpi_if.m
Modified: head/sys/dev/acpica/acpi_if.m
==============================================================================
--- head/sys/dev/acpica/acpi_if.m Thu Oct 17 19:49:20 2019 (r353692)
+++ head/sys/dev/acpica/acpi_if.m Thu Oct 17 19:53:55 2019 (r353693)
@@ -61,11 +61,11 @@ HEADER {
# Default implementation for acpi_id_probe().
#
CODE {
- static char *
+ static int
acpi_generic_id_probe(device_t bus, device_t dev, char **ids,
char **match)
{
- return (NULL);
+ return (ENXIO);
}
};
More information about the svn-src-all
mailing list