commit | 1b1031ca63b2ce1d3b664b35b77ec94e458693e9 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 09 09:01:26 2019 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Tue May 14 17:19:50 2019 +0200 |
tree | 1b9d9e846749128f79474e6f1637e7551e798997 | |
parent | 32fd90c407680935f84fb3ffc60fb3e020257d38 [diff] |
nvme: validate cntlid during controller initialisation The CNTLID value is required to be unique, and we do rely on this for correct operation. So reject any controller for which a non-unique CNTLID has been detected. Based on a patch from Hannes Reinecke. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.com>