[PATCH 1/8] staging: vchiq_arm: replace sleep() with usleep_range()

Dan Carpenter dan.carpenter at oracle.com
Wed Sep 15 00:29:04 PDT 2021


On Tue, Sep 14, 2021 at 06:35:26PM -0300, Gaston Gonzalez wrote:
> usleep_range() should be used instead of sleep() when sleepings range
> from 10 us to 20 ms, [1].
> 
> Reported by checkpatch.pl
> 
> [1] Documentation/timers/timers-howto.txt

For this particular warning, you should probably just ignore it, if you
can't test it...

You need a Signed-off-by.  Please run checkpatch.pl on your patches.

regards,
dan carpenter




More information about the linux-arm-kernel mailing list