[PATCH 0/5] spi: replace strcpy(), sprintf() and simple_strtoul() with strscpy(), snprintf() and kstrtoul()

From: Aayush Kumar

Date: Fri Oct 09 2026 - 09:48:24 EST


Replace strcpy(), sprintf() and simple_strtoul() with their safer
modern equivalents (strscpy, snprintf, kstrtoul).

Aayush Kumar (5):
spi: butterfly: Use strscpy() instead of strcpy()
spi: lm70llp: Use strscpy() instead of strcpy()
spi: tle62x0: Use kstrtoul() instead of simple_strtoul()
spi: omap2-mcspi: Use snprintf() instead of sprintf()
spi: s3c64xx: Use snprintf() instead of sprintf()

drivers/spi/spi-butterfly.c | 3 ++-
drivers/spi/spi-lm70llp.c | 2 +-
drivers/spi/spi-omap2-mcspi.c | 6 ++++--
drivers/spi/spi-s3c64xx.c | 3 ++-
drivers/spi/spi-tle62x0.c | 6 +++---
5 files changed, 12 insertions(+), 8 deletions(-)

--
2.56.0