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]
Date:   Tue, 07 Jul 2020 12:57:22 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     vaibhavgupta40@...il.com
Cc:     helgaas@...nel.org, bhelgaas@...gle.com, bjorn@...gaas.com,
        vaibhav.varodek@...il.com, kuba@...nel.org, sfr@...b.auug.org.au,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-kernel-mentees@...ts.linuxfoundation.org,
        skhan@...uxfoundation.org
Subject: Re: [PATCH net-next] sun/niu: add __maybe_unused attribute to PM
 functions

From: Vaibhav Gupta <vaibhavgupta40@...il.com>
Date: Tue,  7 Jul 2020 13:11:22 +0530

> The upgraded .suspend() and .resume() throw
> "defined but not used [-Wunused-function]" warning for certain
> configurations.
> 
> Mark them with "__maybe_unused" attribute.
> 
> Compile-tested only.
> 
> Fixes: b0db0cc2f695 ("sun/niu: use generic power management")
> Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40@...il.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ