aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2020-08-11 18:35:07 -0700
committerLinus Torvalds <[email protected]>2020-08-12 10:58:00 -0700
commit50161266973bcc662e969e63d68fc7bff71de21b (patch)
treef6a539ea3bf3c376554191c9b72961d21a7abfc9 /tools/perf/scripts/python
parent6d511020e13d5d6f5f0af853e32ddef75c693ccc (diff)
checkpatch: add test for possible misuse of IS_ENABLED() without CONFIG_
IS_ENABLED is almost always used with CONFIG_<FOO> defines. Add a test to verify that the #define being tested starts with CONFIG_. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Kees Cook <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions