aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorNicolas Ferre <[email protected]>2020-07-10 12:46:41 +0000
committerDavid S. Miller <[email protected]>2020-07-10 21:29:37 +0000
commit515a10a701d570e26dfbe6ee373f77c8bf11053f (patch)
tree32996c6b205620e76a702244fc0610067d1eebf0 /lib/debugobjects.c
parentbnxt_en: fix NULL dereference in case SR-IOV configuration fails (diff)
downloadkernel-515a10a701d570e26dfbe6ee373f77c8bf11053f.tar.gz
kernel-515a10a701d570e26dfbe6ee373f77c8bf11053f.zip
net: macb: fix wakeup test in runtime suspend/resume routines
Use the proper struct device pointer to check if the wakeup flag and wakeup source are positioned. Use the one passed by function call which is equivalent to &bp->dev->dev.parent. It's preventing the trigger of a spurious interrupt in case the Wake-on-Lan feature is used. Fixes: d54f89af6cc4 ("net: macb: Add pm runtime support") Cc: Claudiu Beznea <[email protected]> Cc: Harini Katakam <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions