]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Send notifier when starting the cable test
authorAndrew Lunn <andrew@lunn.ch>
Sun, 10 May 2020 19:12:40 +0000 (21:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 May 2020 19:28:41 +0000 (12:28 -0700)
commitd04dcfec5437b4d25f17948c05cfdc2eff40fb52
tree663521d696ca521b454ae286dc01af09981bc26e
parent18163059b8231c2f1664e5ab755ca86bfcefb5c6
net: phy: Send notifier when starting the cable test

Given that it takes time to run a cable test, send a notify message at
the start, as well as when it is completed.

v3:
EMSGSIZE when ethnl_bcastmsg_put() fails
Print an error message on failure, since this is a void function.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/cabletest.c