summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorXiaoke Wang <xkernel.wang@foxmail.com>2022-02-21 18:37:34 +0800
committerHelge Deller <deller@gmx.de>2022-02-22 09:00:09 +0100
commit997403e7782a3b9aa6e2b28c6b78793659483af3 (patch)
tree351d7940175e31313afa6df7a4f2779f3af72b39 /lib/crypto
parent0714ea330b998d94dc26834c113716563fab7f17 (diff)
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>
Diffstat (limited to 'lib/crypto')
0 files changed, 0 insertions, 0 deletions