fpga: dfl: clean up string formatting for sysfs_emit() and dev_dbg()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fpga: dfl: use sysfs_emit() to format sysfs valuesdrivers/ drivers/ drivers/ +6 more | +43 | 1 reply | |
| 2/2 | fpga: dfl: omit unneeded casts of u64 values for dev_dbg()drivers/ drivers/ drivers/ | +9 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] fpga: dfl: clean up string formatting for sysfs_emit() and dev_dbg()
The first patch in this series substitutes sysfs_emit() for sprintf() and scnprintf() to format sysfs values and removes explicit casts in favour of using the correct printk() format specifiers. The second patch omits unneeded casts of u64 values to unsigned long long for dev_dbg().
These changes are cosmetic only; no functional changes.
Peter Colberg (2):
fpga: dfl: use sysfs_emit() to format sysfs values
fpga: dfl: omit unneeded casts of u64 values for dev_dbg()
drivers/fpga/dfl-afu-dma-region.c | 14 ++++++-------- drivers/fpga/dfl-afu-error.c | 7 +++---- drivers/fpga/dfl-afu-main.c | 21 +++++++++------------ drivers/fpga/dfl-fme-error.c | 19 ++++++++----------- drivers/fpga/dfl-fme-main.c | 26 ++++++++++---------------- drivers/fpga/dfl-fme-mgr.c | 5 ++--- drivers/fpga/dfl-fme-perf.c | 16 +++++++--------- drivers/fpga/dfl.c | 4 ++-- drivers/fpga/fpga-bridge.c | 2 +- drivers/fpga/fpga-mgr.c | 4 ++-- drivers/fpga/fpga-region.c | 5 ++--- 11 files changed, 52 insertions(+), 71 deletions(-)
Signature · 1 line
2.28.0