projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c63522
)
coccicheck: change handling of C={1,2} when M= is set
author
Greg Dietsche
<
[email protected]
>
Fri, 20 Jan 2012 23:10:35 +0000
(17:10 -0600)
committer
Michal Marek
<
[email protected]
>
Fri, 24 Feb 2012 22:50:19 +0000
(23:50 +0100)
This patch reverts a portion of
d0bc1fb4
so that coccicheck will
work properly when C=1 or C=2.
Reported-and-tested-by: Brice Goglin <
[email protected]
>
Signed-off-by: Greg Dietsche <
[email protected]
>
Signed-off-by: Julia Lawall <
[email protected]
>
Signed-off-by: Michal Marek <
[email protected]
>
scripts/coccicheck
patch
|
blob
|
history
diff --git
a/scripts/coccicheck
b/scripts/coccicheck
index 3c2776466d877325d63b1980b798b8b0f9d6f556..823e972149e5487fd09d974e9052c3a4d3d8214f 100755
(executable)
--- a/
scripts/coccicheck
+++ b/
scripts/coccicheck
@@
-9,15
+9,10
@@
if [ "$C" = "1" -o "$C" = "2" ]; then
# FLAGS="-ignore_unknown_options -very_quiet"
# OPTIONS=$*
- if [ "$KBUILD_EXTMOD" = "" ] ; then
- # Workaround for Coccinelle < 0.2.3
- FLAGS="-I $srctree/include -very_quiet"
- shift $(( $# - 1 ))
- OPTIONS=$1
- else
- echo M= is not currently supported when C=1 or C=2
- exit 1
- fi
+# Workaround for Coccinelle < 0.2.3
+ FLAGS="-I $srctree/include -very_quiet"
+ shift $(( $# - 1 ))
+ OPTIONS=$1
else
ONLINE=0
FLAGS="-very_quiet"