scsi: lpfc: Clean up errors in lpfc_crtn.h

Message ID 397df3cb.899.18ad9829062.Coremail.wangkailong@jari.cn
State New
Headers
Series scsi: lpfc: Clean up errors in lpfc_crtn.h |

Commit Message

KaiLong Wang Sept. 28, 2023, 1:58 a.m. UTC
  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(-)
  

Patch

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);