[Cocci] [patch] CodingStyle: add some more error handling guidelines

Jonathan Corbet corbet at lwn.net
Tue Dec 2 14:56:39 CET 2014


On Tue, 2 Dec 2014 10:09:02 +0100 (CET)
Julia Lawall <julia.lawall at lip6.fr> wrote:

> kmalloc actually takes two arguments.  Perhaps it would be better to show
> something that looks like a valid call.

Agreed; I took the liberty of sticking in a GFP_KERNEL as I applied the
patch with Julia's ack.

Thanks,

jon


More information about the Cocci mailing list