Release of coccinelle 1.0.0-rc9
[bpt/coccinelle.git] / tests / pdbgg.c
1 /* regression if remove the definintion of PDBGG in standard.h:
2
3 Great: a test file now works: /home/pad/linux/arch/mips/alchemy/common/au1xxx_irqmap.c
4 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/arch/powerpc/boot/ps3.c
5 Error : bad = 11, timeout = false
6 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/i2c/busses/i2c-ibm_iic.c
7 Error : bad = 52, timeout = false
8 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/media/video/et61x251/et61x251_core.c
9 Error : bad = 197, timeout = false
10 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/media/video/sn9c102/sn9c102_core.c
11 Error : bad = 247, timeout = false
12 Great: a test file now works: /home/pad/linux/drivers/media/video/w9968cf.c
13 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/media/video/zc0301/zc0301_core.c
14 Error : bad = 96, timeout = false
15 Great: a test file now works: /home/pad/linux/drivers/mtd/devices/docprobe.c
16 Great: a test file now works: /home/pad/linux/drivers/mtd/nand/diskonchip.c
17 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/net/ibm_newemac/core.c
18 Error : bad = 14, timeout = false
19 Great: a test file now works: /home/pad/linux/drivers/scsi/in2000.c
20 Great: a test file now works: /home/pad/linux/drivers/scsi/scsi_lib.c
21 Great: a test file now works: /home/pad/linux/drivers/scsi/wd33c93.c
22 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/usb/gadget/composite.c
23 Error : bad = 173, timeout = false
24 Semipb: still error but not same error : /home/pad/linux/drivers/usb/gadget/omap_udc.c
25 Old error: bad = 1, timeout = fals
26 New error: bad = 115, timeout = false
27 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/usb/gadget/printer.c
28 Error : bad = 168, timeout = false
29 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/usb/musb/cppi_dma.c
30 Error : bad = 20, timeout = false
31 Semipb: still error but not same error : /home/pad/linux/drivers/usb/musb/musb_core.c
32 Old error: bad = 2, timeout = fals
33 New error: bad = 315, timeout = false
34 PBBBBBBBB: a test file does not work anymore!!! : /home/pad/linux/drivers/usb/musb/musb_gadget.c
35 Error : bad = 104, timeout = false
36 Great: a test file now works: /home/pad/linux/kernel/auditfilter.c
37 Great: a test file now works: /home/pad/linux/sound/soc/sh/hac.c
38 Great: a test file now works: /home/pad/linux/sound/soc/sh/ssi.c
39
40
41 cp /home/pad/linux/arch/mips/alchemy/common/au1xxx_irqmap.c /home/pad/linux/arch/powerpc/boot/ps3.c /home/pad/linux/drivers/i2c/busses/i2c-ibm_iic.c /home/pad/linux/drivers/media/video/et61x251/et61x251_core.c /home/pad/linux/drivers/media/video/sn9c102/sn9c102_core.c /home/pad/linux/drivers/media/video/w9968cf.c /home/pad/linux/drivers/media/video/zc0301/zc0301_core.c /home/pad/linux/drivers/mtd/devices/docprobe.c /home/pad/linux/drivers/mtd/nand/diskonchip.c /home/pad/linux/drivers/net/ibm_newemac/core.c /home/pad/linux/drivers/scsi/in2000.c /home/pad/linux/drivers/scsi/scsi_lib.c /home/pad/linux/drivers/scsi/wd33c93.c /home/pad/linux/drivers/usb/gadget/composite.c /home/pad/linux/drivers/usb/gadget/omap_udc.c /home/pad/linux/drivers/usb/gadget/printer.c /home/pad/linux/drivers/usb/musb/cppi_dma.c /home/pad/linux/drivers/usb/musb/musb_core.c /home/pad/linux/drivers/usb/musb/musb_gadget.c /home/pad/linux/kernel/auditfilter.c /home/pad/linux/sound/soc/sh/hac.c /home/pad/linux/sound/soc/sh/ssi.c
42
43
44 */
45
46 int main() {
47 PDBGG("this is a test %d\n",x);
48 }
49
50 int main() {
51 PDBGG("this is a test %d\n",x)
52 }
53
54 int main()
55 {
56 PDBGG(static unsigned int prev_mask = 0);
57 }
58
59
60 int main() {
61
62 PDBGG("Isochrnous frame: length %u, #%u i", len, i)
63
64 /*
65 NOTE: It is probably correct to assume that SOF and EOF
66 headers do not occur between two consecutive packets,
67 but who knows..Whatever is the truth, this assumption
68 doesn't introduce bugs.
69 */
70
71 redo:
72 sof = sn9c102_find_sof_header(cam, pos, len);
73
74 }