crypto: qat - fix and cleanup RAS sysfs show functions
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 | crypto: qat - fix type mismatch in RAS sysfs show functionsdrivers/ | +6 | 0 replies | |
| 2/2 | crypto: qat - replace scnprintf() with sysfs_emit()drivers/ | +3 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ahsan Atta | Andy Shevchenko |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | 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] crypto: qat - fix and cleanup RAS sysfs show functions
This small series fixes a type mismatch bug in the RAS error counter sysfs interface of the Intel QAT driver and follows up with a cleanup to use the recommended sysfs output API.
Patch #1 fixes a type mismatch in the RAS sysfs show callbacks: the local counter variable was declared as 'unsigned long' while atomic_read() returns int, causing an implicit conversion and a wrong '%ld' format specifier. Patch #2 follows up by migrating the same callbacks from scnprintf() to the recommended sysfs_emit() API.
Atharv Dubey (1):
crypto: qat - replace scnprintf() with sysfs_emit()
Giovanni Cabiddu (1):
crypto: qat - fix type mismatch in RAS sysfs show functions
.../intel/qat/qat_common/adf_sysfs_ras_counters.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
base-commit: 8da773efcd2b505cca6bbd13aad4a28fda61cf37
Signature · 1 line
2.53.0