diff options
author | Herve Codina <[email protected]> | 2024-11-05 15:56:23 +0100 |
---|---|---|
committer | Christophe Leroy <[email protected]> | 2024-11-14 08:26:15 +0100 |
commit | cb3daa51db819a172e9524e96e2ed96b4237e51a (patch) | |
tree | 64d2bc7e09b88fdefc3059488249e7898b45e820 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | c9f1efabf8e3b3ff886a42669f7093789dbeca94 (diff) |
soc: fsl: cpm1: qmc: Set the ret error code on platform_get_irq() failure
A kernel test robot detected a missing error code:
qmc.c:1942 qmc_probe() warn: missing error code 'ret'
Indeed, the error returned by platform_get_irq() is checked and the
operation is aborted in case of failure but the ret error code is
not set in that case.
Set the ret error code.
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC")
Cc: [email protected]
Signed-off-by: Herve Codina <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christophe Leroy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions