aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-03-11 14:00:53 +0300
committerLinus Walleij <[email protected]>2024-03-12 12:53:33 +0100
commit289b950b8e50d2e23120081d110f3f6fae5c085f (patch)
treee0079e2a3a985d6339650cc5e8a184b6bf610138 /tools/perf/util/trace-event-scripting.c
parentc056ccff5ec5751dd7da97bbed8efb920c778206 (diff)
gpio: nomadik: remove BUG_ON() in nmk_gpio_populate_chip()
Using BUG_ON() is discouraged and also the check wasn't done early enough to prevent an out of bounds access. Check earlier and return an error instead of calling BUG(). Signed-off-by: Dan Carpenter <[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