[PATCH] nvme: host: fix command name spelling

Chaitanya Kulkarni chaitanyak at nvidia.com
Thu Jun 22 00:59:20 PDT 2023


On 6/22/2023 12:53 AM, Damien Le Moal wrote:
> Correctly spell "Zeroes" in nvme_cmd_write_zeroes command name.
> 
> Signed-off-by: Damien Le Moal <dlemoal at kernel.org>
> ---
>   drivers/nvme/host/constants.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/nvme/host/constants.c b/drivers/nvme/host/constants.c
> index 5e4f8848dce0..20f46c230885 100644
> --- a/drivers/nvme/host/constants.c
> +++ b/drivers/nvme/host/constants.c
> @@ -12,7 +12,7 @@ static const char * const nvme_ops[] = {
>   	[nvme_cmd_read] = "Read",
>   	[nvme_cmd_write_uncor] = "Write Uncorrectable",
>   	[nvme_cmd_compare] = "Compare",
> -	[nvme_cmd_write_zeroes] = "Write Zeros",
> +	[nvme_cmd_write_zeroes] = "Write Zeroes",
>   	[nvme_cmd_dsm] = "Dataset Management",
>   	[nvme_cmd_verify] = "Verify",
>   	[nvme_cmd_resv_register] = "Reservation Register",

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

-ck




More information about the Linux-nvme mailing list