aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2024-08-26 18:20:57 +0000
committerKeith Busch <[email protected]>2024-08-27 14:55:40 +0000
commit6f01bdbfef3b62955cf6503a8425d527b3a5cf94 (patch)
tree7ce5f1a6acf7ec37a336167e0d7e57a48cf54e8f /drivers/platform/surface/aggregator/ssh_parser.c
parentnvmet-tcp: fix kernel crash if commands allocation fails (diff)
downloadkernel-6f01bdbfef3b62955cf6503a8425d527b3a5cf94.tar.gz
kernel-6f01bdbfef3b62955cf6503a8425d527b3a5cf94.zip
nvme-pci: allocate tagset on reset if necessary
If a drive is unable to create IO queues on the initial probe, a subsequent reset will need to allocate the tagset if IO queue creation is successful. Without this, blk_mq_update_nr_hw_queues will crash on a bad pointer due to the invalid tagset. Fixes: eac3ef262941f62 ("nvme-pci: split the initial probe from the rest path") Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions