aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2023-07-19 23:22:52 +0300
committerLinus Walleij <[email protected]>2023-07-28 22:08:58 +0200
commitecfe9a015d3e1e46504d5b3de7eef1f2d186194a (patch)
tree62c32628a99e5e3ef755453f3c54ebfa17d25e6f /tools/perf/util/trace-event-scripting.c
parentb56e23bf0c606b68df2919317f7065dabe3c4e86 (diff)
pinctrl: core: handle radix_tree_insert() errors in pinctrl_register_one_pin()
pinctrl_register_one_pin() doesn't check the result of radix_tree_insert() despite they both may return a negative error code. Linus Walleij said he has copied the radix tree code from kernel/irq/ where the functions calling radix_tree_insert() are *void* themselves; I think it makes more sense to propagate the errors from radix_tree_insert() upstream if we can do that... Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool. Signed-off-by: Sergey Shtylyov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions