[PATCH] nvme: Switch to using the new API kobj_to_dev()

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Thu Mar 4 22:19:13 GMT 2021


On 3/4/21 01:58, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./drivers/nvme/host/core.c:3714:60-61: WARNING opportunity for
> kobj_to_dev().
>
> ./drivers/nvme/host/core.c:3475:60-61: WARNING opportunity for
> kobj_to_dev().
>
> Reported-by: Abaci Robot <abaci at linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong at linux.alibaba.com>
This patch is already NACKED.



More information about the Linux-nvme mailing list