From patchwork Thu Sep 28 01:58:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 145685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3020684vqu; Wed, 27 Sep 2023 19:07:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAICJ6T3rcbeYX8WTLImSLefFcojKF8HdZpY6O3pjVqgmqEhJ2DsBwHksgTqfEtvCdere3 X-Received: by 2002:a17:90a:69e3:b0:269:621e:a673 with SMTP id s90-20020a17090a69e300b00269621ea673mr3273481pjj.1.1695866862284; Wed, 27 Sep 2023 19:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695866862; cv=none; d=google.com; s=arc-20160816; b=MusRWE2BhaamS0PjSCmYk0/z/2QEW9CdSYHObxNu1JG6dsmL0g98elOr571YQW1M42 +o9hxreWdFg0LjXb74XOrm1QrBSgsZ/Ey7FrnDmdE6K88Hr/HHtzBFVt+GtbsQ3Xc7hw bSNZlz6Kycie+rpxHIQfRaXKoknFmThWdBq/ZYduKyubz59nTpQdVf2mtpkpK6S9wXuU zj52PeuKNtbdtqd97PPFi+H3c7teLMwEAMzfFFRVmyzPYCpooNlHJsIow3ivMT86+4LQ TgzaspHeYhLdhI/THxmSBfUXti/oRoWlh5gh+M+DAM6R5pOPrmKy7bf0Skezj62K/sKv gGug== 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=JTL2iw0aSbHzoegHNuEi7TLuoi7OCxTIpDTxS8NUz9s=; fh=VWQ33Zfx/zv3LrpWUzhvz8BPpat9sHuLywepBQEIwvg=; b=SFHRpWL0dR7gCUHbobvnDHjtLAUwKEmRijUitzCnJgztUzm73rjoNYP+aaD3JnfIa7 lsSahJgkrcN8XCncN4DDotwkxbxT76EVLXcsAxEla7hGJOvOcVFvB63rBXd4iq7fFtb0 E8oqRYuA/W2Ob+imx/85sg43DZMrz2jXuA1AC1eqmPzNFwITMK/eBfasoDKNe400/Zut 006hN8PZ+JH/EGZHYw5eB6F6jh/JBVo5Y73fLiofx5eGwY8OzsRly8qGtswvrlHT5YoG mS7mHtRiSrWd40q4EmVR56hZYSvC/3OHtkqzouiGuUdPGXtQy8xvp5J8y1FzxM7fWyQW dA9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x34-20020a17090a6c2500b0026816382fdbsi6453171pjj.40.2023.09.27.19.07.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 19:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id D30508060511; Wed, 27 Sep 2023 19:00:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbjI1CAj (ORCPT + 20 others); Wed, 27 Sep 2023 22:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1CAi (ORCPT ); Wed, 27 Sep 2023 22:00:38 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4A5ACAC; Wed, 27 Sep 2023 19:00:35 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 09:58:47 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 09:58:47 +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_crtn.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: <397df3cb.899.18ad9829062.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDHZD_X3RRlN3i+AA--.632W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAJB2T8PZMAAQATsr 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 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 19:00:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778245290893129253 X-GMAIL-MSGID: 1778245290893129253 Fix the following errors reported by checkpatch: ERROR: space prohibited before that ',' (ctx:WxW) ERROR: "foo * bar" should be "foo *bar" ERROR: space prohibited before that close parenthesis ')' Signed-off-by: KaiLong Wang --- drivers/scsi/lpfc/lpfc_crtn.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h index d4e46a08f94d..68a23e93428f 100644 --- a/drivers/scsi/lpfc/lpfc_crtn.h +++ b/drivers/scsi/lpfc/lpfc_crtn.h @@ -281,7 +281,7 @@ int lpfc_check_pending_fcoe_event(struct lpfc_hba *, uint8_t); void lpfc_issue_init_vpi(struct lpfc_vport *); void lpfc_config_hbq(struct lpfc_hba *, uint32_t, struct lpfc_hbq_init *, - uint32_t , LPFC_MBOXQ_t *); + uint32_t, LPFC_MBOXQ_t *); struct hbq_dmabuf *lpfc_els_hbq_alloc(struct lpfc_hba *); void lpfc_els_hbq_free(struct lpfc_hba *, struct hbq_dmabuf *); struct hbq_dmabuf *lpfc_sli4_rb_alloc(struct lpfc_hba *); @@ -327,7 +327,7 @@ lpfc_sli_handle_fast_ring_event(struct lpfc_hba *, struct lpfc_sli_ring *, uint32_t); struct lpfc_iocbq *__lpfc_sli_get_iocbq(struct lpfc_hba *); -struct lpfc_iocbq * lpfc_sli_get_iocbq(struct lpfc_hba *); +struct lpfc_iocbq *lpfc_sli_get_iocbq(struct lpfc_hba *); void lpfc_sli_release_iocbq(struct lpfc_hba *, struct lpfc_iocbq *); uint16_t lpfc_sli_next_iotag(struct lpfc_hba *, struct lpfc_iocbq *); void lpfc_sli_cancel_iocbs(struct lpfc_hba *, struct list_head *, uint32_t, @@ -395,8 +395,8 @@ struct lpfc_dmabuf *lpfc_sli_ringpostbuf_get(struct lpfc_hba *, dma_addr_t); uint32_t lpfc_sli_get_buffer_tag(struct lpfc_hba *); -struct lpfc_dmabuf * lpfc_sli_ring_taggedbuf_get(struct lpfc_hba *, - struct lpfc_sli_ring *, uint32_t ); +struct lpfc_dmabuf *lpfc_sli_ring_taggedbuf_get(struct lpfc_hba *, + struct lpfc_sli_ring *, uint32_t); int lpfc_sli_hbq_count(void); int lpfc_sli_hbqbuf_add_hbqs(struct lpfc_hba *, uint32_t); @@ -445,7 +445,7 @@ int lpfc_link_reset(struct lpfc_vport *vport); /* Function prototypes. */ int lpfc_check_pci_resettable(struct lpfc_hba *phba); -const char* lpfc_info(struct Scsi_Host *); +const char *lpfc_info(struct Scsi_Host *); int lpfc_scan_finished(struct Scsi_Host *, unsigned long); int lpfc_init_api_table_setup(struct lpfc_hba *, uint8_t);