From patchwork Thu Mar 20 12:35:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 3865781 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E0F2EBF540 for ; Thu, 20 Mar 2014 13:09:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1F89420225 for ; Thu, 20 Mar 2014 13:09:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8DB4420240 for ; Thu, 20 Mar 2014 13:09:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758556AbaCTNJW (ORCPT ); Thu, 20 Mar 2014 09:09:22 -0400 Received: from mga01.intel.com ([192.55.52.88]:55199 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758335AbaCTNJV (ORCPT ); Thu, 20 Mar 2014 09:09:21 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 20 Mar 2014 06:08:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,694,1389772800"; d="scan'208";a="495808487" Received: from unknown (HELO wfg-t420.sh.intel.com) ([10.255.21.229]) by fmsmga001.fm.intel.com with ESMTP; 20 Mar 2014 06:08:07 -0700 Received: from wfg by wfg-t420.sh.intel.com with local (Exim 4.77) (envelope-from ) id 1WQcCI-0002tt-Pi; Thu, 20 Mar 2014 20:35:46 +0800 Date: Thu, 20 Mar 2014 20:35:46 +0800 From: Fengguang Wu To: linux-rdma@vger.kernel.org Cc: CQ Tang , Roland Dreier , linux-kernel@vger.kernel.org, "Marciniszyn, Mike" Subject: [PATCH infiniband] IB/qib: qib_user_sdma_rb_root can be static Message-ID: <20140320123546.GA11076@localhost> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP CC: CQ Tang CC: Roland Dreier Signed-off-by: Fengguang Wu Acked-by: Mike Marciniszyn --- qib_user_sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/infiniband/hw/qib/qib_user_sdma.c b/drivers/infiniband/hw/qib/qib_user_sdma.c index b225645..d2806ca 100644 --- a/drivers/infiniband/hw/qib/qib_user_sdma.c +++ b/drivers/infiniband/hw/qib/qib_user_sdma.c @@ -55,7 +55,7 @@ /* * track how many times a process open this driver. */ -struct rb_root qib_user_sdma_rb_root = RB_ROOT; +static struct rb_root qib_user_sdma_rb_root = RB_ROOT; struct qib_user_sdma_rb_node { struct rb_node node;