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);
        }
 };
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to