Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1350033ybz; Wed, 22 Apr 2020 19:17:20 -0700 (PDT) X-Google-Smtp-Source: APiQypIm6kU4S/GDVufDYXPFR55z959Bpxj64P//HnxHaJtZfc6eLyqJ8+PUK7ROfZ3fEMLRW4OA X-Received: by 2002:a50:ed8f:: with SMTP id h15mr1112589edr.331.1587608240532; Wed, 22 Apr 2020 19:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587608240; cv=none; d=google.com; s=arc-20160816; b=uutoZ2UzmEwDotfUGJWJaroZ2V/SQ/Cf0MZHG1FsEjg46+faMxqgwSGZfG4n+hDSTB 7eKt98Uyf258bpEyOKQMKrMmQJExAETT78vDVy7+Dfx0bTRjsEU/13W1Q+XCzHbK7qnj xcyXejLuYxlD9YGIIUiS8XWcgZm8idNoFCMcCXAm9HNeBNl9jswXSLcoP51NFtS1vn4k /YMnJVM29rxWwByPC7kmtE83UAstJey3geHSmci18nkzyA5DWtb5sSieS4hc5T8i8shk e8WSKTHf9i+Ym+l+dp6+Ytw2xERPthxY3IOEhNyTFryrJegYUzG4v02n9/9XLW0judJb xbZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=R9+PhL7zMV21pR2ma4wn7XnHpERRrwx5LRMW+ca+tJI=; b=LsGTwwYq2ekDMDZjCYKvnSJaTvVLDwcXFhUu1O0ntm++wBEw0vRLIGwqpzKPadxwlu 4SgKM1durC6UbFIvMQd/1sYP3DB7KCu30ARkQOn0RLm8MECmmFLhyHd/t8d4/4XEpIto Vs7xvwiamjI/276UAxIbe6lDPpuFpnnZ4prTw28rObdnnGfNrymtxYyPzme/laZDJyr2 WEsLUBV9phZE6J6PA4a8pk5C96zHgdHVa9LLfxophyNu27IjsZRa0eccVZVbCJRsKf6g kxVm16J4M9gUBuvV047cCkkkps43H7CnbmMfp8kbFSHwD0WDhgWrwFOY35QD0n/jucxO PrFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si536800ejz.335.2020.04.22.19.16.47; Wed, 22 Apr 2020 19:17:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726002AbgDWCQc (ORCPT + 99 others); Wed, 22 Apr 2020 22:16:32 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:41808 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725781AbgDWCQc (ORCPT ); Wed, 22 Apr 2020 22:16:32 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C7611C999EA6A38D239B; Thu, 23 Apr 2020 10:16:28 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Thu, 23 Apr 2020 10:16:19 +0800 From: Zou Wei To: , , CC: , , Zou Wei Subject: [PATCH -next] crypto: hisilicon/qm - Make qm_controller_reset() static Date: Thu, 23 Apr 2020 10:22:36 +0800 Message-ID: <1587608556-113975-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fix the following sparse warning: drivers/crypto/hisilicon/qm.c:3079:5: warning: symbol 'qm_controller_reset' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/crypto/hisilicon/qm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 80c5525..69d02cb 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -3076,7 +3076,7 @@ static int qm_controller_reset_done(struct hisi_qm *qm) return 0; } -int qm_controller_reset(struct hisi_qm *qm) +static int qm_controller_reset(struct hisi_qm *qm) { struct pci_dev *pdev = qm->pdev; int ret; -- 2.6.2