diff options
author | John Garry <john.g.garry@oracle.com> | 2024-05-24 11:48:29 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-05-31 03:22:15 +0300 |
commit | 41b757425203a73ba5aa401cf00feeccc1555f0c (patch) | |
tree | 23c26ef5dd397143010da0bb812d39e7996d9757 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e7c09df178f740b74a077bbc16ed0bd872ad0581 (diff) | |
download | linux-41b757425203a73ba5aa401cf00feeccc1555f0c.tar.xz |
scsi: bsg: Pass dev to blk_mq_alloc_queue()
When calling bsg_setup_queue() -> blk_mq_alloc_queue(), we don't pass
the dev as the queuedata, but rather manually set it afterwards. Just
pass dev to blk_mq_alloc_queue() to have automatically set.
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240524084829.2132555-3-john.g.garry@oracle.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions