Skip to content

spi: use kstrtoul() and snprintf()

Aayush Kumar linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 1 replyIn review

Changes in v2 from the cover letter

- Drop the two strcpy() -> strscpy() patches (David Laight).
---

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spi: tle62x0: Use kstrtoul() instead of simple_strtoul()drivers/spi/spi-tle62x0.c+3 -30 replies
2/3spi: omap2-mcspi: Use snprintf() instead of sprintf()drivers/spi/spi-omap2-mcspi.c+4 -20 replies
3/3spi: s3c64xx: Use snprintf() instead of sprintf()drivers/spi/spi-s3c64xx.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] spi: use kstrtoul() and snprintf()

From: Aayush Kumar <[email protected]>

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

---
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(-)
Signature · 1 line
2.56.0