Re: [PATCH] modpost: add NOFAIL to strdup call

2019-10-16 Thread Masahiro Yamada
On Tue, Oct 15, 2019 at 3:49 PM Denis Efremov wrote: > > Add NOFAIL check for the strdup call, since the function > allocates memory and can return NULL. All strdup calls in > modpost are checked with NOFAIL. > > Signed-off-by: Denis Efremov > --- > scripts/mod/modpost.c | 2 +- > 1 file changed

[PATCH] modpost: add NOFAIL to strdup call

2019-10-14 Thread Denis Efremov
Add NOFAIL check for the strdup call, since the function allocates memory and can return NULL. All strdup calls in modpost are checked with NOFAIL. Signed-off-by: Denis Efremov --- scripts/mod/modpost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mod/modpost.c b/s