[PATCH 5.1 125/155] PCI: rcar: Fix a potential NULL pointer dereference