diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-12-04 15:54:26 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-02-02 15:24:04 +1000 |
commit | ee0d58100296d9b1a2aa23b913c09e8f297449a4 (patch) | |
tree | 91323797d3012d0f3189dfb80134c783e9c29360 /tools/perf/scripts/python/syscall-counts.py | |
parent | 94ee54dc808aa5a13630b082d6f892d0cf7bf527 (diff) |
drm/nouveau: nouveau: use correct string length
gcc-8 reports
drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c: In function 'nvkm_perfmon_mthd':
include/linux/string.h:265:9: error: '__builtin_strncpy' specified bound 64 equals destination size [-Werror=stringop-truncation]
We need one less byte or call strlcpy() to make it a
nul-terminated string.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions