[PATCH 078/117] pktcdvd: Convert to the scsi_status union

Bart Van Assche
2021-04-20T00:10:43Z

drivers/block/pktcdvd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index fc4b0f1aa86d..95c51990d13c 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -723,7 +723,7 @@ static int pkt_generic_packet(struct pktcdvd_device *pd, struct packet_command *
rq->rq_flags |= RQF_QUIET;

blk_execute_rq(pd->bdev->bd_disk, rq, 0);
- if (scsi_req(rq)->result)
+ if (scsi_req(rq)->status.combined)
ret = -EIO;
out:
blk_put_request(rq);