diff options
author | Christoph Hellwig <[email protected]> | 2020-08-18 09:11:31 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-08-21 17:14:28 -0600 |
commit | 1e41f3bd26f79463c07aebf062a0a77f1fd39b2b (patch) | |
tree | c3152b20cedce1fc1f01d71a902092aa9e46c4cd /include/linux/fpga/fpga-mgr.h | |
parent | 5ddaabe8ed713f148e3d67e99b86d99427aceb5c (diff) |
nvme: just check the status code type in nvme_is_path_error
Check the SCT sub-field for a path related status instead of enumerating
invididual status code. As of NVMe 1.4 this adds "Internal Path Error"
and "Controller Pathing Error" to the list, but it also future proofs for
additional status codes added to the category.
Suggested-by: Chao Leng <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Mike Snitzer <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions