Skip to content

Commit e1a4bc9

Browse files
committed
[mistos][clang-format] Fix regex to support asm-generic headers
1 parent c7a6221 commit e1a4bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ForEachMacros: ['list_for_every_entry','list_for_every_entry_safe']
1616
IncludeBlocks: Regroup
1717
IncludeCategories:
1818
# C Linux Header must came last: <linux/foo.h>, etc
19-
- Regex: '^(<((linux/|asm/)[a-zA-Z0-9_/\.-]+\.h)>)'
19+
- Regex: '^(<((linux/|asm/|asm-generic/)[a-zA-Z0-9_/\.-]+\.h)>)'
2020
Priority: 1100
2121
# This specific header must come last in kernel source files. Its
2222
# matching rule must come first so the lower-priority rules don't match.

0 commit comments

Comments
 (0)