Author: emaste
Date: Thu May  5 15:07:40 2016
New Revision: 299119
URL: https://svnweb.freebsd.org/changeset/base/299119

Log:
  bhnd: fix build on gcc architectures
  
  "make tinderbox" fails on sparc64 GENERIC-NODEBUG with:
  bhnd_subr.c:188: warning: control reaches end of non-void function
  
  Sponsored by: The FreeBSD Foundation

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

Modified: head/sys/dev/bhnd/bhnd_subr.c
==============================================================================
--- head/sys/dev/bhnd/bhnd_subr.c       Thu May  5 13:54:50 2016        
(r299118)
+++ head/sys/dev/bhnd/bhnd_subr.c       Thu May  5 15:07:40 2016        
(r299119)
@@ -184,6 +184,8 @@ bhnd_port_type_name(bhnd_port_type port_
                return ("bridge");
        case BHND_PORT_AGENT:
                return ("agent");
+       default:
+               return "unknown";
        }
 }
 
_______________________________________________
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