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]
Date:   Fri, 24 Jun 2022 09:31:22 -0700
From:   Jeff Johnson <quic_jjohnson@...cinc.com>
To:     Arend Van Spriel <aspriel@...il.com>,
        Paul Cercueil <paul@...pouillou.net>,
        Franky Lin <franky.lin@...adcom.com>
CC:     <linux-wireless@...r.kernel.org>,
        <brcm80211-dev-list.pdl@...adcom.com>,
        <SHA-cyfmac-dev-list@...ineon.com>, <netdev@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] brcmfmac: Remove #ifdef guards for PM related
 functions

On 6/24/2022 2:24 AM, Arend Van Spriel wrote:
> On 6/23/2022 2:42 PM, Paul Cercueil wrote:

[snip]

>> -    if (sdiodev->freezer) {
>> +    if (IS_ENABLED(CONFIG_PM_SLEEP) && sdiodev->freezer) {
> 
> This change is not necessary. sdiodev->freezer will be NULL when 
> CONFIG_PM_SLEEP is not enabled.

but won't the compiler be able to completely optimize the code away if 
the change is present?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ