[PATCH] scsi: aic7xxx: Clean up errors in aic7xxx.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
---
 drivers/scsi/aic7xxx/aic7xxx.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux