diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-09-05 09:25:17 +0200 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-10-04 21:53:47 +0200 |
| commit | d56ae624591606655ac5657b206d01230b5f7a06 (patch) | |
| tree | 354d87bcdcc28e3664c6b6493c498077d25af162 /tools/perf/scripts/python/flamegraph.py | |
| parent | c4b94e70365432a08ea1fe2135d2e3a1f3f4ec05 (diff) | |
| download | linux-next-d56ae624591606655ac5657b206d01230b5f7a06.tar.gz linux-next-d56ae624591606655ac5657b206d01230b5f7a06.zip | |
lib/ucs2_string: Drop arbitrary input size limit and associated WARN()
It's not really the job of library code to WARN and potentially bring
down the system (with panic_on_warn=1) on a condition that is fairly
arbitrary to begin with.
So drop the WARN_ON_ONCE() and tweak the condition so it matches the
actual constraint (count cannot exceed the range of the return type).
Reviewed-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
