diff options
author | Andy Whitcroft <[email protected]> | 2012-01-10 15:10:15 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-01-10 16:30:51 -0800 |
commit | bfcb2cc798a14230d22b6dd999e2e680623de622 (patch) | |
tree | dfa486a04620bd02e58b3cdcb8b06ee5da3014ac /lib/memory-notifier-error-inject.c | |
parent | 6b48db24e30d371bc54566667b82ca3d64aab80a (diff) |
checkpatch: catch all occurences of type and cast spacing errors per line
Fix up type and cast spacing checks such that all occurences on a line are
examined and reported. For example the line below has a valid cast and a
bad type, but currently we check the cast first which is good and stop:
u16* bar = (u16 *)baz;
We will also only report one of the errors in this example:
u16* bar = (u16*)bad;
Move to iterating across all casts and all types, reporting any failure.
[[email protected]: coding-style fixes]
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