]> www.infradead.org Git - users/hch/nvme-cli.git/commit
fix namespace checks for legacy list
authorKeith Busch <kbusch@kernel.org>
Thu, 10 Oct 2019 19:35:56 +0000 (04:35 +0900)
committerKeith Busch <kbusch@kernel.org>
Thu, 10 Oct 2019 19:35:56 +0000 (04:35 +0900)
commit1e858be6c25172f9946e4979ee724244bdd722b2
tree84b50867a62a80a58755ff37c7374c49f53e5133
parent62751f5e8ce8ccff0d1b39ce7841fc1b7a062ce8
fix namespace checks for legacy list

First ensure the controller we're comparing with has been initialized, and then
compare the correct fields with each other. Previously had been comparing a
model number against the serial.

Link: http://lists.infradead.org/pipermail/linux-nvme/2019-October/027562.html
Reported-by: Jeff Lien <jeff.lien@wdc.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
nvme-topology.c