Skip to content
Commit 0336f898 authored by Kees Cook's avatar Kees Cook
Browse files

coccinelle: Add rules to find str_down_up() replacements



As done with str_up_down(), add checks for str_down_up() opportunities.
5 cases currently exist in the tree.

Suggested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240812183637.work.999-kees@kernel.org


Reviewed-by: default avatarAndy Shevchenko <andy@kernel.org>
Signed-off-by: default avatarKees Cook <kees@kernel.org>
parent f5c1ca3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment