Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dejin Zheng and committed by
David S. Miller
0c58ac1e d82f2872

+1 -1
+1 -1
drivers/net/phy/adin.c
··· 625 625 if (rc < 0) 626 626 return rc; 627 627 628 - msleep(10); 628 + msleep(20); 629 629 630 630 /* If we get a read error something may be wrong */ 631 631 rc = phy_read_mmd(phydev, MDIO_MMD_VEND1,