Commit 7a1c0b79 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Martin K. Petersen
Browse files

scsi: fdomain: use BSTAT_{MSG|CMD|IO} in fdomain_work()

Commit 1697c6a6 ("scsi: fdomain: Add register definitions") somehow
missed the masking of the 'status' variable with the SCSI phase mask in
fdomain_work(), leaving the magic number intact. Fix this issue; while at
it, change the order of BSTAT_{MSG|CMD|IO} bits in the MESSAGE IN
phase *case* (with no change in the generated object file).

Fixes: 1697c6a6

 ("scsi: fdomain: Add register definitions")
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent a9651be7
Supports Markdown
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