1
0
Fork 0
alistair23-linux/scripts/coccinelle/misc
Mauro Carvalho Chehab 7426977c8e bugon.cocci: fix Options at the macro
The comma after --no-includes makes coccinelle to not run the script:

/usr/bin/spatch -D report --very-quiet --no-show-diff --cocci-file ./scripts/coccinelle/misc/bugon.cocci --no-includes, --include-headers --patch . --dir drivers/media/platform/coda/ -I ./arch/x86/include -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -I ./include/linux/kconfig.h
Usage: spatch.opt --sp-file <SP> <infile> [-o <outfile>] [--iso-file <iso>] [options]
Options are:
  --sp-file                    <file> the semantic patch file
  -o                           <file> the output file
  --in-place                   do the modification on the file directly
  --backup-suffix              suffix to use when making a backup for inplace
...

At least with Fedora 20 coccinelle package:
	coccinelle-1.0.0-0.rc20.1.fc21.x86_64

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Tested-by: Wolfram Sang <wsa@the-dreams.de>
Fixes: 5be1df66 (Coccinelle: Script to replace if and BUG with BUG_ON)
Cc: stable@vger.kernel.org
Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-11-24 22:04:27 +01:00
..
array_size.cocci Coccinelle: Script to use ARRAY_SIZE instead of division of two sizeofs 2014-08-06 12:10:17 +02:00
badty.cocci Coccinelle: Script to detect incorrect argument to sizeof 2014-08-06 12:10:17 +02:00
boolinit.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
boolreturn.cocci coccinelle: replace 0/1 with false/true in functions returning bool 2013-08-13 22:43:41 +02:00
bugon.cocci bugon.cocci: fix Options at the macro 2014-11-24 22:04:27 +01:00
cstptr.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
doubleinit.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
ifaddr.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
ifcol.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
irqf_oneshot.cocci scripts/coccinelle: Find threaded IRQs requests which are missing IRQF_ONESHOT 2012-07-13 15:57:31 +02:00
noderef.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
of_table.cocci coccinelle: Check for missing NULL terminators in of_device_id tables 2014-06-09 23:39:16 +02:00
orplus.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
returnvar.cocci coccicheck: Add unneeded return variable test 2014-06-10 14:36:30 +02:00
semicolon.cocci scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test 2013-01-24 12:10:38 +01:00
simple_return.cocci coccinelle: misc: semantic patch to delete overly complex return code processing 2014-09-26 13:42:31 +02:00
warn.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00