diff options
author | Joe Perches <joe@perches.com> | 2012-07-30 23:41:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 02:25:17 +0200 |
commit | 4a273195a551a27a9a3ebed072c8df16c853da7f (patch) | |
tree | f6dd0354f66679adea5cab8aab0a620a6832e181 /arch/.gitignore | |
parent | checkpatch: test for non-standard signatures (diff) | |
download | linux-4a273195a551a27a9a3ebed072c8df16c853da7f.tar.xz linux-4a273195a551a27a9a3ebed072c8df16c853da7f.zip |
checkpatch: check usleep_range() arguments
usleep_range() shouldn't use the same args for min and max.
Report it when it happens and when both args are decimal and min > max.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Yuval Mintz <yuvalmin@broadcom.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions