summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2026-09-05 09:25:17 +0200
committerArd Biesheuvel <ardb@kernel.org>2026-10-04 21:53:47 +0200
commitd56ae624591606655ac5657b206d01230b5f7a06 (patch)
tree354d87bcdcc28e3664c6b6493c498077d25af162 /tools/perf/scripts/python/export-to-sqlite.py
parentc4b94e70365432a08ea1fe2135d2e3a1f3f4ec05 (diff)
downloadlinux-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions