Skip to content
Commit 6f02bdfc authored by Denis Efremov's avatar Denis Efremov Committed by Masahiro Yamada
Browse files

modpost: add NOFAIL to strndup



Add NOFAIL check for the strndup call, because the function
allocates memory and can return NULL. All calls to strdup in
modpost are checked with NOFAIL.

Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 389c9af7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment