[PATCH] nvme-core: get rid of the extra space

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Mon Nov 23 17:42:33 EST 2020


On 11/16/20 15:41, Chaitanya Kulkarni wrote:
> Remove the extra space in the nvme_free_cels() when calling
> xa_for_each loop which is not a common practice
> (except drivers/infiniband/core/ not sure why).
>
> Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
> ---
>  drivers/nvme/host/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
> index 9a270e49df17..1fb35d3d6f7d 100644
> --- a/drivers/nvme/host/core.c
> +++ b/drivers/nvme/host/core.c
> @@ -4378,7 +4378,7 @@ static void nvme_free_cels(struct nvme_ctrl *ctrl)
>  	struct nvme_effects_log	*cel;
>  	unsigned long i;
>  
> -	xa_for_each (&ctrl->cels, i, cel) {
> +	xa_for_each(&ctrl->cels, i, cel) {
>  		xa_erase(&ctrl->cels, i);
>  		kfree(cel);
>  	}

Ping.




More information about the Linux-nvme mailing list