]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: use helpers for checking status types
authorJeremy Kerr <jk@codeconstruct.com.au>
Sun, 23 Oct 2022 05:54:49 +0000 (13:54 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Fri, 28 Oct 2022 05:20:05 +0000 (13:20 +0800)
commit1dacde708f44c4a28530beff42e058656b43da6a
treeb1015192f8d406cd292d8845bad8b7104da1e030
parent745959b8ed4e48a25f9448aecedd236afaebe291
nvme: use helpers for checking status types

There are a few instances where we check the status return value from
libnvme calls - for each of these, use the new nvme_status_{type,value}
helpers.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
nvme.c
plugins/wdc/wdc-nvme.c