On Thu, 27 Jul 2006, Thomas Graf wrote:

> +     rule = kmalloc(ops->rule_size, GFP_KERNEL);
> +     if (rule == NULL) {
> +             err = -ENOMEM;
> +             goto errout;
> +     }
> +     memset(rule, 0, ops->rule_size);
> +

kzalloc() ? :-)



- James
-- 
James Morris
<[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to