hwmon: Replace sprintf() with sysfs_emit()
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 5 repliesApplied
- v12 of 5 patches 3 repliesSuperseded
Changes in v2 from the cover letter
1. Use imperative mood in commit messages
2. Format subjects as "hwmon: (driver) ..."
3. Remove redundant driver name from commit descriptions
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hwmon: (tc74) Replace sprintf() with sysfs_emit()drivers/ | +1 | 1 reply | |
| 2/5 | hwmon: (max31722) Replace sprintf() with sysfs_emit()drivers/ | +2 | 1 reply | |
| 3/5 | hwmon: (ads7828) Replace sprintf() with sysfs_emit()drivers/ | +1 | 1 reply | |
| 4/5 | hwmon: (max6650) Replace sprintf() with sysfs_emit()drivers/ | +2 | 1 reply | |
| 5/5 | hwmon: (emc1403) Replace sprintf() with sysfs_emit()drivers/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] hwmon: Replace sprintf() with sysfs_emit()
This series replaces sprintf() with sysfs_emit() in several hwmon drivers when writing to sysfs buffers.
sysfs_emit() performs proper bounds checking and is the preferred helper for sysfs output.
No functional changes intended.
Changes in v2:
1. Use imperative mood in commit messages
2. Format subjects as "hwmon: (driver) ..."
3. Remove redundant driver name from commit descriptions
Amay Agarwal (5):
hwmon: (tc74) Replace sprintf() with sysfs_emit()
hwmon: (max31722) Replace sprintf() with sysfs_emit()
hwmon: (ads7828) Replace sprintf() with sysfs_emit()
hwmon: (max6650) Replace sprintf() with sysfs_emit()
hwmon: (emc1403) Replace sprintf() with sysfs_emit()
drivers/hwmon/ads7828.c | 2 +- drivers/hwmon/emc1403.c | 2 +- drivers/hwmon/max31722.c | 3 ++- drivers/hwmon/max6650.c | 3 ++- drivers/hwmon/tc74.c | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-)
Signature · 1 line
2.53.0