]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
NVMe-CLI Fixed Status Code check for reset type on fw-activate.
authorJeff Lien <Jeff.Lien@hgst.com>
Tue, 12 Sep 2017 17:37:05 +0000 (12:37 -0500)
committerKeith Busch <keith.busch@intel.com>
Tue, 12 Sep 2017 17:46:43 +0000 (13:46 -0400)
commit6acdd9bdae95eee436639476edd80022d999147e
tree7e56505763fb48db466f78a95a2cf44f8be803b9
parent7352a2c76a4061196b5be1d1fac516135fd1f1f9
NVMe-CLI Fixed Status Code check for reset type on fw-activate.

If a device returns a fw-activate status with the More or DNR bit
set, the CLI code will return a message indicating an Admin command
error instead of succesful status.  With this patch, the More and
DNR bits will be masked off and not affect the returned message.

Signed-off-by: Keith Busch <keith.busch@intel.com>
nvme.c