coccinelle: Add rules to find str_plural() replacements
authorKees Cook <keescook@chromium.org>
Thu, 15 Feb 2024 17:58:10 +0000 (09:58 -0800)
committerKees Cook <keescook@chromium.org>
Thu, 29 Feb 2024 21:38:01 +0000 (13:38 -0800)
commit1d02f252339e2eaf3ba35b9dc77e7a1a9aa7414c
treefe98920cfa047920c2de0b17b64aa96b4cf6e9eb
parent9ca5facd0400f610f3f7f71aeb7fc0b949a48c67
coccinelle: Add rules to find str_plural() replacements

Add rules for finding places where str_plural() can be used. This
currently finds:
 54 files changed, 62 insertions(+), 61 deletions(-)

Co-developed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/all/fc1b25a8-6381-47c2-831c-ab6b8201a82b@intel.com/
Signed-off-by: Kees Cook <keescook@chromium.org>
MAINTAINERS
scripts/coccinelle/api/string_choices.cocci [new file with mode: 0644]