From owner-svn-src-head@freebsd.org Thu May 5 15:07:41 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8479B2D50C; Thu, 5 May 2016 15:07:41 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A57C31328; Thu, 5 May 2016 15:07:41 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u45F7eFE058485; Thu, 5 May 2016 15:07:40 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u45F7e8f058484; Thu, 5 May 2016 15:07:40 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201605051507.u45F7e8f058484@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Thu, 5 May 2016 15:07:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299119 - head/sys/dev/bhnd X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2016 15:07:41 -0000 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"; } }