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  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:   Tue, 22 Jan 2019 12:50:20 +0200
From:   Luca Coelho <>
To:     Arnd Bergmann <>,
        Johannes Berg <>,
        Emmanuel Grumbach <>
Cc:     Intel Linux Wireless <>,
        Kalle Valo <>,
        "David S. Miller" <>,
        Sara Sharon <>,
        Shahar S Matityahu <>,
        Lior Cohen <>,
        Shaul Triebitz <>,
        Haim Dreyfuss <>,,,
Subject: Re: [PATCH] iwlwifi: fix false-positive maybe-uninitialized warning

On Mon, 2018-12-10 at 21:39 +0100, Arnd Bergmann wrote:
> With CONFIG_NO_AUTO_INLINE, we run into a silly warning when
> gcc fails to remember that n_profiles is constant across
> the function call to iwl_mvm_sar_set_profile:
> drivers/net/wireless/intel/iwlwifi/mvm/fw.c: In function
> 'iwl_mvm_sar_get_ewrd_table':
> drivers/net/wireless/intel/iwlwifi/mvm/fw.c:746:9: error: 'ret' may
> be used uninitialized in this function [-Werror=maybe-uninitialized]
> Marking that function 'inline' avoids the warning.
> Signed-off-by: Arnd Bergmann <>
> ---

Thanks! This has been applied in our internal tree and will reach the
mainline following our normal upstreaming process.


Powered by blists - more mailing lists