diff options
author | 2024-01-31 09:43:12 -0700 | |
---|---|---|
committer | 2024-01-31 16:06:12 -0800 | |
commit | 6f9a71c61183d6849d5aeab085b210c10398af9a (patch) | |
tree | c82d440efea3254693beea4eed9ca127ebc82b33 /scripts/generate_rust_analyzer.py | |
parent | nvme: return string as char *, not unsigned char * (diff) | |
download | linux-rng-6f9a71c61183d6849d5aeab085b210c10398af9a.tar.xz linux-rng-6f9a71c61183d6849d5aeab085b210c10398af9a.zip |
nvme: remove redundant status mask
In nvme_get_error_status_str(), the status code is already masked
with 0x7ff at the beginning of the function.
Don't bother masking it again when indexing nvme_statuses.
Signed-off-by: Caleb Sander <csander@purestorage.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions