diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2022-04-26 20:58:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-09 15:41:01 +0200 |
commit | 249369e93121306ccf0e1365fc5b2ecc6c8618ab (patch) | |
tree | 698153821f1d5182e9c06f07fa7dbd4a72772f2d /drivers/clk/davinci | |
parent | 77acbdc0f314b7040afcc02be267fe71161f4ac7 (diff) | |
download | linux-249369e93121306ccf0e1365fc5b2ecc6c8618ab.tar.bz2 |
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 <keescook@chromium.org>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20220426125902.681258-1-wanjiabing@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk/davinci')
0 files changed, 0 insertions, 0 deletions