diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-25 14:19:35 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2020-03-25 20:51:56 +0100 |
commit | fb314eb0cbb2e11540d1ae1a7b28346397f621ef (patch) | |
tree | 9b72ee4b5d7729b49a0568f36d1ac50ceb2e2df7 /samples | |
parent | nvme-tcp: Add warning on state change failure at nvme_tcp_setup_ctrl (diff) | |
download | linux-fb314eb0cbb2e11540d1ae1a7b28346397f621ef.tar.xz linux-fb314eb0cbb2e11540d1ae1a7b28346397f621ef.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions