diff options
| author | Paul Cercueil <[email protected]> | 2020-02-13 16:19:51 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2020-03-21 00:08:40 +0000 |
| commit | c067b46d731a764fc46ecc466c2967088c97089e (patch) | |
| tree | 4226d72b4780fb0688ec26f4a186b1dae7329bce /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | clk: JZ4780: Add function for enable the second core. (diff) | |
| download | kernel-c067b46d731a764fc46ecc466c2967088c97089e.tar.gz kernel-c067b46d731a764fc46ecc466c2967088c97089e.zip | |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
