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

From: SF Markus Elfring
Date: Sat Dec 03 2016 - 08:23:46 EST


Hello,

Another run of a small script for the semantic patch language (Coccinelle)
pointed the implementation of the function âprocess_reloc_for_gotâ out for
further considerations.
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?

Regards,
Markus
--
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