diff options
author | Peng Fan <[email protected]> | 2023-10-01 20:26:18 +0800 |
---|---|---|
committer | Abel Vesa <[email protected]> | 2023-10-04 11:35:56 +0300 |
commit | 577ad169966e6e75b10e004389a3f79813e84b5d (patch) | |
tree | 4a7d92170d69d999f61f6b70200ee97a2496b64b /kernel/gcov/gcc_base.c | |
parent | 05eeeff22b216e871be76dcf216a2fdda48880e2 (diff) |
clk: imx: imx8mq: correct error handling path
Avoid memory leak in error handling path. It does not make
much sense for the SoC without clk driver, to make program behavior
correct, let's fix it.
Fixes: b80522040cd3 ("clk: imx: Add clock driver for i.MX8MQ CCM")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Peng Fan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abel Vesa <[email protected]>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions