scsi: aic7xxx: Clean up errors in aicasm.c
Subsystems (2)
PATCH 1/1 scsi: aic7xxx: Clean up errors in aicasm.c
Fix the following errors reported by checkpatch:
ERROR: return is not a function, parentheses are not required
ERROR: space required before the open parenthesis '('
Signed-off-by GuoHua Cheng <[email protected]>
--- drivers/scsi/aic7xxx/aicasm/aicasm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/scsi/aic7xxx/aicasm/aicasm.c +5 -5
@@ -97,7 +97,7 @@ FILE *regdiagfile;int src_mode;int dst_mode; -static STAILQ_HEAD(,instruction) seq_program; +static STAILQ_HEAD(, instruction) seq_program;struct cs_tailq cs_tailq;struct scope_list scope_stack;symlist_t patch_functions;
@@ -144,7 +144,7 @@ main(int argc, char *argv[]) mmdebug =0 ;#endif while ((ch =getopt (argc, argv,"d:i:l:n:o:p:r:I:" )) !=-1 ) { -switch (ch) { +switch (ch) {case 'd' :#if DEBUG if (strcmp (optarg,"s" ) ==0 ) {
@@ -301,7 +301,7 @@ main(int argc, char *argv[])stop (NULL ,0 );/* NOTREACHED */ -return (0 ); +return 0 ; } static void
@@ -674,9 +674,9 @@ check_patch(patch_t **start_patch, int start_instr, *start_patch = cur_patch;if (start_instr < *skip_addr)/* Still skipping */ -return (0 ); +return 0 ; -return (1 ); +return 1 ; }/*
Signature · 1 line
2.17.1