staging: Replace snprintf() with scnprintf()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | staging: fbtft: Replace snprintf() with scnprintf()drivers/ | +1 | 0 replies | |
| 2/3 | staging: fieldbus: Replace snprintf() with scnprintf()drivers/ | +1 | 2 replies | |
| 3/3 | staging: comedi: Replace snprintf() with scnprintf()drivers/ | +4 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Outreachy][PATCH 0/3] staging: Replace snprintf() with scnprintf()
The show() methods in device attributes should return the number of bytes printed into the buffer which is the return value of scnprintf(). snprintf() returns the potential number of bytes that could be written which may be greater than the actual length to be written.
This patchset is a series of trivial changes across the staging directory to replace snprintf with scnprintf in the relevant files.
Sumera Priyadarsini (3):
staging: fbtft: Replace snprintf() with scnprintf()
staging: fieldbus: Replace snprintf() with scnprintf()
staging: comedi: Replace snprintf() with scnprintf()
drivers/staging/comedi/comedi_fops.c | 8 ++++---- drivers/staging/fbtft/fbtft-sysfs.c | 2 +- drivers/staging/fieldbus/dev_core.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1