+37
−35
Loading
mainline inclusion from mainline-v6.0-rc1 commit 2455a4b7 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB2BXE CVE: CVE-2024-50135 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2455a4b77835c2c9d1c0310d50f69e6fbc1b173f ---------------------------- Split nvme_dev_add into a helper to actually allocate the tag set, and one that just update the number of queues. Add a local variable for the tag_set to clean up the code a bit. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Keith Busch <kbusch@kernel.org> Reviewed-by:
Sagi Grimberg <sagi@grimberg.me> Signed-off-by:
Jens Axboe <axboe@kernel.dk> Conflicts: drivers/nvme/host/pci.c [Context conflict.] Signed-off-by:
Zheng Qixing <zhengqixing@huawei.com>