From patchwork Tue Mar 14 16:21:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 9623823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A9ECC60522 for ; Tue, 14 Mar 2017 16:21:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C75128138 for ; Tue, 14 Mar 2017 16:21:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 918FA2823E; Tue, 14 Mar 2017 16:21:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 768AC285A1 for ; Tue, 14 Mar 2017 16:21:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752144AbdCNQVk (ORCPT ); Tue, 14 Mar 2017 12:21:40 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:37714 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753093AbdCNQVj (ORCPT ); Tue, 14 Mar 2017 12:21:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=obsidianresearch.com; s=rsa1; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=iczfuIjU9EUcLR9IhouYnuamwRZKmt41VRrqTjZk68o=; b=ckpMU+PKNJsntLBvGWD4iBBbI1pTdF0Hk92hSW1d/z1LhqcG5J83A/zRpLbqCfyk6TlAdJfxge2r0INOQgsiQNqJtKIMWH1GVobmOrCg8Q/BNA/AGaxULk2sF6BeJZ4S5SQ43GJwjmpe1bBb5tk7mXGeluTZ2LFGYZ6tHxtyEMo=; Received: from [10.0.0.156] (helo=jggl.edm.orcorp.ca) by quartz.orcorp.ca with esmtps (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cnpCH-0003Bf-QE; Tue, 14 Mar 2017 10:21:17 -0600 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Doug Ledford , Yishai Hadas Subject: [PATCH rdma-core 4/7] Add missing statics Date: Tue, 14 Mar 2017 10:21:11 -0600 Message-Id: <1489508474-16664-5-git-send-email-jgunthorpe@obsidianresearch.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489508474-16664-1-git-send-email-jgunthorpe@obsidianresearch.com> References: <1489508474-16664-1-git-send-email-jgunthorpe@obsidianresearch.com> X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.156 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From sparse Signed-off-by: Jason Gunthorpe --- libibverbs/examples/xsrq_pingpong.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libibverbs/examples/xsrq_pingpong.c b/libibverbs/examples/xsrq_pingpong.c index 5fb8827579ddb1..31a86f7c8360e2 100644 --- a/libibverbs/examples/xsrq_pingpong.c +++ b/libibverbs/examples/xsrq_pingpong.c @@ -97,7 +97,7 @@ struct pingpong_context { int gidx; }; -struct pingpong_context ctx; +static struct pingpong_context ctx; static int open_device(char *ib_devname)