[PATCH 06/11] virtio: sandbox: Fix device features bitfield

Simon Glass sjg at chromium.org
Mon Apr 11 20:35:52 CEST 2022


On Thu, 31 Mar 2022 at 04:10, Andrew Scull <ascull at google.com> wrote:
>
> The virtio sandbox transport was setting the device features value to
> the bit index rather than shifting a bit to the right index. Fix this
> using the bit manipulation macros.
>
> Signed-off-by: Andrew Scull <ascull at google.com>
> ---
>  drivers/virtio/virtio_sandbox.c | 2 +-
>  test/dm/virtio.c                | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

I love the fix + test, thank you.


More information about the U-Boot mailing list