diff options
| author | Qing Wang <[email protected]> | 2021-10-29 14:09:30 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-29 06:43:21 -0600 |
| commit | 1b86db5f4e025840e0bf7cef2b10e84531954386 (patch) | |
| tree | 125977979d9d84e879d63bd866b9d5cfcb8bc134 /drivers/net/ethernet/intel/ice/ice_common.c | |
| parent | cf2197ca4b8c199d188593ca6800ea1827c42171 (diff) | |
bcache: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show functions.
Fix the following coccicheck warning:
drivers/md/bcache/sysfs.h:54:12-20: WARNING: use scnprintf or sprintf.
Implement sysfs_print() by sysfs_emit() and remove snprint() since no one
uses it any more.
Suggested-by: Coly Li <[email protected]>
Signed-off-by: Qing Wang <[email protected]>
Signed-off-by: Coly Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.c')
0 files changed, 0 insertions, 0 deletions