msleep < 20ms can sleep for up to 20ms

checkpatch が以下な出力。

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt

何だこれは、とググッたら Documentation/timers/timers-howto.txt 嫁とのこと。以下な記述があります。

SLEEPING FOR ~USECS OR SMALL MSECS ( 10us - 20ms):
* Use usleep_range

- Why not msleep for (1ms - 20ms)?
Explained originally here:
http://lkml.org/lkml/2007/8/3/250
msleep(1~20) may not do what the caller intends, and
will often sleep longer (~20 ms actual sleep for any
value given in the 1~20ms range). In many cases this
is not the desired behavior.

Documentation/timers/timers-howto.txt より引用
指摘が入っているのは以下な記述。

		msleep(10); /* we'll be conservative */

以下なカンジに修正すれば良いのかどうなのか。

		usleep_range(10000, 20000);

とりあえずパッチを作って送付してみる方向。