mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "KaiLong Wang" <wangkailong@jari.cn>
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
Date: Thu, 28 Sep 2023 09:58:47 +0800 (GMT+08:00)	[thread overview]
Message-ID: <397df3cb.899.18ad9829062.Coremail.wangkailong@jari.cn> (raw)

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 <wangkailong@jari.cn>
---
 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);
-- 
2.17.1

                 reply	other threads:[~2023-09-28  2:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=397df3cb.899.18ad9829062.Coremail.wangkailong@jari.cn \
    --to=wangkailong@jari.cn \
    --cc=dick.kennedy@broadcom.com \
    --cc=james.smart@broadcom.com \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®