Home
last modified time | relevance | path

Searched hist:"997403 e7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/fbdev/via/
H A Dviafbdev.c997403e7 Mon Feb 21 04:37:34 CST 2022 Xiaoke Wang <xkernel.wang@foxmail.com> video: fbdev: via: check the return value of kstrdup()

kstrdup() is a memory allocation function which can return NULL when
some internal memory errors happen. It is better to check the return
value of it to catch the error in time during the setup of viafb.

Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>