Re: alpha: Checking for a failed kmalloc() in process_reloc_for_got()?

From: Jiri Kosina
Date: Sat Dec 03 2016 - 19:10:32 EST


On Sat, 3 Dec 2016, SF Markus Elfring wrote:

> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/alpha/kernel/module.c?id=e05f574a0bb1f4502a4b2264fdb0ef6419cf3772#n40
>
> Would it be useful to check the return value from a call of the
> function âkmallocâ also there?

*drumroll* it'd actually be a proper bugfix.

--
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html