]> 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)
committerChristoph Hellwig <hch@lst.de>
Sun, 27 Sep 2020 07:14:18 +0000 (09:14 +0200)
commitf3521ebd76c6d9f291b0263e4ec4fc6d2a9cca3f
tree78d7193261fdff76e25b10380daa576682ff2fea
parentad5fe2b9b6f9dffb78c98ff88b3a2e41b9929b5a
nvme-pci: Move enumeration by class to be last in the table

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>
drivers/nvme/host/pci.c