diff options
| author | 2026-03-24 18:17:24 +0000 | |
|---|---|---|
| committer | 2026-04-03 08:56:11 +0800 | |
| commit | 6bd87f2ea5b2d44ed1f43a90f220be34f7c1ce4e (patch) | |
| tree | b36c9dda1a642f3f2217621b812bdf5bf9a4298c /include/linux/hsi/ssh:/git@git.zx2c4.com | |
| parent | crypto: qat - fix type mismatch in RAS sysfs show functions (diff) | |
crypto: qat - replace scnprintf() with sysfs_emit()
Replace scnprintf() with sysfs_emit() in the three RAS error counter
sysfs show callbacks. sysfs_emit() is the recommended API for sysfs show
functions as per Documentation/filesystems/sysfs.rst; it enforces the
PAGE_SIZE limit implicitly, removing the need to pass it explicitly.
Signed-off-by: Atharv Dubey <atharvd440@gmail.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/hsi/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
