aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorCaleb Sander <[email protected]>2024-01-31 09:43:12 -0700
committerKeith Busch <[email protected]>2024-01-31 16:06:12 -0800
commit6f9a71c61183d6849d5aeab085b210c10398af9a (patch)
treec82d440efea3254693beea4eed9ca127ebc82b33 /lib/test_fortify/write_overflow-strncpy-src.c
parent4b6821940eeb238a0cc9af322e9ebe8e12613f6a (diff)
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 <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions