diff options
| author | 2017-12-04 15:54:26 +0100 | |
|---|---|---|
| committer | 2018-02-02 15:24:04 +1000 | |
| commit | ee0d58100296d9b1a2aa23b913c09e8f297449a4 (patch) | |
| tree | 91323797d3012d0f3189dfb80134c783e9c29360 /include/linux/mfd/git:/ssh: | |
| parent | drm/nouveau/drm/nouveau/mmu: fix odd_ptr_err.cocci warnings (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 'include/linux/mfd/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
