diff options
author | Fei Shao <[email protected]> | 2023-12-06 15:17:30 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-12-15 17:27:04 +0100 |
commit | 3ae3cf418a01203c33113e19cc1029ac434c96b5 (patch) | |
tree | 8143877932a4272227c564e9932831f2f289fac9 /tools/perf/scripts/python | |
parent | 490d88ef548d463c85bd75ef5300b25c92d71e5a (diff) |
spmi: Return meaningful errors in spmi_controller_alloc()
spmi_controller_alloc() currently returns NULL to all types of errors,
which can be improved.
Use appropriate error code in returns and pass the errors from used
functions where possible.
Signed-off-by: Fei Shao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions