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  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:   Mon, 10 Jan 2022 11:11:42 -0500
From:   Steven Rostedt <>
To:     Peter Zijlstra <>
Cc:     Xiu Jianfeng <>,,,,,,,,,,
Subject: Re: [PATCH -next] sched: Use struct_size() helper in

On Mon, 10 Jan 2022 17:06:30 +0100
Peter Zijlstra <> wrote:

> On Fri, Jan 07, 2022 at 10:52:12AM +0800, Xiu Jianfeng wrote:
> > Make use of struct_size() helper instead of an open-coded calculation.
> > There is no functional change in this patch.  
> Why ?!? This makes something that was trivial to read into something
> weird.

Please take his last patch (which only modifies the update to size) and
makes it more robust.

Which is much easier to read.

We should really replace all open coded struct_size() code.

-- Steve

Powered by blists - more mailing lists