Lines Matching full:files
6 # Detect files that are tracked but ignored by git.
8 git -C "${srctree:-.}" ls-files -i -c --exclude-per-directory=.gitignore 2>/dev/null |
9 sed 's/$/: warning: ignored by one of the .gitignore files/' >&2
21 # <linux/export.h> are orthogonal. <linux/module.h> should be included by files
28 # EXPORT_SYMBOL(). Worse, it is included by most C files, which means, most C
29 # files end up including <linux/export.h>, even though only some of them
33 # Before fixing such headers, we must ensure that C files using EXPORT_SYMBOL()
34 # include <linux/export.h> directly, since many C files currently rely on
39 # The problem is simple - the warned files use EXPORT_SYMBOL(), but do not
48 git -C "${srctree:-.}" grep --files-with-matches -E 'EXPORT_SYMBOL((_NS)?(_GPL)?|_FOR_MODULES)\(.*\)' \
50 xargs -r git -C "${srctree:-.}" grep --files-without-match '#include[[:space:]]*<linux/export\.h>' |
55 # Currently, this is checked for *.c files, but not for *.h files, because some
56 # *.c files rely on <linux/export.h> being included indirectly.
59 git -C "${srctree:-.}" grep --files-with-matches '#include[[:space:]]*<linux/export\.h>' \
61 xargs -r git -C "${srctree:-.}" grep --files-without-match -E 'EXPORT_SYMBOL((_NS)?(_GPL)?|_FOR_MODULES)\(.*\)' |