diff options
| author | Li Zhijian <[email protected]> | 2024-01-25 09:53:29 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-01-26 20:35:17 -0800 |
| commit | 8d0293302dfb62dd436622d8bfae23b8074ce2bd (patch) | |
| tree | 3d37645a3198169a4d23856458e183f3c7d7e97d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1cf05e2508ab70ec1af56d1e62e79520d7b8dd6e (diff) | |
drivers/ptp: Convert snprintf to sysfs_emit
Per filesystems/sysfs.rst, show() should only use sysfs_emit()
or sysfs_emit_at() when formatting the value to be returned to user space.
coccinelle complains that there are still a couple of functions that use
snprintf(). Convert them to sysfs_emit().
> ./drivers/ptp/ptp_sysfs.c:27:8-16: WARNING: please use sysfs_emit
No functional change intended
Signed-off-by: Li Zhijian <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions