[PATCH 0/2] lib: add sputchar() helper

From: Yury Norov
Date: Sat Sep 04 2021 - 19:12:28 EST


This series adds sputchar() helper and coccinelle script that I used to
find candidates for cleanup.

Yury Norov (2):
lib/vsprintf: add sputchar()
coccinelle script

include/linux/kernel.h | 8 +
lib/string_helpers.c | 56 ++-----
lib/vsprintf.c | 222 ++++++++-----------------
scripts/coccinelle/misc/sputchar.cocci | 190 +++++++++++++++++++++
4 files changed, 280 insertions(+), 196 deletions(-)
create mode 100644 scripts/coccinelle/misc/sputchar.cocci

--
2.30.2