commit | ee0d58100296d9b1a2aa23b913c09e8f297449a4 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Mon Dec 04 15:54:26 2017 +0100 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Feb 02 15:24:04 2018 +1000 |
tree | 91323797d3012d0f3189dfb80134c783e9c29360 | |
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>