commit | 95a272e4621b856ef438be754e0ee696487deed3 | [log] [tgz] |
---|---|---|
author | Xiang W <wxjstz@126.com> | Mon Aug 29 07:53:15 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 14 18:11:58 2022 -0400 |
tree | 6da4b65045546822859495a62829de250ae4d820 | |
parent | 449ed8fc94a0b675654d3f9ca08cf44b0de5c817 [diff] |
virtio: pci: fix bug of virtio_pci_map_capability 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@126.com> Tested-by: Felix Yan <felixonmars@archlinux.org>