[PATCH 1/5] nvme: return string as char *, not unsigned char *

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Jan 31 15:05:40 PST 2024


On 1/31/24 08:43, Caleb Sander wrote:
> 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 <csander at purestorage.com>
> ---
>

looks good, for the entire series :-

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list