Sept. 11, 2016
4:39 p.m.
On Sun, Sep 11, 2016 at 06:37:40PM +0200, Peter Senna Tschudin wrote:
Hi Gargi,
On Sun, Sep 11, 2016 at 5:58 PM, Gargi Sharma <gs051095@gmail.com> wrote:
Hi all,
I ran the checkpatch script over drivers/staging/nvec.c and got the following warning
udelay(33);
CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt
Which version of checkpatch are you using? Mine didn't catch that.
$ git status HEAD detached at next-20160909
$ ./scripts/checkpatch.pl -f ./drivers/staging/nvec/nvec.c total: 0 errors, 0 warnings, 988 lines checked
use ./scripts/checkpatch.pl -strict -f ./drivers/staging/nvec/nvec.c to see these issues. thx! hofrat