diff mbox series

scsi: aic7xxx: Clean up errors in aic7xxx.h

Message ID 3d665d21.883.18ad590c856.Coremail.chenguohua@jari.cn (mailing list archive)
State Rejected
Headers show
Series scsi: aic7xxx: Clean up errors in aic7xxx.h | expand

Commit Message

chenguohua@jari.cn Sept. 27, 2023, 7:35 a.m. UTC
Fix the following errors reported by checkpatch:

ERROR: "foo __maybe_unused	 bar" should be "foo __maybe_unused bar"
ERROR: "foo*	bar" should be "foo *bar"

Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
---
 drivers/scsi/aic7xxx/aic7xxx.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/scsi/aic7xxx/aic7xxx.h b/drivers/scsi/aic7xxx/aic7xxx.h
index 9bc755a0a2d3..33f1a9ac4682 100644
--- a/drivers/scsi/aic7xxx/aic7xxx.h
+++ b/drivers/scsi/aic7xxx/aic7xxx.h
@@ -512,7 +512,7 @@  struct ahc_dma_seg {
 struct sg_map_node {
 	bus_dmamap_t		 sg_dmamap;
 	dma_addr_t		 sg_physaddr;
-	struct ahc_dma_seg*	 sg_vaddr;
+	struct ahc_dma_seg *sg_vaddr;
 	SLIST_ENTRY(sg_map_node) links;
 };
 
@@ -711,7 +711,7 @@  struct ahc_initiator_tinfo {
  * negotiation is the same regardless of role.
  */
 struct ahc_tmode_tstate {
-	struct ahc_tmode_lstate*	enabled_luns[AHC_NUM_LUNS];
+	struct ahc_tmode_lstate *enabled_luns[AHC_NUM_LUNS];
 	struct ahc_initiator_tinfo	transinfo[AHC_NUM_TARGETS];
 
 	/*
@@ -1132,7 +1132,7 @@  const struct ahc_pci_identity	*ahc_find_pci_device(ahc_dev_softc_t);
 int			 ahc_pci_config(struct ahc_softc *,
 					const struct ahc_pci_identity *);
 int			 ahc_pci_test_register_access(struct ahc_softc *);
-void __maybe_unused	 ahc_pci_resume(struct ahc_softc *ahc);
+void __maybe_unused ahc_pci_resume(struct ahc_softc *ahc);
 
 /*************************** EISA/VL Front End ********************************/
 struct aic7770_identity *aic7770_find_device(uint32_t);