]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
Register read fix for kernel 4.0
authorKeith Busch <keith.busch@intel.com>
Mon, 6 Apr 2015 20:31:09 +0000 (14:31 -0600)
committerKeith Busch <keith.busch@intel.com>
Mon, 6 Apr 2015 20:31:09 +0000 (14:31 -0600)
commitd9020321e66ab0760b44332b3947a4f80afe265c
tree4eca23fa45f6179f4606cae57a4c7f3916570d94
parent9ba52effcdcdb01ddeb2d9aa00a0a03143e26aac
Register read fix for kernel 4.0

The nvme sysfs path was moved in kernel 4.0 to a new class type, so just
opening that one first before falling back to the previous location.

This also is printing an error if the user requested an invalid command.

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