commit | ba650edd0471e31b7c488210c33f6c795b4fa51c | [log] [tgz] |
---|---|---|
author | Xiang W <wxjstz@126.com> | Mon Aug 29 07:53:15 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Sep 15 09:55:30 2022 -0400 |
tree | b77780a8367817178675ac7d00f17c8d245a9082 | |
parent | d34dab6306c48b3802eff15cfb224e4299bb2cd1 [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>