On Wed, 12 Oct 2022 at 13:58, Michal Suchanek wrote:
>
> Check the returned value from pci_get_bus. After a later patch
> uclass_first_device_err may return a device on error and then checking
> that a device is returned will not suffice.
>
> Signed-off-by: Michal Suchanek
> ---
> v6: - split off
Check the returned value from pci_get_bus. After a later patch
uclass_first_device_err may return a device on error and then checking
that a device is returned will not suffice.
Signed-off-by: Michal Suchanek
---
v6: - split off as separate patch
---
drivers/pci/pci-uclass.c | 7 +++
1 file
2 matches
Mail list logo