On Friday 24 July 2020 15:29:30 Pali Rohár wrote:
> Reset gpio is optional and it does not have to be defined for all boards.
>
> So in mvebu_pcie_powerdown() like in mvebu_pcie_powerup() check that reset
> gpio is defined prior usage to prevent NULL pointer dereference.
>
> Signed-off-by: Pali R
Reset gpio is optional and it does not have to be defined for all boards.
So in mvebu_pcie_powerdown() like in mvebu_pcie_powerup() check that reset
gpio is defined prior usage to prevent NULL pointer dereference.
Signed-off-by: Pali Rohár
---
drivers/pci/controller/pci-mvebu.c | 3 ++-
1 file
2 matches
Mail list logo