Re: [PATCH v4] video: fbdev: via: refactor strcpy and viafb_name

From: Helge Deller

Date: Tue Aug 18 2026 - 08:25:44 EST


On 8/18/26 13:17, Ajith P V wrote:
Eliminate the single-use file-scope variable `viafb_name` and pass the
"Via" string literal directly to strcpy().

Since "Via" is a literal constant, the compiler safely executes
compile-time bounds checking during fortify verification. This satisfies
the security initiative requirements while minimizing code complexity.

Signed-off-by: Ajith P V <ajithpv.linux@xxxxxxxxx>
...
drivers/video/fbdev/via/viafbdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
applied.

Thanks!
Helge