aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndy Whitcroft <[email protected]>2012-01-10 15:10:08 -0800
committerLinus Torvalds <[email protected]>2012-01-10 16:30:51 -0800
commite01886ada28741d7cb2cfb3224e9caccfbc1a2d5 (patch)
treeba401dddad6fffc2dc079e1449f20c2091195a41 /lib/memory-notifier-error-inject.c
parent72f115f94d500fc72f78c5df8104a98f8b9cc273 (diff)
checkpatch: fix 'return is not a function' square bracket handling
We are incorrectly matching square brackets '[' and ']' leading to false positives on more complex functions as below: return (dt3155_fbuffer[m]->ready_head - dt3155_fbuffer[m]->ready_len + dt3155_fbuffer[m]->nbuffers)% (dt3155_fbuffer[m]->nbuffers); Signed-off-by: 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