[PATCH] virtio-blk: Use kobj_to_dev() instead of container_of()

Stefan Hajnoczi
Fri, 21 Aug 2020 11:11:51 -0000

On Fri, Aug 21, 2020 at 09:19:15AM +0800, Tian Tao
wrote:
> Use kobj_to_dev() instead of container_of()
>
> Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
> ---
>  drivers/block/virtio_blk.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL:
<http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20200821/d34ef547/attachment.sig>