diff options
author | 2020-03-11 09:02:07 +0100 | |
---|---|---|
committer | 2020-03-11 09:08:44 +0100 | |
commit | 847e33867b65fdc4747a15646d1fdb94e65740a6 (patch) | |
tree | 74f66a850430f147dd32d0a5e65680ec59fc950c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers/base/cpu: Use scnprintf() for avoiding potential buffer overflow (diff) | |
download | wireguard-linux-847e33867b65fdc4747a15646d1fdb94e65740a6.tar.xz wireguard-linux-847e33867b65fdc4747a15646d1fdb94e65740a6.zip |
drivers/base/cpu: Simplify s*nprintf() usages
Use the simpler sprintf() instead of snprintf() or scnprintf() in a
single-shot sysfs output callbacks where you are very sure that it
won't go over PAGE_SIZE buffer limit.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200311080207.12046-3-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions