diff options
author | John Garry <[email protected]> | 2024-05-24 08:48:29 +0000 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-05-30 20:22:15 -0400 |
commit | 41b757425203a73ba5aa401cf00feeccc1555f0c (patch) | |
tree | 23c26ef5dd397143010da0bb812d39e7996d9757 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | e7c09df178f740b74a077bbc16ed0bd872ad0581 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Himanshu Madhani <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions