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] [day] [month] [year] [list]
Date:   Tue, 05 Sep 2017 14:57:40 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     zahari.doychev@...ux.com
Cc:     jiri@...nulli.us, netdev@...r.kernel.org
Subject: Re: [PATCH][next v2] rocker: fix kcalloc parameter order

From: Zahari Doychev <zahari.doychev@...ux.com>
Date: Tue,  5 Sep 2017 21:49:58 +0200

> The function calls to kcalloc use wrong parameter order and incorrect flags
> values. GFP_KERNEL is used instead of flags now and the order is corrected.
> 
> The change was done using the following coccinelle script:
> 
> @@
> expression E1,E2;
> type T;
> @@
> 
> -kcalloc(E1, E2, sizeof(T))
> +kcalloc(E2, sizeof(T), GFP_KERNEL)
> 
> Signed-off-by: Zahari Doychev <zahari.doychev@...ux.com>

Applied, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ