fbdev: neofb: Shorten Neomagic product name in info struct
authorHelge Deller <deller@gmx.de>
Thu, 31 Aug 2023 21:14:18 +0000 (23:14 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 31 Aug 2023 22:29:33 +0000 (00:29 +0200)
commita9415b03f0213fdf8194e128980445a0d692cd5d
tree47cd8e8dd1b022404cac8e62e6e9d2ddb27e1218
parentbfac19e239a7d3e98946fa7df362fcbfd40da4cf
fbdev: neofb: Shorten Neomagic product name in info struct

Avoid those compiler warnings:
neofb.c:1959:3: warning: 'snprintf' will always be truncated;
   specified size is 16, but format string expands to at least 17 [-Wfortify-source]

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/all/CAKwvOdn0xoVWjQ6ufM_rojtKb0f1i1hW-J_xYGfKDNFdHwaeHQ@mail.gmail.com/
Link: https://github.com/ClangBuiltLinux/linux/issues/1923
drivers/video/fbdev/neofb.c