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:11 -0700
committerKeith Busch <[email protected]>2024-01-31 16:06:12 -0800
commit4b6821940eeb238a0cc9af322e9ebe8e12613f6a (patch)
tree4903ac012b0fee2a708883e0c2928205be45c19a /lib/test_fortify/write_overflow-strncpy-src.c
parent0945b43b4ef8833d73daf5d057d07b64a23b4220 (diff)
nvme: return string as char *, not unsigned char *
The functions in drivers/nvme/host/constants.c returning human-readable status and opcode strings currently use type "const unsigned char *". Typically string constants use type "const char *", so remove "unsigned" from the return types. This is a purely cosmetic change to clarify that the functions return text strings instead of an array of bytes, for example. 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