mirror of
https://github.com/lkl/linux.git
synced 2025-12-22 01:23:06 +09:00
kstrdup() returns NULL when some internal memory errors happen, it is better to check the return value of it so to catch the memory error in time. Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
34 KiB
34 KiB