[PATCH] virtio: pci: fix bug of virtio_pci_map_capability

Tom Rini trini at konsulko.com
Thu Sep 15 16:02:39 CEST 2022


On Mon, Aug 29, 2022 at 07:53:15AM +0800, Xiang W wrote:

> The bar of the structure virtio_pci_cap is the index, and each base
> address occupies 4 bytes, so it needs to be multiplied by 4.
> 
> This patch fixes a bug reported by Felix Yan
> https://lists.denx.de/pipermail/u-boot/2022-August/492779.html
> 
> Signed-off-by: Xiang W <wxjstz at 126.com>
> Tested-by: Felix Yan <felixonmars at archlinux.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220915/4dc2015c/attachment.sig>


More information about the U-Boot mailing list