diff options
| author | Wan Jiabing <[email protected]> | 2022-04-26 20:58:59 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-05-09 15:41:01 +0200 |
| commit | 249369e93121306ccf0e1365fc5b2ecc6c8618ab (patch) | |
| tree | 698153821f1d5182e9c06f07fa7dbd4a72772f2d /tools/perf/scripts/python | |
| parent | 77acbdc0f314b7040afcc02be267fe71161f4ac7 (diff) | |
bus: mhi: replace snprintf with sysfs_emit
Fix following coccicheck warning:
./drivers/bus/mhi/host/init.c:89:8-16: WARNING: use scnprintf or sprintf
Use sysfs_emit and sysfs_emit_at instead of snprintf.
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Wan Jiabing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions