From owner-svn-src-stable@FreeBSD.ORG Thu Dec 12 00:27:28 2013 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A9BC98A; Thu, 12 Dec 2013 00:27:28 +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 565011820; Thu, 12 Dec 2013 00:27:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBC0RSjV025715; Thu, 12 Dec 2013 00:27:28 GMT (envelope-from np@svn.freebsd.org) Received: (from np@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBC0RSeJ025714; Thu, 12 Dec 2013 00:27:28 GMT (envelope-from np@svn.freebsd.org) Message-Id: <201312120027.rBC0RSeJ025714@svn.freebsd.org> From: Navdeep Parhar Date: Thu, 12 Dec 2013 00:27:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r259241 - stable/10/sys/dev/cxgbe X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2013 00:27:28 -0000 Author: np Date: Thu Dec 12 00:27:27 2013 New Revision: 259241 URL: http://svnweb.freebsd.org/changeset/base/259241 Log: MFC r259145: Unstaticize t4_list and t4_uld_list. This works around a clang annoyance[1] and allows kgdb to find these symbols. [1] http://lists.freebsd.org/pipermail/freebsd-hackers/2012-November/041166.html Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/cxgbe/t4_main.c ============================================================================== --- stable/10/sys/dev/cxgbe/t4_main.c Thu Dec 12 00:27:22 2013 (r259240) +++ stable/10/sys/dev/cxgbe/t4_main.c Thu Dec 12 00:27:27 2013 (r259241) @@ -161,10 +161,10 @@ MALLOC_DEFINE(M_CXGBE, "cxgbe", "Chelsio * then ADAPTER_LOCK, then t4_uld_list_lock. */ static struct sx t4_list_lock; -static SLIST_HEAD(, adapter) t4_list; +SLIST_HEAD(, adapter) t4_list; #ifdef TCP_OFFLOAD static struct sx t4_uld_list_lock; -static SLIST_HEAD(, uld_info) t4_uld_list; +SLIST_HEAD(, uld_info) t4_uld_list; #endif /*