diff options
author | John Garry <john.g.garry@oracle.com> | 2024-05-24 08:48:28 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-05-30 20:22:14 -0400 |
commit | e7c09df178f740b74a077bbc16ed0bd872ad0581 (patch) | |
tree | f4a004802ea96962172ac38ad86d524b0251d3b4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) |
scsi: core: Pass sdev to blk_mq_alloc_queue()
When calling scsi_alloc_sdev() -> blk_mq_alloc_queue(), we don't pass
the sdev as the queuedata, but rather manually set it afterwards. Just
pass 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-2-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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions