scsi: aic7xxx: add missing spaces
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 scsi: aic7xxx: add missing spaces
Add missing spaces to clear checkpatch errors.
ERROR: space required before the open parenthesis '('
ERROR: spaces required around that '=' (ctx:VxW)
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by Ran Sun <[email protected]>
--- drivers/scsi/aic7xxx/aicasm/aicasm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/scsi/aic7xxx/aicasm/aicasm.c +4 -4
@@ -396,7 +396,7 @@ output_code()for (cur_node =SLIST_FIRST (&patch_functions); cur_node !=NULL ; - cur_node =SLIST_NEXT (cur_node,links)) { + cur_node =SLIST_NEXT (cur_node, links)) {fprintf (ofile,"static %spatch_func_t %spatch%d_func;\n" "\n"
@@ -424,7 +424,7 @@ output_code()for (cur_patch =STAILQ_FIRST (&patches); cur_patch !=NULL ; - cur_patch =STAILQ_NEXT (cur_patch,links)) { + cur_patch =STAILQ_NEXT (cur_patch, links)) { fprintf(ofile, "%s\t{ %spatch%d_func, %d, %d, %d }", cur_patch == STAILQ_FIRST(&patches) ? "" : ",\n", prefix,
@@ -638,7 +638,7 @@ output_listing(char *ifilename) instrptr++; }/* Dump the remainder of the file */ -while (fgets (buf,sizeof (buf), ifile) !=NULL ) +while (fgets (buf,sizeof (buf), ifile) !=NULL )fprintf (listfile," %s" , buf);fclose (ifile);
@@ -747,7 +747,7 @@ cs_alloc() {critical_section_t *new_cs; - new_cs= (critical_section_t *)malloc (sizeof (critical_section_t)); + new_cs = (critical_section_t *)malloc (sizeof (critical_section_t));if (new_cs ==NULL )stop ("Unable to malloc critical_section object" ,EX_SOFTWARE );memset (new_cs,0 ,sizeof (*new_cs));