summaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-09-23 10:38:20 -0700
committerTony Lindgren <tony@atomide.com>2019-09-23 10:38:20 -0700
commitc01f5120ca7cf2994336c42b8a9cae697121ffb3 (patch)
treed0ac4ed8e3bc4c11203f31b984d300b0f4127978 /scripts/gen_compile_commands.py
parenta4c8723a162e6244fb01944fbf446750575dba59 (diff)
parentf1f028ff89cb0d37db299d48e7b2ce19be040d52 (diff)
Merge branch 'fixes-merge-window-pt2' into fixes
Diffstat (limited to 'scripts/gen_compile_commands.py')
-rwxr-xr-xscripts/gen_compile_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_compile_commands.py b/scripts/gen_compile_commands.py
index 7915823b92a5..c458696ef3a7 100755
--- a/scripts/gen_compile_commands.py
+++ b/scripts/gen_compile_commands.py
@@ -21,9 +21,9 @@ _LINE_PATTERN = r'^cmd_[^ ]*\.o := (.* )([^ ]*\.c)$'
_VALID_LOG_LEVELS = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']
# A kernel build generally has over 2000 entries in its compile_commands.json
-# database. If this code finds 500 or fewer, then warn the user that they might
+# database. If this code finds 300 or fewer, then warn the user that they might
# not have all the .cmd files, and they might need to compile the kernel.
-_LOW_COUNT_THRESHOLD = 500
+_LOW_COUNT_THRESHOLD = 300
def parse_arguments():