Commit a8ea64cd authored by Christoph Hellwig's avatar Christoph Hellwig Committed by James Bottomley

[PATCH] 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.
parent 18662ed9
......@@ -1220,9 +1220,7 @@ qla1280_queuecommand(Scsi_Cmnd * cmd, void (*fn) (Scsi_Cmnd *))
sp = (struct srb *)CMD_SP(cmd);
sp->cmd = cmd;
cmd->scsi_done = fn;
if (cmd->flags == 0) { /* new command */
sp->flags = 0;
}
qla1280_print_scsi_cmd(5, cmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment