diff options
author | Yang Guang | 2022-01-27 08:02:36 +0800 |
---|---|---|
committer | David S. Miller | 2022-01-27 14:05:35 +0000 |
commit | e2cf07654efb0fd7bbcb475c6f74be7b5755a8fd (patch) | |
tree | f0b601f846d27ddb01bf61448858e7aee7cf5758 /fs/xfs/xfs_bmap_util.h | |
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 <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 'fs/xfs/xfs_bmap_util.h')
0 files changed, 0 insertions, 0 deletions