aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/altera-ps-spi.c
diff options
context:
space:
mode:
authorJaehoon Chung <[email protected]>2018-01-22 11:28:54 +0900
committerLorenzo Pieralisi <[email protected]>2018-01-23 14:37:11 +0000
commitb5d6bc90c9129279d363ccbc02ad11e7b657c0b4 (patch)
tree8354e4db4267fc376cff69ee6ff2b42fbbebae59 /drivers/fpga/altera-ps-spi.c
parent3b65ca50d24ce33cb92d88840e289135c92b40ed (diff)
PCI: exynos: Fix a potential init_clk_resources NULL pointer dereference
In order to avoid triggering a NULL pointer dereference in exynos_pcie_probe() a check must be put in place to detect if the init_clk_resources hook is initialized before calling it. Add the respective function pointer check in exynos_pcie_probe(). Signed-off-by: Jaehoon Chung <[email protected]> [[email protected]: rewrote the commit log] Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-ps-spi.c')
0 files changed, 0 insertions, 0 deletions