]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: phy: adin: fix a warning about msleep
authorDejin Zheng <zhengdejin5@gmail.com>
Fri, 17 Jan 2020 15:10:42 +0000 (23:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:06:42 +0000 (16:06 +0100)
commit0c58ac1e0155fdbefb976ff2d321d1093b92fe50
tree2455a3788355007723654702d1d049f4413cbbc7
parentd82f28726f6c1bae7f696b57d9d93303d6b7a021
net: phy: adin: fix a warning about msleep

found a warning by the following command:
./scripts/checkpatch.pl -f drivers/net/phy/adin.c

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
 #628: FILE: drivers/net/phy/adin.c:628:
+ msleep(10);

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/adin.c