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: <161115565913.676119.6220305847430124366.b4-ty@collabora.com>
Date:   Wed, 20 Jan 2021 16:14:38 +0100
From:   Enric Balletbo i Serra <enric.balletbo@...labora.com>
To:     Rikard Falkeborn <rikard.falkeborn@...il.com>,
        Benson Leung <bleung@...omium.org>,
        Guenter Roeck <groeck@...omium.org>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] platform/chrome: Constify static attribute_group structs

On Sat, 9 Jan 2021 01:17:48 +0100, Rikard Falkeborn wrote:
> The only usage of these is to print their name in a dev_err-message, and
> to pass their address to sysfs_create_group() and sysfs_remove_group(),
> both which takes pointers to const. Make them const to allow the compiler
> to put them in read-only memory.

Applied, thanks!

[1/1] platform/chrome: Constify static attribute_group structs
      commit: ed07d774c4b2793be4d2bfc62cf69c3e55667f5a

Best regards,
-- 
Enric Balletbo i Serra <enric.balletbo@...labora.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ