Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp129780pxb; Tue, 17 Nov 2020 23:35:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxt3edufOrNIURYhNzcWgwoXzg+GL53lHRKmDMAzqbFU9WKyDEx64qq8+PznOPnN2UbY+Uv X-Received: by 2002:a17:906:2f87:: with SMTP id w7mr24484493eji.83.1605684952827; Tue, 17 Nov 2020 23:35:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605684952; cv=none; d=google.com; s=arc-20160816; b=LxRavE/GXVJBlC5Ohqe8LJvLT8gqw27IyckRIEtn+BbQTLLIvwUZS0RN+hKNRzstZq OpBI16TKrIjQDhlsnKyTp2Jp7ogC8IvC1Lw7Apzud24tTSMP/kb6UuRWAN+wf3hsyo9Y vCbfWKGFmB5Km8C25iU6eF6Y8xmM048R77ig2HImuSlZ4yBj9CF1ibnEdd3U53t2iwDe UNBItnV/z1ibqhbDpEH8tokNr2yXdV9DDiXHmsABilYtfNyk4pYG4LRmeYcb7jVw9wFA t1jdyarxHgEUK8PGOmK6NtnnzXK56G0ESv2M4V+eH5TspJAVMaodF6Bp5CyfZ0lirA54 y7ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=ZzKwEemFha/UKiHujulWRuvFMSiPkKfQZb44cuaiI5k=; b=P1kbLuw3MwMtgIWsoMhb/h1a1tsjj5VwjwSrN1llbl2CzeZqfPT7UCWqS8ZGhVH/jX C7HoOVn3CKOQ/xt6sbyPzFmqH1G1/VHEnZQmsd+v7P6G1hhPQxHvYut6zJZC9+berUHg DNhnFwRvZvnwD+DNbwmRMTH69ppOCS1xyOb0b3XZgvIvf8eTswmuHB3Gn9cblsME9DrJ plW6QxqOaC+UIbo95jmyw9s+dStGATZM8FbwgldOt5Voyd5d9ciEApFtmZ5jTXnBTIdm aVgwIeYBapAP4nqm6c6h93/A3dDUyr/wLdZvRpk3A5wGQ1NPqD3Rr8xmG32avevo6Y2/ ZE2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 y3si16621802edm.138.2020.11.17.23.35.27; Tue, 17 Nov 2020 23:35:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbgKRHbT (ORCPT + 99 others); Wed, 18 Nov 2020 02:31:19 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:7949 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgKRHbT (ORCPT ); Wed, 18 Nov 2020 02:31:19 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4CbZHF5ptszhbS8; Wed, 18 Nov 2020 15:31:05 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Wed, 18 Nov 2020 15:31:10 +0800 From: Zou Wei To: , , , CC: , , Zou Wei Subject: [PATCH -next] scsi: lpfc: Mark lpfc_nvmet_prep_abort_wqe with static keyword Date: Wed, 18 Nov 2020 15:42:56 +0800 Message-ID: <1605685376-12415-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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/scsi/lpfc/lpfc_nvmet.c:3340:1: warning: symbol 'lpfc_nvmet_prep_abort_wqe' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/scsi/lpfc/lpfc_nvmet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/scsi/lpfc/lpfc_nvmet.c index c8b9434..a71df87 100644 --- a/drivers/scsi/lpfc/lpfc_nvmet.c +++ b/drivers/scsi/lpfc/lpfc_nvmet.c @@ -3336,7 +3336,7 @@ lpfc_nvmet_unsol_issue_abort(struct lpfc_hba *phba, * * This function is called with hbalock held. **/ -void +static void lpfc_nvmet_prep_abort_wqe(struct lpfc_iocbq *pwqeq, u16 xritag, u8 opt) { union lpfc_wqe128 *wqe = &pwqeq->wqe; -- 2.6.2