aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2023-06-02 10:00:05 +0300
committerGreg Kroah-Hartman <[email protected]>2023-06-02 08:30:55 +0100
commit49c80922ff8115bc86c82e5fc9e6842cd87db689 (patch)
tree705214c97dde21c20195fbee6620a144d31a145a /tools/perf/scripts/python/export-to-sqlite.py
parent539914240a01c7d68476d10c07b7f4f9a05d38ed (diff)
serial: core: Fix error handling for serial_core_ctrl_device_add()
Checking for NULL is incorrect as serial_base_ctrl_add() uses ERR_PTR(). Let's also pass any returned error along, there's no reason to translate all errors to -ENODEV. Fixes: 84a9582fd203 ("serial: core: Start managing serial controllers to enable runtime PM") Signed-off-by: Tony Lindgren <[email protected]> Reviewed-by: Jiri Slaby <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions