|
@@ -426,7 +426,7 @@ static int blk_complete_sgv4_hdr_rq(struct request *rq, struct sg_io_v4 *hdr,
|
|
/*
|
|
/*
|
|
* fill in all the output members
|
|
* fill in all the output members
|
|
*/
|
|
*/
|
|
- hdr->device_status = status_byte(rq->errors);
|
|
|
|
|
|
+ hdr->device_status = rq->errors & 0xff;
|
|
hdr->transport_status = host_byte(rq->errors);
|
|
hdr->transport_status = host_byte(rq->errors);
|
|
hdr->driver_status = driver_byte(rq->errors);
|
|
hdr->driver_status = driver_byte(rq->errors);
|
|
hdr->info = 0;
|
|
hdr->info = 0;
|