Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp750844pxb; Thu, 19 Nov 2020 12:54:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJycL1tD8H1+BkZ8AI5nlmGm/myXQwM0IHoVqzPLGxTsHifW7m24la+XQXxYuJEmdmm1524x X-Received: by 2002:a17:906:fcc2:: with SMTP id qx2mr31124354ejb.549.1605819266058; Thu, 19 Nov 2020 12:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605819266; cv=none; d=google.com; s=arc-20160816; b=rLOzYQehUTQzSzmX2UPxVUEJTFl2r5b0ofSeRWqjg1B/UmOnieEwTjEkBUKapeLggh ZJ4Mw9anOd5MkalDL/GkRB9aicdVW8ewQxQQi+oD6B3NzKPYoTCK2wTbvozUTkn6Xmr/ /Kv1ppHbp1Z6xf0ivj/Z7b5jkPWzmvyQhY1MxKJ4yvbSNn9mRj6D+2CHi1abm3dp2EFQ w862nstBSYOvq/m3tp+sTLMi8BXJqoTt+da3vxvjC6cIuwsV94o6DsMcP4vfzpQN+UbL zedmpwyV5DLg0ULtk1ElEsvJaPeGgEITXFwQFLIQ3J5s62zM1llcYDKDe20ZuTmw1LAd /+jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2XLV55r50A8q9mT3PQeO6Skrz2W8rvY3xq7JwUWY1ko=; b=Q6R0OUPHx7Ii6noyV0MtE/bYt8tAqTkdpoheWsNaoF/ACRUURSwqqijDX2yp5rFUfm q/YBqt3Tqs04Orp76TncvywCVent6cj8ZFPEe6SbvYWTjCJKdMH4Yb+4AticKGwqriDX +cp0ibdIwgmR50COzrmSGmbxa3NczSdlSltKIBG2o2EWgew8hTqsf9PaaEhVu5/FgK5B nbxrAo+K+GGzUQVMnLZbYNW+ntrKPf8ICGiujnpw5nMMAdHbnUGZP9UPkgAc5R8d7LhC r/0aSg35aefimXIiy8LlNJDHNmBbkusYQgzF6RY3yDT2bPicPE+pwfx9bYuyTrhNENpy PIPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="RK9X6p/H"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di2si552399edb.18.2020.11.19.12.54.03; Thu, 19 Nov 2020 12:54:25 -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; dkim=pass header.i=@broadcom.com header.s=google header.b="RK9X6p/H"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725843AbgKSUvc (ORCPT + 99 others); Thu, 19 Nov 2020 15:51:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbgKSUvb (ORCPT ); Thu, 19 Nov 2020 15:51:31 -0500 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57716C0613D4 for ; Thu, 19 Nov 2020 12:51:30 -0800 (PST) Received: by mail-pf1-x442.google.com with SMTP id c66so5653274pfa.4 for ; Thu, 19 Nov 2020 12:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=2XLV55r50A8q9mT3PQeO6Skrz2W8rvY3xq7JwUWY1ko=; b=RK9X6p/HsYF3n5RUoDsyaPJKC4Cv7EoqaRLVaJr0gyWEBx3/sug/fmbgy74xSyvTD5 DvKOSb0881QJaC+BtXhwHJs+RysSjyGW/9dZCnHfmDeGSLALJjE8m2A6D7o6vCzWr5w2 uUaEVX53Uf03y3eI5wOx+RYIfMKGxW+WYMTz0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=2XLV55r50A8q9mT3PQeO6Skrz2W8rvY3xq7JwUWY1ko=; b=mvFpBZ2gwHsKhgsEKh+WeoM8l/wl9HGIjtbiLkUxHD4P3Rh/8gzKSbM051H9asUG6B NiErfRCl1HEcKaWLSZ5/kFXG6T03eqjY1+4K1KxJmnz+nlk92IjsdvPol1kQNTxC4KAh I4eZI1f5VoRk1cAUDdphsVP4qmALc3hw1jzlnpX8D5TPadCiCkxQSwQ0UCjlVQW/fX50 b/5MXllb9N3K8mWbAa9gMATotCvL8hKkYNTqZJcmqmsHwZrZjXvz6SIBsUF4Xs5+Pa9B SwEixw/L9mPCKw+X8cmKLuU/6dcgmL5FO4fxRxAv3KEjsqoZzokXSbOwIf+cs4OgO70c IifA== X-Gm-Message-State: AOAM530/fgFR6+RbePHPdcXyJs5HSNcb5DHSk1I0dujrWM8x07OmQc36 u7C0lBnNnp3LY62TgYjIfFxH74Z9RbyIogLyuqOjtnWc+bRJvg7JpM4zzBT7AfM0kW5mTQCd1nl E502nuGMYZMgGhVg7WqNgC3Du+7NJp9vRNcViagxdZM5tJYX3XsIV22nHkWewFhV0nHp1Gifn0D hRdL8qpg== X-Received: by 2002:a62:1506:0:b029:18b:44dd:6325 with SMTP id 6-20020a6215060000b029018b44dd6325mr11287364pfv.30.1605819089018; Thu, 19 Nov 2020 12:51:29 -0800 (PST) Received: from [10.69.69.102] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id kr2sm627038pjb.31.2020.11.19.12.51.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Nov 2020 12:51:28 -0800 (PST) Subject: Re: [PATCH -next] scsi: lpfc: Mark lpfc_nvmet_prep_abort_wqe with static keyword To: Zou Wei , dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1605685376-12415-1-git-send-email-zou_wei@huawei.com> From: James Smart Message-ID: Date: Thu, 19 Nov 2020 12:51:26 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <1605685376-12415-1-git-send-email-zou_wei@huawei.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000006b3e5f05b47be465" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0000000000006b3e5f05b47be465 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US On 11/17/2020 11:42 PM, Zou Wei wrote: > 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; Zou, Thank You .  I just submitted the same patch.   Either one Martin wants to take.. :) -- james Reviewed-by: James Smart --0000000000006b3e5f05b47be465 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQPwYJKoZIhvcNAQcCoIIQMDCCECwCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg2UMIIE6DCCA9CgAwIBAgIOSBtqCRO9gCTKXSLwFPMwDQYJKoZIhvcNAQELBQAwTDEgMB4GA1UE CxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMT Ckdsb2JhbFNpZ24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDAwWjBdMQswCQYDVQQGEwJC RTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEzMDEGA1UEAxMqR2xvYmFsU2lnbiBQZXJzb25h bFNpZ24gMiBDQSAtIFNIQTI1NiAtIEczMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA tpZok2X9LAHsYqMNVL+Ly6RDkaKar7GD8rVtb9nw6tzPFnvXGeOEA4X5xh9wjx9sScVpGR5wkTg1 fgJIXTlrGESmaqXIdPRd9YQ+Yx9xRIIIPu3Jp/bpbiZBKYDJSbr/2Xago7sb9nnfSyjTSnucUcIP ZVChn6hKneVGBI2DT9yyyD3PmCEJmEzA8Y96qT83JmVH2GaPSSbCw0C+Zj1s/zqtKUbwE5zh8uuZ p4vC019QbaIOb8cGlzgvTqGORwK0gwDYpOO6QQdg5d03WvIHwTunnJdoLrfvqUg2vOlpqJmqR+nH 9lHS+bEstsVJtZieU1Pa+3LzfA/4c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