mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] spi: use kstrtoul() and snprintf()
@ 2026-10-10  8:35 Aayush Kumar
  2026-10-10  8:35 ` [PATCH v2 1/3] spi: tle62x0: Use kstrtoul() instead of simple_strtoul() Aayush Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Aayush Kumar @ 2026-10-10  8:35 UTC (permalink / raw)
  To: Mark Brown; +Cc: David Laight, linux-spi, linux-kernel, Aayush Kumar

From: Aayush Kumar <aayushkmx@gmail.com>

Replace simple_strtoul() with kstrtoul() and sprintf() with snprintf()
in three SPI drivers.

Signed-off-by: Aayush Kumar <aayushkmx@gmail.com>
---
Changes in v2:
- Drop the two strcpy() -> strscpy() patches (David Laight).
---

Aayush Kumar (3):
  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-omap2-mcspi.c | 6 ++++--
 drivers/spi/spi-s3c64xx.c     | 3 ++-
 drivers/spi/spi-tle62x0.c     | 6 +++---
 3 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-10  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10  8:35 [PATCH v2 0/3] spi: use kstrtoul() and snprintf() Aayush Kumar
2026-10-10  8:35 ` [PATCH v2 1/3] spi: tle62x0: Use kstrtoul() instead of simple_strtoul() Aayush Kumar
2026-10-10  8:35 ` [PATCH v2 2/3] spi: omap2-mcspi: Use snprintf() instead of sprintf() Aayush Kumar
2026-10-10  8:35 ` [PATCH v2 3/3] spi: s3c64xx: " Aayush Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®