diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2025-02-24 11:27:13 +0300 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-03-27 04:58:25 +0300 |
commit | 24fdd5074b205cfb0ef4cd0751a2d03031455929 (patch) | |
tree | d043b8f1b657964170faa4dcd5284d0178506b76 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | d3e2ea64973f517989e7fc6416d17f34f8dc4002 (diff) | |
download | linux-24fdd5074b205cfb0ef4cd0751a2d03031455929.tar.xz |
mailbox: use error ret code of of_parse_phandle_with_args()
In case of error, of_parse_phandle_with_args() returns -EINVAL when the
passed index is negative, or -ENOENT when the index is for an empty
phandle. The mailbox core overwrote the error return code with a less
precise -ENODEV. Use the error returned code from
of_parse_phandle_with_args().
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions