[PATCH 1/2] nvmet-auth: clean up with done_kfree

Chaitanya Kulkarni chaitanyak at nvidia.com
Fri Aug 12 10:43:06 PDT 2022


On 8/11/22 20:12, Jackie Liu wrote:
> From: Jackie Liu <liuyun01 at kylinos.cn>
> 
> Jump directly to done_kfree to release d, which is consistent with the
> code style behind.
> 
> Reported-by: Genjian Zhang <zhanggenjian at kylinos.cn>
> Signed-off-by: Jackie Liu <liuyun01 at kylinos.cn>

done_kfree label already has a kfree call.

Looks good.

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

-ck




More information about the Linux-nvme mailing list