aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2020-11-28 23:41:12 +0100
committerSam Ravnborg <sam@ravnborg.org>2020-12-05 21:01:36 +0100
commit5a15468b724bbe385bb8531942a715731c241520 (patch)
tree373756d66612139f855108f0e585916af95f5980 /tools/perf/scripts/python
parentvideo: fbdev: s3c-fb: Fix kernel-doc and set but not used warnings (diff)
video: fbdev: uvesafb: Fix string related warnings
Two W=1 string related warnings. - Using strncpy to copy string without null-termination generates a warning. Use memcpy to copy only the relevant chars - Fix a potential bug with a very long string, subtract one from the length to make room for the termination null. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Michal Januszewski <spock@gentoo.org> Cc: linux-fbdev@vger.kernel.org Link: https://patchwork.freedesktop.org/patch/msgid/20201128224114.1033617-27-sam@ravnborg.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions