diff options
| author | Bo Liu <liubo03@inspur.com> | 2022-08-05 05:10:57 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-01 16:39:48 +0200 |
| commit | 621d5d6a83bc92a93c6653fd8a424a63c95269b0 (patch) | |
| tree | 400627b0482e9bcc4c3206aa2197bcd59d64209a /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | c3b69ba5114c860d730870c03ab4ee45276e5e35 (diff) | |
ipack: Check dev_set_name() return value
It's possible that dev_set_name() returns -ENOMEM, catch and handle this.
Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Bo Liu <liubo03@inspur.com>
Link: https://lore.kernel.org/r/20220805091057.19951-1-liubo03@inspur.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions