John Garry 41b7574252 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>
2024-05-30 20:22:15 -04:00
..
2024-05-21 13:02:56 -07:00
2024-05-21 13:02:56 -07:00
2024-05-14 17:25:36 -07:00
2024-05-23 13:44:47 -07:00
2023-06-26 12:47:20 -07:00
2024-05-23 13:44:47 -07:00
2024-05-14 18:25:53 -07:00
2024-03-11 11:43:44 -07:00
2024-05-21 13:02:56 -07:00
2024-05-21 09:51:42 -07:00
2023-06-30 11:57:07 -07:00
2024-05-21 09:51:42 -07:00
2024-05-21 13:02:56 -07:00
2024-05-21 13:02:56 -07:00
2024-03-11 11:43:44 -07:00