* [PATCH] scsi: aic7xxx: Clean up errors in aic7xxx.h
@ 2023-09-27 7:35 chenguohua
0 siblings, 0 replies; only message in thread
From: chenguohua @ 2023-09-27 7:35 UTC (permalink / raw)
To: hare, jejb, martin.petersen; +Cc: linux-scsi, linux-kernel
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 --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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-27 7:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 7:35 [PATCH] scsi: aic7xxx: Clean up errors in aic7xxx.h chenguohua
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®