]> git.itanic.dy.fi Git - linux-stable/commit
fbdev: offb: Simplify offb_init_fb()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 21 Oct 2023 06:53:37 +0000 (08:53 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 7 Nov 2023 13:42:34 +0000 (14:42 +0100)
commit02d487fa30042fb68392e36f04e51fda266637e7
tree6dff6e69a4ca39ab62c3e7fd1b94f2e952507448
parent7be6adf11370d58f9a7afa50fbf06801db04af5c
fbdev: offb: Simplify offb_init_fb()

Turn a strcpy()+strncat()+'\0' into an equivalent snprintf().

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/offb.c