Re: [PATCH] net: phy: adin: fix a warning about msleep

From: David Miller
Date: Sun Jan 19 2020 - 10:07:06 EST


From: Dejin Zheng <zhengdejin5@xxxxxxxxx>
Date: Fri, 17 Jan 2020 23:10:42 +0800

> 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@xxxxxxxxx>

Not critical, so applied to net-next.

Thanks.