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]
Message-Id: <20220211012954.1650997-1-chi.minghao@zte.com.cn>
Date:   Fri, 11 Feb 2022 01:29:54 +0000
From:   cgel.zte@...il.com
To:     kvalo@...nel.org
Cc:     cgel.zte@...il.com, chi.minghao@....com.cn, davem@...emloft.net,
        kuba@...nel.org, linux-kernel@...r.kernel.org,
        linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
        wcn36xx@...ts.infradead.org, zealci@....com.cn
Subject: Re: [PATCH V2] wcn36xx: use struct_size over open coded arithmetic

change log:

v1: msg_ind = kmalloc(struct_size(*msg_ind, msg, len), GFP_ATOMIC);
v2: msg_ind = kmalloc(struct_size(msg_ind, msg, len), GFP_ATOMIC);

thanks
Minghao

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ