On Sat, Jun 20, 2020 at 09:53:43AM +0800, Wang Qing
wrote:> Use kobj_to_dev() API instead of container_of().
>
> Signed-off-by: Wang Qing <wangqing at vivo.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/20200622/55e49bf2/attachment.sig>