summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-26 11:26:25 -0600
committerJens Axboe <axboe@kernel.dk>2018-11-07 13:42:32 -0700
commitaae3b069d5ce865ca5ef2902c2a22cef7ab4f3a2 (patch)
treedd7f00edf9c6503b020b30d6307afec79641af0d /drivers/scsi/ufs
parent583d6535cb9dadfd2678acfad27231076eeccf8e (diff)
downloadlinux-stable-aae3b069d5ce865ca5ef2902c2a22cef7ab4f3a2.tar.gz
linux-stable-aae3b069d5ce865ca5ef2902c2a22cef7ab4f3a2.tar.bz2
linux-stable-aae3b069d5ce865ca5ef2902c2a22cef7ab4f3a2.zip
bsg: pass in desired timeout handler
This will ease in the conversion to blk-mq, where we can't set a timeout handler after queue init. Cc: Johannes Thumshirn <jthumshirn@suse.de> Cc: linux-scsi@vger.kernel.org Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Benjamin Block <bblock@linux.vnet.ibm.com> Tested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r--drivers/scsi/ufs/ufs_bsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufs_bsg.c b/drivers/scsi/ufs/ufs_bsg.c
index e5f8e54bf644..dd0e9700a74c 100644
--- a/drivers/scsi/ufs/ufs_bsg.c
+++ b/drivers/scsi/ufs/ufs_bsg.c
@@ -193,7 +193,7 @@ int ufs_bsg_probe(struct ufs_hba *hba)
if (ret)
goto out;
- q = bsg_setup_queue(bsg_dev, dev_name(bsg_dev), ufs_bsg_request, 0);
+ q = bsg_setup_queue(bsg_dev, dev_name(bsg_dev), ufs_bsg_request, NULL, 0);
if (IS_ERR(q)) {
ret = PTR_ERR(q);
goto out;