diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2013-02-22 01:44:19 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-22 02:22:26 +0100 |
commit | 37581c28e9e77f44a3124ebab99b98643bda1aa2 (patch) | |
tree | 3430f2a52b74f201cb20789cf9387d2cd3295a8c /fs/binfmt_elf.c | |
parent | checkpatch: Add check for kcalloc argument order (diff) | |
download | linux-37581c28e9e77f44a3124ebab99b98643bda1aa2.tar.xz linux-37581c28e9e77f44a3124ebab99b98643bda1aa2.zip |
checkpatch: fix USLEEP_RANGE test
Do not test udelay() for a value less than 10usec when passed a variable
instead of a hard-coded number; there is no way for checkpatch to know the
value of the variable. As it is today, it will complain about variables
with alphanumeric characters plus '_', e.g. foo_bar, but not variables
with other characters, eg. foo->bar.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions