diff options
| author | Gabriel Rondon <grondon@gmail.com> | 2026-03-30 19:22:53 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-31 10:46:39 +0200 |
| commit | adb44bab0ac96391dc9d0e4b3604b65e558f23ec (patch) | |
| tree | 03c98d1f8f70c9ea2af9a913df04cbb9ca24aa7f /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 2466b3dd4045cd9f5e3f74803a00284bdaf2e493 (diff) | |
staging: most: dim2: replace BUG_ON() in configure_channel()
Replace BUG_ON() range check on ch_idx with a return of -EINVAL.
BUG_ON() is deprecated as it crashes the entire kernel on assertion
failure (see Documentation/process/deprecated.rst).
Signed-off-by: Gabriel Rondon <grondon@gmail.com>
Link: https://patch.msgid.link/20260330182255.75241-4-grondon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
