diff --git a/tools/scripts/ath11k/ath11k-check b/tools/scripts/ath11k/ath11k-check index b3f250d..a8a6314 100755 --- a/tools/scripts/ath11k/ath11k-check +++ b/tools/scripts/ath11k/ath11k-check @@ -308,6 +308,10 @@ def run_checkpatch(args): # create tag mapping for f in driver_files: + # global gives an error from Kconfig and Makefile + if f.endswith('Kconfig') or f.endswith('Makefile'): + continue + cmd = 'global -f %s' % (f) output = subprocess.check_output(cmd, shell=True) lines = output.splitlines()