lkml.org 
[lkml]   [2020]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: phy: adin: fix a warning about msleep
From
From: Dejin Zheng <zhengdejin5@gmail.com>
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@gmail.com>

Not critical, so applied to net-next.

Thanks.

\
 
 \ /
  Last update: 2020-01-19 16:07    [W:4.134 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site