diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-12-18 09:22:41 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-01-09 19:35:37 +0100 |
commit | d39eca547f3ec67140a5d765a426eb157b978a59 (patch) | |
tree | 605cf569b96b9f0bff791f50831c61d619ec76f6 /drivers/clk/zynqmp | |
parent | clk: imx: fix potential NULL dereference in imx8qxp_lpcg_clk_probe() (diff) | |
download | linux-d39eca547f3ec67140a5d765a426eb157b978a59.tar.xz linux-d39eca547f3ec67140a5d765a426eb157b978a59.zip |
clk: tegra: dfll: Fix a potential Oop in remove()
If tegra_dfll_unregister() fails then "soc" is an error pointer. We
should just return instead of dereferencing it.
Fixes: 1752c9ee23fb ("clk: tegra: dfll: Fix drvdata overwriting issue")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/zynqmp')
0 files changed, 0 insertions, 0 deletions