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
| ||
|
Message-Id: <20200116.042955.2186430020664708353.davem@davemloft.net> Date: Thu, 16 Jan 2020 04:29:55 -0800 (PST) From: David Miller <davem@...emloft.net> To: hayashi.kunihiko@...ionext.com Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, masami.hiramatsu@...aro.org, jaswinder.singh@...aro.org Subject: Re: [PATCH net] net: ethernet: ave: Avoid lockdep warning From: Kunihiko Hayashi <hayashi.kunihiko@...ionext.com> Date: Wed, 15 Jan 2020 13:02:42 +0900 > When building with PROVE_LOCKING=y, lockdep shows the following > dump message. > > INFO: trying to register non-static key. > the code is fine but needs lockdep annotation. > turning off the locking correctness validator. > ... > > Calling device_set_wakeup_enable() directly occurs this issue, > and it isn't necessary for initialization, so this patch creates > internal function __ave_ethtool_set_wol() and replaces with this > in ave_init() and ave_resume(). > > Fixes: 7200f2e3c9e2 ("net: ethernet: ave: Set initial wol state to disabled") > Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@...ionext.com> Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists