search for: eb367b5

Displaying 1 result from an estimated 1 matches for "eb367b5".

Did you mean: e5a367b5
2020 Aug 21
0
[PATCH] virtio-blk: Use kobj_to_dev() instead of container_of()
...() 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(-) > > diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c > index 63b213e0..eb367b5 100644 > --- a/drivers/block/virtio_blk.c > +++ b/drivers/block/virtio_blk.c > @@ -631,7 +631,7 @@ static struct attribute *virtblk_attrs[] = { > static umode_t virtblk_attrs_are_visible(struct kobject *kobj, > struct attribute *a, int n) > { > - struct device *dev = conta...