summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/coccicheck
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/scripts/coccicheck')
-rwxr-xr-xkernel/scripts/coccicheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/scripts/coccicheck b/kernel/scripts/coccicheck
index bbf901afb..b2d758188 100755
--- a/kernel/scripts/coccicheck
+++ b/kernel/scripts/coccicheck
@@ -30,7 +30,7 @@ FLAGS="$SPFLAGS --very-quiet"
# spatch only allows include directories with the syntax "-I include"
# while gcc also allows "-Iinclude" and "-include include"
COCCIINCLUDE=${LINUXINCLUDE//-I/-I }
-COCCIINCLUDE=${COCCIINCLUDE//-include/-I}
+COCCIINCLUDE=${COCCIINCLUDE// -include/ --include}
if [ "$C" = "1" -o "$C" = "2" ]; then
ONLINE=1