diff options
author | Paul Cercueil <[email protected]> | 2020-02-13 13:19:51 -0300 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-03-20 17:08:40 -0700 |
commit | c067b46d731a764fc46ecc466c2967088c97089e (patch) | |
tree | 4226d72b4780fb0688ec26f4a186b1dae7329bce /lib/test_fortify | |
parent | 6673db4f3f261b8ea955f0130eb8cc28b57f500b (diff) |
clk: ingenic/jz4770: Exit with error if CGU init failed
Exit jz4770_cgu_init() if the 'cgu' pointer we get is NULL, since the
pointer is passed as argument to functions later on.
Fixes: 7a01c19007ad ("clk: Add Ingenic jz4770 CGU driver")
Cc: [email protected]
Signed-off-by: Paul Cercueil <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_fortify')
0 files changed, 0 insertions, 0 deletions