summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYang Guang <yang.guang5@zte.com.cn>2022-01-27 08:02:36 +0800
committerDavid S. Miller <davem@davemloft.net>2022-01-27 14:05:35 +0000
commite2cf07654efb0fd7bbcb475c6f74be7b5755a8fd (patch)
treef0b601f846d27ddb01bf61448858e7aee7cf5758 /scripts
parentc217ab7a3961df568233faf485ac67aea1f8c5cb (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 <zealci@zte.com.cn> Signed-off-by: Yang Guang <yang.guang5@zte.com.cn> Signed-off-by: David Yang <davidcomponentone@gmail.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions