Skip to contentSkip to conversation

fix qla1280 compiles

PATCH New Christoph Hellwig 1 participant 1 message Sep 26, 2003

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

PATCH 1/1 fix qla1280 compiles

Duh! The scsi_cmnd.flags removal broke qla1280.

It checked for the flags beeing 0, which it always was for a long time. It looks a bit fishy thus, so if someone wants to audit srb.flags audit please do so.

drivers/scsi/qla1280.c +1 -3
@@ -1220,9 +1220,7 @@
 	sp = (struct srb *)CMD_SP(cmd);
 	sp->cmd = cmd;
 	cmd->scsi_done = fn;
-	if (cmd->flags == 0) {	/* new command */
-		sp->flags = 0;
-	}
+	sp->flags = 0;
 
 	qla1280_print_scsi_cmd(5, cmd);