commit | da03cdfa7a3454a6d66d4ae873525ea2409baf06 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Apr 21 16:11:00 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue May 03 15:50:45 2022 -0400 |
tree | 850d9ec1f64bb76ba7a6f4dbfd44dbc606b03c65 | |
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>