summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAtharv Dubey <atharvd440@gmail.com>2026-03-24 18:17:24 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2026-04-03 08:56:11 +0800
commit6bd87f2ea5b2d44ed1f43a90f220be34f7c1ce4e (patch)
treeb36c9dda1a642f3f2217621b812bdf5bf9a4298c /tools/perf/scripts/python
parentec23d75c4b77ae42af0777ea59599b1d4f611371 (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions