svn commit: r299119 - head/sys/dev/bhnd

Ed Maste emaste at FreeBSD.org
Thu May 5 15:07:41 UTC 2016


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";
 	}
 }
 


More information about the svn-src-all mailing list