diff options
author | Andrew Scull <ascull@google.com> | 2022-04-21 16:11:00 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-03 15:50:45 -0400 |
commit | da03cdfa7a3454a6d66d4ae873525ea2409baf06 (patch) | |
tree | 850d9ec1f64bb76ba7a6f4dbfd44dbc606b03c65 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | |
parent | 30471d5351cf397d2a080fdcb747c7eb354bfab8 (diff) |
virtio: pci: Fix discovery of device config length
The length of the device config was erroneously being taken from the
notify capability. Correct this by finding the length in the device
capability.
Fixes: 550435edf810 ("virtio: pci: Support non-legacy PCI transport device")
Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h')
0 files changed, 0 insertions, 0 deletions