From patchwork Fri Aug 26 14:21:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9301339 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 ECB5A60757 for ; Fri, 26 Aug 2016 14:21:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF4DD2954A for ; Fri, 26 Aug 2016 14:21:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3DF429610; Fri, 26 Aug 2016 14:21:45 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 0D81E295E3 for ; Fri, 26 Aug 2016 14:21:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753816AbcHZOVi (ORCPT ); Fri, 26 Aug 2016 10:21:38 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33156 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752864AbcHZOVg (ORCPT ); Fri, 26 Aug 2016 10:21:36 -0400 Received: by mail-pf0-f195.google.com with SMTP id i6so4993425pfe.0; Fri, 26 Aug 2016 07:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ddKZYrSzGgtnWqbO1HwcnHT5cVp0diHQfwa2dkgZTuw=; b=usM9++M3mif/mjBUtvxOaIfH06B7p+MqVMcNtP8W3GVehhVlUFP/cF4ixyVzmKx9om IraNDJLYVk9GEjBnDpBa4mZpobOZe0SGanAEFj8g5RytaU81LFdM1CdUMLjCG7NM5bl7 EYWjF2sL1Zv71WrtuvdhkOeaqRxHqJyteL2wc8/u6bRawU6kEHZjc4jqYorxrsbuZw5K OwEpSCqbyKcQtY6eKvJuO2y7FHgSrr4dpSQ68CUjAF1ZFln8ptXHpQK6mUqR58QlULLX bKDT34Dn10lEzzM7mWs6muMegVQyrCfawXQwVqvkIfYpkKXMMqXxSbmZO6C+p5WtYVRu mJwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ddKZYrSzGgtnWqbO1HwcnHT5cVp0diHQfwa2dkgZTuw=; b=XY/j7UgNWhRo0Eft03xOYSUsSPBGXHx/ShSdNfm8JLHOY8pAjgVscB0MZ21iBszs9t awQeMjVSUIF3tw2t5DklxXrCsOGB8Ql/N8rEHURoKZ0HzJ+CIKmUjoX4vIukiRyLTnQD CqP739hue2r6G0o2PCzT3cw07hlY2zNNASczlXyBRxZMcFPrLmEKPjyVi3xMLUusg3Th BEmzeZpfBsS96BH7JsW8hoTQUOjUm5oHzMgz9C8P6uPqZMd6M3yZOK6/9hTo2oTVIlwx i7N0+inBXFMbDleDpzsqVYDrjatCs2vBhUC27L5wG4IuZpzpllWDiMay4GtInBmhE+eq /olA== X-Gm-Message-State: AE9vXwNdytdjMaDbF03VkCnV9nUFgg4NfKFcLDOnOAv14fL6Klh+GN0TnB3g5+KlsLadYA== X-Received: by 10.98.101.1 with SMTP id z1mr6406374pfb.53.1472221295678; Fri, 26 Aug 2016 07:21:35 -0700 (PDT) Received: from localhost.localdomain.localdomain (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id te10sm29343909pac.4.2016.08.26.07.21.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Aug 2016 07:21:34 -0700 (PDT) From: Wei Yongjun To: Herbert Xu , "David S. Miller" , Hariprasad Shenai , Atul Gupta Cc: Wei Yongjun , linux-crypto@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH -next v2] chcr: Fix non static symbol warning Date: Fri, 26 Aug 2016 14:21:08 +0000 Message-Id: <1472221268-25123-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1471882278-25777-1-git-send-email-weiyj.lk@gmail.com> References: <1471882278-25777-1-git-send-email-weiyj.lk@gmail.com> MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/crypto/chelsio/chcr_algo.c:593:5: warning: symbol 'cxgb4_is_crypto_q_full' was not declared. Should it be static? Signed-off-by: Wei Yongjun Acked-by: Herbert Xu --- v1 -> v2: cc netdev maillist --- drivers/crypto/chelsio/chcr_algo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" 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/crypto/chelsio/chcr_algo.c b/drivers/crypto/chelsio/chcr_algo.c index ad8e353..e4ddb92 100644 --- a/drivers/crypto/chelsio/chcr_algo.c +++ b/drivers/crypto/chelsio/chcr_algo.c @@ -590,7 +590,7 @@ badkey_err: return -EINVAL; } -int cxgb4_is_crypto_q_full(struct net_device *dev, unsigned int idx) +static int cxgb4_is_crypto_q_full(struct net_device *dev, unsigned int idx) { int ret = 0; struct sge_ofld_txq *q;