mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
Prepare for calls to `virtio_pci_map_capability()` failing by returning NULL on error. If this happens, later accesses to the pointers would be unsafe so cause the probe to fail if such an error occurs. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
virtio-uclass.c | ||
virtio_blk.c | ||
virtio_blk.h | ||
virtio_mmio.c | ||
virtio_mmio.h | ||
virtio_net.c | ||
virtio_net.h | ||
virtio_pci.h | ||
virtio_pci_legacy.c | ||
virtio_pci_modern.c | ||
virtio_ring.c | ||
virtio_rng.c | ||
virtio_sandbox.c |