diff options
| author | Joe Perches <[email protected]> | 2015-04-16 12:44:05 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-04-17 09:03:56 -0400 |
| commit | 6ab3a9701e00c2a085bac6a7a9bdcf8fc5eca6c5 (patch) | |
| tree | 155ea8740728586cc4f8eb933158861a0953f41c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d43698e8abb58a6ac47d16e0f47bb55f452e4fc4 (diff) | |
checkpatch: improve "no space is necessary after a cast" test
The "no space is necessary after a cast" sizeof exclusion doesn't work
properly.
The test reports a false positive for code like:
BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
Make it work, simplify the exclusions, and add some comments.
Signed-off-by: Joe Perches <[email protected]>
Reported-by: Marek Lindner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions