Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2016 15:07:40 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r299119 - head/sys/dev/bhnd
Message-ID:  <201605051507.u45F7e8f058484@repo.freebsd.org>

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



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