Skip to contentSkip to conversation

NCR5380 unbalanced curly brace

TRIVIAL Rusty Trivial Russell 1 participant 1 message Feb 6, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

(Included in 2.5)
From: Geert Uytterhoeven <[email protected]>

Fix inbalance of curly braces if AUTOSENSE is not defined.

drivers/scsi/NCR5380.c renamed from drivers/scsi/NCR5380.c.orig +2 -1
@@ -2460,8 +2460,9 @@
 						    hostdata->issue_queue;
 						hostdata->issue_queue = (Scsi_Cmnd *) cmd;
 						dprintk(NDEBUG_QUEUES, ("scsi%d : REQUEST SENSE added to head of issue queue\n", instance->host_no));
-					} else {
+					} else
 #endif				/* def AUTOSENSE */
+					{
 						collect_stats(hostdata, cmd);
 						cmd->scsi_done(cmd);
 					}
Signature · 2 lines
  Don't blame me: the Monkey is driving
  File: Geert Uytterhoeven <[email protected]>: [PATCH] NCR5380 unbalanced curly brace