lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 9 Dec 2006 15:53:45 +0200
From:	"Pekka Enberg" <penberg@...helsinki.fi>
To:	"Robert P. J. Day" <rpjday@...dspring.com>
Cc:	"Linux kernel mailing list" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kcalloc: Re-order the first two out-of-order args to kcalloc().

On 12/9/06, Robert P. J. Day <rpjday@...dspring.com> wrote:
> @@ -705,7 +705,7 @@ static int uss720_probe(struct usb_inter
>         /*
>          * Allocate parport interface
>          */
> -       if (!(priv = kcalloc(sizeof(struct parport_uss720_private), 1, GFP_KERNEL))) {
> +       if (!(priv = kcalloc(1, sizeof(struct parport_uss720_private), GFP_KERNEL))) {

This one should be kzalloc

You really ought to send these cleanups to akpm@...l.org with LKML
cc'd to get them merged.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ