Author: adrian
Date: Thu May  5 19:55:16 2016
New Revision: 299134
URL: https://svnweb.freebsd.org/changeset/base/299134

Log:
  [bhnd] default to BUS_PROBE_DEFAULT for unknown BHND classes.
  
  Found by: gcc-4.2

Modified:
  head/sys/dev/bhnd/bhnd.c

Modified: head/sys/dev/bhnd/bhnd.c
==============================================================================
--- head/sys/dev/bhnd/bhnd.c    Thu May  5 19:54:17 2016        (r299133)
+++ head/sys/dev/bhnd/bhnd.c    Thu May  5 19:55:16 2016        (r299134)
@@ -351,6 +351,8 @@ bhnd_generic_get_probe_order(device_t de
                        return (BHND_PROBE_ROOT + BHND_PROBE_ORDER_EARLY);
 
                return (BHND_PROBE_DEFAULT);
+       default:
+               return (BHND_PROBE_DEFAULT);
        }
 }
 
_______________________________________________
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