[PATCH v2] nvme: fix nvme_pr_* status code parsing

Christoph Hellwig hch at lst.de
Fri May 31 01:16:50 PDT 2024


On Thu, May 30, 2024 at 02:16:46PM +0800, Weiwen Hu wrote:
> +	switch (nvme_sc & 0x7ff) {

Can you use the opportunity to add a NVME_SC_MASK symbolic
name for the magic 0x7ff?  We should have done this earlier
with already 5 occurrences, but better now than never.

Otherwise this looks good to me.




More information about the Linux-nvme mailing list