commit | fb314eb0cbb2e11540d1ae1a7b28346397f621ef | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Mar 25 14:19:35 2020 +0100 |
committer | Keith Busch <kbusch@kernel.org> | Thu Mar 26 04:51:56 2020 +0900 |
tree | 9b72ee4b5d7729b49a0568f36d1ac50ceb2e2df7 | |
parent | bea54ef53fce57c8b2f11315c9384e43b2ecb321 [diff] |
nvme: refactor nvme_identify_ns_descs error handling Move the handling of an error into the function from the caller, and only do it for an actual error on the admin command itself, not the command parsing, as that should be enough to deal with devices claiming a bogus version compliance. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>