Commit 2f9da5ab authored by Russell King's avatar Russell King

[ARM] Fix fas216-based data-phase lockups

Ensure SCpnt->request_bufflen is initialised correctly when we
request sense information.
parent 073fe981
......@@ -2213,6 +2213,7 @@ fas216_std_done(FAS216_Info *info, Scsi_Cmnd *SCpnt, unsigned int result)
SCpnt->SCp.this_residual = sizeof(SCpnt->sense_buffer);
SCpnt->SCp.Message = 0;
SCpnt->SCp.Status = 0;
SCpnt->request_bufflen = sizeof(SCpnt->sense_buffer);
SCpnt->sc_data_direction = SCSI_DATA_READ;
SCpnt->use_sg = 0;
SCpnt->tag = 0;
......
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