aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-08-18 09:11:31 +0200
committerJens Axboe <axboe@kernel.dk>2020-08-21 17:14:28 -0600
commit1e41f3bd26f79463c07aebf062a0a77f1fd39b2b (patch)
treec3152b20cedce1fc1f01d71a902092aa9e46c4cd /drivers/usb/cdns3/cdns3-ti.c
parent5ddaabe8ed713f148e3d67e99b86d99427aceb5c (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 <lengchao@huawei.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions