aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2020-07-27 19:02:13 +0800
committerDavid S. Miller <davem@davemloft.net>2020-07-28 17:48:20 -0700
commit2f45f7a13e99ef2d05ef3afecaee30f314c9b8b2 (patch)
treeb08d8fcf8053b0237b761acc3908a6cf96942093 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: stmmac: Remove WAKE_MAGIC if HW shows no pmt_magic_frame (diff)
downloadlinux-dev-2f45f7a13e99ef2d05ef3afecaee30f314c9b8b2.tar.xz
linux-dev-2f45f7a13e99ef2d05ef3afecaee30f314c9b8b2.zip
net: stmmac: Move device_can_wakeup() check earlier in set_wol
If !device_can_wakeup(), there's no need to futher check. And return -EOPNOTSUPP rather than -EINVAL if !device_can_wakeup(). Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions