summaryrefslogtreecommitdiffstats
path: root/net/phonet
diff options
context:
space:
mode:
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>2020-01-15 05:02:42 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-16 13:28:39 +0100
commit82d5d6a638cbd12b7dfe8acafd9efd87a656cc06 (patch)
tree4232d332b0de2bbf2655af3d7ab6a431fc867621 /net/phonet
parentnet: hns3: pad the short frame before sending to the hardware (diff)
downloadlinux-82d5d6a638cbd12b7dfe8acafd9efd87a656cc06.tar.xz
linux-82d5d6a638cbd12b7dfe8acafd9efd87a656cc06.zip
net: ethernet: ave: Avoid lockdep warning
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@socionext.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions