From patchwork Thu Sep 28 01:59:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 145683 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3020006vqu; Wed, 27 Sep 2023 19:05:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0LCGMk/wX0DmA8k3Xx9buoDcq3wOF7IjJ5NXbL5zN9iSCPzaIDiSv+3Boo/ZRSwVtMSUK X-Received: by 2002:a17:902:ec81:b0:1c7:37e2:13fb with SMTP id x1-20020a170902ec8100b001c737e213fbmr154371plg.55.1695866742791; Wed, 27 Sep 2023 19:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695866742; cv=none; d=google.com; s=arc-20160816; b=hyE/7dyPaImO/CumE6cOUMgy/Djbvx0tlRuW+wybV57nYHCCDZC2QF3Y4U1Ywpe9nG M2NTNQ3JGcC4r9pwHZzjer2nwp/BOcoda3ZiNoMdEsCs3GhcRB93blaeobLr6+PjKMYj CTzUDbg8/Bdn+0Vi9NXHzeczCZVW3nUN1p5N/C9B5JcvXHHPwgYGcD2U0XG3numqjAD4 Y+YwOg20izdeLiOAvw13C2EZU+/i044kH/0vflIyiHMHiEoFRBUuNDBlCQexGoVEouMt 1MYstt9Jw15D6HAzaszNGTV4eUV0KmYbY/QG8DLeWeBr75/o9C0eyBlvNSBhB4FMmAS+ Ag8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=r9nOB+roirgq5+I9yugBL2jVgR5vWknvHSzNKb9OkKU=; fh=VWQ33Zfx/zv3LrpWUzhvz8BPpat9sHuLywepBQEIwvg=; b=ks58DOuZaRDv/U0v3mrwLNz94nP3voR0bOJ89wmZ++8zo525VeUAibDMeGlGNSvH/e ts4wSfJAENcMLoecac03x3LqyMC5ZNUVWZJSBr/N1R1+IQ2zAMYT0CC4n7aNzH49rq4C ybPIoRRY4G3D7FAoZtPKT41QVgIpO1RhVe8LFTac3CBu7U4IIVLRo+yQkJdJ6+gA9Da0 1TlGLRnt4YvAfzxCbOVEs3cj8y7Ml4sX1Nmt4ndNkivdsixxWN4frSr4kUWxcM80GEqf v66l7qevYR/0MYl6jsr+3VjQp4tFxcKIpa5Nk49IkKSjdm7USNvWKeFDAxVbWER2ntB0 GH/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n9-20020a170902e54900b001c3ffc982cfsi18167621plf.142.2023.09.27.19.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 19:05:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 98F47821E1AD; Wed, 27 Sep 2023 19:01:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbjI1CBb (ORCPT + 20 others); Wed, 27 Sep 2023 22:01:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1CB3 (ORCPT ); Wed, 27 Sep 2023 22:01:29 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A1C410A; Wed, 27 Sep 2023 19:01:27 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 09:59:06 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 09:59:06 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: james.smart@broadcom.com, dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: lpfc: Clean up errors in lpfc_sli.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn MIME-Version: 1.0 Message-ID: <2ad4a18.89a.18ad982db63.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3lD_q3RRlOni+AA--.686W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAJB2T8PZMAAQAUss X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_PBL,RDNS_NONE,T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 19:01:37 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778244459666513206 X-GMAIL-MSGID: 1778245165298362837 Fix the following errors reported by checkpatch: ERROR: "foo ** bar" should be "foo **bar" Signed-off-by: KaiLong Wang --- drivers/scsi/lpfc/lpfc_sli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_sli.h b/drivers/scsi/lpfc/lpfc_sli.h index cd33dfec758c..1024f92da960 100644 --- a/drivers/scsi/lpfc/lpfc_sli.h +++ b/drivers/scsi/lpfc/lpfc_sli.h @@ -376,7 +376,7 @@ struct lpfc_sli { cmd */ #define LPFC_IOCBQ_LOOKUP_INCREMENT 1024 - struct lpfc_iocbq ** iocbq_lookup; /* array to lookup IOCB by IOTAG */ + struct lpfc_iocbq **iocbq_lookup; /* array to lookup IOCB by IOTAG */ size_t iocbq_lookup_len; /* current lengs of the array */ uint16_t last_iotag; /* last allocated IOTAG */ time64_t stats_start; /* in seconds */