Compile fix for AIC7xxx
PATCH 1/1 Compile fix for AIC7xxx
Trivial missed fix for this driver:
drivers/scsi/aic7xxx_old.c +2 -2
@@ -3070,7 +3070,7 @@* we check data_cmnd[0]. This catches the conditions for st.c, but * I'm still not sure if request.cmd is valid for sg devices. */ -if ( (rq_data_dir (&cmd->request) ==WRITE ) || (cmd->data_cmnd[0 ] ==WRITE_6 ) || +if ( (rq_data_dir (cmd->request) ==WRITE ) || (cmd->data_cmnd[0 ] ==WRITE_6 ) || (cmd->data_cmnd[0 ] ==WRITE_FILEMARKS ) ) { sp->w_total++;
@@ -4280,7 +4280,7 @@ {printk (INFO_LEAD "Underflow - Wanted %u, %s %u, residual SG " "count %d.\n" , p->host_no,CTL_OF_SCB (scb), cmd->underflow, - (rq_data_dir (&cmd->request) ==WRITE ) ?"wrote" :"read" , actual, + (rq_data_dir (cmd->request) ==WRITE ) ?"wrote" :"read" , actual, hscb->residual_SG_segment_count);printk (INFO_LEAD "status 0x%x.\n" , p->host_no,CTL_OF_SCB (scb), hscb->target_status);
Signature · 1 line
Revolutions do not require corporate support.