diff options
author | Yang Guang <[email protected]> | 2022-01-27 08:02:36 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-27 14:05:35 +0000 |
commit | e2cf07654efb0fd7bbcb475c6f74be7b5755a8fd (patch) | |
tree | f0b601f846d27ddb01bf61448858e7aee7cf5758 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | c217ab7a3961df568233faf485ac67aea1f8c5cb (diff) |
ptp: replace snprintf with sysfs_emit
coccinelle report:
./drivers/ptp/ptp_sysfs.c:17:8-16:
WARNING: use scnprintf or sprintf
./drivers/ptp/ptp_sysfs.c:390:8-16:
WARNING: use scnprintf or sprintf
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Yang Guang <[email protected]>
Signed-off-by: David Yang <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions