From owner-svn-src-head@FreeBSD.ORG Mon Dec 30 20:58:07 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A73A85D; Mon, 30 Dec 2013 20:58:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 264621EF2; Mon, 30 Dec 2013 20:58:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUKw7fO018136; Mon, 30 Dec 2013 20:58:07 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBUKw63B018134; Mon, 30 Dec 2013 20:58:06 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201312302058.rBUKw63B018134@svn.freebsd.org> From: Dimitry Andric Date: Mon, 30 Dec 2013 20:58:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260104 - in head/sys: conf modules/ibcore 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.17 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: Mon, 30 Dec 2013 20:58:07 -0000 Author: dim Date: Mon Dec 30 20:58:06 2013 New Revision: 260104 URL: http://svnweb.freebsd.org/changeset/base/260104 Log: For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now. MFC after: 3 days Modified: head/sys/conf/files head/sys/modules/ibcore/Makefile Modified: head/sys/conf/files ============================================================================== --- head/sys/conf/files Mon Dec 30 20:37:47 2013 (r260103) +++ head/sys/conf/files Mon Dec 30 20:58:06 2013 (r260104) @@ -3461,7 +3461,7 @@ ofed/drivers/infiniband/core/mad.c opti compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/" ofed/drivers/infiniband/core/cm.c optional ofed \ no-depend \ - compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/" + compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/ -Wno-unused-function" ofed/drivers/infiniband/core/cma.c optional ofed \ no-depend \ compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/" Modified: head/sys/modules/ibcore/Makefile ============================================================================== --- head/sys/modules/ibcore/Makefile Mon Dec 30 20:37:47 2013 (r260103) +++ head/sys/modules/ibcore/Makefile Mon Dec 30 20:58:06 2013 (r260104) @@ -21,3 +21,6 @@ CFLAGS+= -DINET6 -DINET -DOFED .include CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} + +CWARNFLAGS.cm.c= -Wno-unused-function +CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}