diff options
author | Qing Wang <wangqing@vivo.com> | 2021-10-13 05:28:13 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2021-10-15 22:52:10 +0200 |
commit | cc83ff247be6aaabb3a45e8c0fb048e91afe7b8a (patch) | |
tree | ae5ce13eac05912301edcf7fcf1f773bcbbc7fd2 /kernel/kallsyms.c | |
parent | video: fbdev: replace snprintf in show functions with sysfs_emit (diff) | |
download | linux-cc83ff247be6aaabb3a45e8c0fb048e91afe7b8a.tar.xz linux-cc83ff247be6aaabb3a45e8c0fb048e91afe7b8a.zip |
video: omapfb: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show functions.
Fix the coccicheck warning:
WARNING: use scnprintf or sprintf.
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Signed-off-by: Qing Wang <wangqing@vivo.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1634095693-4428-1-git-send-email-wangqing@vivo.com
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions