aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/st.c')
-rw-r--r--drivers/scsi/st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
index aff9689de0f7..59db5bfc11db 100644
--- a/drivers/scsi/st.c
+++ b/drivers/scsi/st.c
@@ -490,7 +490,7 @@ static int st_scsi_execute(struct st_request *SRpnt, const unsigned char *cmd,
490 490
491 req = blk_get_request(SRpnt->stp->device->request_queue, write, 491 req = blk_get_request(SRpnt->stp->device->request_queue, write,
492 GFP_KERNEL); 492 GFP_KERNEL);
493 if (!req) 493 if (IS_ERR(req))
494 return DRIVER_ERROR << 24; 494 return DRIVER_ERROR << 24;
495 495
496 blk_rq_set_block_pc(req); 496 blk_rq_set_block_pc(req);