]> www.infradead.org Git - nvme.git/commit
nvme: rename nvme_sc_to_pr_err to nvme_status_to_pr_err
authorWeiwen Hu <huweiwen@linux.alibaba.com>
Mon, 3 Jun 2024 12:56:59 +0000 (20:56 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 24 Jun 2024 19:53:42 +0000 (12:53 -0700)
commit22f19a584d7045e0509f103dbc5c0acfd6415163
treeba9d11bec57d75d42a172babb29f98508d9bac77
parent1a9e218195a55d0a31e8cbe263aa2f618580ef1d
nvme: rename nvme_sc_to_pr_err to nvme_status_to_pr_err

This should better match its semantic.  "sc" is used in the NVMe spec to
specifically refer to the last 8 bits in the status field. We should not
reuse "sc" here.

Signed-off-by: Weiwen Hu <huweiwen@linux.alibaba.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pr.c