diff options
| author | Xiang W <[email protected]> | 2022-08-29 07:53:15 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-15 09:55:30 -0400 |
| commit | 04dd7c8e5624ee971004a6b310c2e7d958a0018c (patch) | |
| tree | b77780a8367817178675ac7d00f17c8d245a9082 /include/linux/linux_string.h | |
| parent | 4ca8d95ce1e71995052e81f1854a23803ca48b73 (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 <[email protected]>
Tested-by: Felix Yan <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
