diff options
author | Bruce Allan <[email protected]> | 2013-02-21 16:44:19 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-02-21 17:22:26 -0800 |
commit | 37581c28e9e77f44a3124ebab99b98643bda1aa2 (patch) | |
tree | 3430f2a52b74f201cb20789cf9387d2cd3295a8c /lib/memory-notifier-error-inject.c | |
parent | 5ce59ae0bcc0f0ad249d21560c9bb5f6061e62a8 (diff) |
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 <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions