spi: replace strcpy(), sprintf() and simple_strtoul() with strscpy(), snprintf() and kstrtoul()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | spi: butterfly: Use strscpy() instead of strcpy()drivers/ | +2 | 0 replies | |
| 2/5 | spi: lm70llp: Use strscpy() instead of strcpy()drivers/ | +1 | 2 replies | |
| 3/5 | spi: tle62x0: Use kstrtoul() instead of simple_strtoul()drivers/ | +3 | 0 replies | |
| 4/5 | spi: omap2-mcspi: Use snprintf() instead of sprintf()drivers/ | +4 | 0 replies | |
| 5/5 | spi: s3c64xx: Use snprintf() instead of sprintf()drivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] spi: replace strcpy(), sprintf() and simple_strtoul() with strscpy(), snprintf() and kstrtoul()
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(-)
Signature · 1 line
2.56.0