]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: Move enumeration by class to be last in the table
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 18 Aug 2020 08:35:30 +0000 (11:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:50:33 +0000 (12:50 +0100)
commit021105d07e87d3644321af8a130b0663a7dfb0ed
treeeb79d16728245bf3ce662ee2d88e35201c9af5c4
parentca99eef63e3f4a0c8026d52046d66254fae89a7d
nvme-pci: Move enumeration by class to be last in the table

commit f3521ebd76c6d9f291b0263e4ec4fc6d2a9cca3f upstream.

It's unusual that we have enumeration by class in the middle of the table.
It might potentially be problematic in the future if we add another entry
after it.

So, move class matching entry to be the last in the ID table.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/pci.c