diff options
author | 2024-05-24 08:48:29 +0000 | |
---|---|---|
committer | 2024-05-30 20:22:15 -0400 | |
commit | 41b757425203a73ba5aa401cf00feeccc1555f0c (patch) | |
tree | 23c26ef5dd397143010da0bb812d39e7996d9757 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | scsi: core: Pass sdev to blk_mq_alloc_queue() (diff) | |
download | wireguard-linux-41b757425203a73ba5aa401cf00feeccc1555f0c.tar.xz wireguard-linux-41b757425203a73ba5aa401cf00feeccc1555f0c.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions