Re: [PATCH] SELinux - convert to kzalloc

From: Denis Vlasenko
Date: Wed Sep 14 2005 - 00:07:37 EST


On Tuesday 13 September 2005 18:18, James Morris wrote:
> -       *names = (char**)kmalloc(sizeof(char*) * *len, GFP_ATOMIC);
> +       *names = (char**)kzalloc(sizeof(char*) * *len, GFP_ATOMIC);

Extra cast
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/