diff options
| author | Gabriel Rondon <grondon@gmail.com> | 2026-03-30 19:22:55 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-31 10:46:39 +0200 |
| commit | e87946666e47d4b6f615e9ba0075375493194810 (patch) | |
| tree | 1a407f539f30cc9fbc2708279edb568d21a16d0b /tools/lib/python | |
| parent | e922cb40026c7ab788d1955f8977e354167f6496 (diff) | |
staging: most: dim2: replace BUG_ON() in poison_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-6-grondon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
