Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment