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]
Message-ID: <176308668834.11952.12771712972554296598@localhost.localdomain>
Date: Thu, 13 Nov 2025 18:18:08 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Adrian Barnaś <abarnas@...gle.com>, Michael Turquette <mturquette@...libre.com>, Nishanth Menon <nm@...com>, Santosh Shilimkar <ssantosh@...nel.org>, Tero Kristo <kristo@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Adrian Barnaś <abarnas@...gle.com>, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH] clk: keystone: Fix discarded const qualifiers

Quoting Adrian Barnaś (2025-10-28 09:16:42)
> Add const qualifiers to the pointers returned from 'container_of' macro
> to prevent breaking the const promise on const struct pointers from
> parameters.
> 
> Once you have a mutable container structure pointer, you can change
> structure fields through it, which violates the const guarantee.
> 
> Signed-off-by: Adrian Barnaś <abarnas@...gle.com>
> ---

Applied to clk-next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ