Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2019 19:53:56 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353693 - head/sys/dev/acpica
Message-ID:  <201910171953.x9HJruHx011476@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910171953.x9HJruHx011476>