search for: d7d2db1

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

Did you mean: a7d2db9
2017 Dec 26
1
[RFC PATCH] virtio: add space for device features show
...ace every 8bit. example: 00101010 01110000 00000000 00001100 Signed-off-by: weiping zhang <zhangweiping at didichuxing.com> --- drivers/virtio/virtio.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 59e36ef..d7d2db1 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -50,9 +50,12 @@ static ssize_t features_show(struct device *_d, /* We actually represent this as a bitstring, as it could be * arbitrary length in future. */ - for (i = 0; i < sizeof(dev->features)*8; i++) - len +=...