diff options
author | Joe Perches <joe@perches.com> | 2020-08-12 04:35:07 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-12 20:58:00 +0300 |
commit | 50161266973bcc662e969e63d68fc7bff71de21b (patch) | |
tree | f6a539ea3bf3c376554191c9b72961d21a7abfc9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6d511020e13d5d6f5f0af853e32ddef75c693ccc (diff) | |
download | linux-50161266973bcc662e969e63d68fc7bff71de21b.tar.xz |
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 <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/e7fda760b91b769ba82844ba282d432c0d26d709.camel@perches.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions