diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2022-04-26 14:58:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-09 15:41:01 +0200 |
commit | 249369e93121306ccf0e1365fc5b2ecc6c8618ab (patch) | |
tree | 698153821f1d5182e9c06f07fa7dbd4a72772f2d /drivers/dma/mmp_pdma.c | |
parent | lkdtm: cfi: Fix type width for masking PAC bits (diff) | |
download | linux-249369e93121306ccf0e1365fc5b2ecc6c8618ab.tar.xz linux-249369e93121306ccf0e1365fc5b2ecc6c8618ab.zip |
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/dma/mmp_pdma.c')
0 files changed, 0 insertions, 0 deletions