Diff of the two buildlogs: -- --- b1/build.log 2020-08-08 05:08:32.736083213 +0000 +++ b2/build.log 2020-08-08 05:16:30.237399436 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Sep 9 23:23:06 -12 2021 -I: pbuilder-time-stamp: 1631272986 +I: Current time: Sat Aug 8 19:08:42 +14 2020 +I: pbuilder-time-stamp: 1596863322 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sun Jan 6 06:02:39 2019 -12 +gpgv: Signature made Mon Jan 7 08:02:39 2019 +14 gpgv: using RSA key AC9D68316918E4C026567767C16DA8E7F451B93C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./coccinelle_1.0.4.deb-4.dsc @@ -31,136 +31,170 @@ dpkg-source: info: applying manual-build-fix.diff I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3254/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4884/tmp/hooks/D01_modify_environment starting +debug: Running on codethink-sled10-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/4884/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4884/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3254' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4884 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.QNur8WhgDJ/pbuilderrc_AVQu --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.QNur8WhgDJ/b1 --logfile b1/build.log coccinelle_1.0.4.deb-4.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.QNur8WhgDJ/pbuilderrc_Zrmi --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.QNur8WhgDJ/b2 --logfile b2/build.log coccinelle_1.0.4.deb-4.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink-sled15-arm64 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 - -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 35576 Feb 28 2019 cat - -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown - -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp - -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash - -rwxr-xr-x 1 root root 97136 Feb 28 2019 date - -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93752 Feb 28 2019 df - -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir - -rwxr-xr-x 1 root root 75984 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 31368 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 27256 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34824 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 174304 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 89656 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln - -rwxr-xr-x 1 root root 52544 Jul 26 2018 login - -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 38840 Jan 9 2019 more - -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138736 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35560 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm - -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 9 02:48 sh -> dash - -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty - -rwsr-xr-x 1 root root 59424 Jan 9 2019 su - -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync - -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar - -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch - -rwxr-xr-x 1 root root 27256 Feb 28 2019 true - -rwxr-xr-x 1 root root 14264 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount - -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34824 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/3254/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat + -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown + -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp + -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash + -rwxr-xr-x 1 root root 97136 Mar 1 2019 date + -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93752 Mar 1 2019 df + -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir + -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 27256 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34824 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln + -rwxr-xr-x 1 root root 52544 Jul 27 2018 login + -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 38840 Jan 10 2019 more + -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm + -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 8 19:08 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 7 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty + -rwsr-xr-x 1 root root 59424 Jan 10 2019 su + -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync + -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar + -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch + -rwxr-xr-x 1 root root 27256 Mar 1 2019 true + -rwxr-xr-x 1 root root 14264 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount + -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/4884/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -410,7 +444,7 @@ Get: 172 http://deb.debian.org/debian buster/main arm64 texlive-latex-recommended all 2018.20190227-2 [15.2 MB] Get: 173 http://deb.debian.org/debian buster/main arm64 texlive-pictures all 2018.20190227-2 [8201 kB] Get: 174 http://deb.debian.org/debian buster/main arm64 texlive-latex-extra all 2018.20190227-2 [12.3 MB] -Fetched 654 MB in 1min 30s (7278 kB/s) +Fetched 654 MB in 2min 15s (4830 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19168 files and directories currently installed.) @@ -1151,7 +1185,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/coccinelle-1.0.4.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/coccinelle-1.0.4.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package coccinelle dpkg-buildpackage: info: source version 1.0.4.deb-4 dpkg-buildpackage: info: source distribution unstable @@ -1210,7 +1244,7 @@ if test -z ""; then \ @echo cleaning generated parsers and lexers; \ rm -f lexer_cocci.ml lexer_cli.ml lexer_script.ml parser_cocci_menhir.ml parser_cocci_menhir.mli; fi -/bin/sh: 2: @echo: not found +/bin/sh: line 1: @echo: command not found make[3]: Leaving directory '/build/coccinelle-1.0.4.deb/parsing_cocci' make[3]: Entering directory '/build/coccinelle-1.0.4.deb/parsing_c' rm -f parsing_c.top @@ -1320,7 +1354,7 @@ checking whether make supports nested variables... yes configure: determining version suffix checking for date... /bin/date -configure: version suffix set to Thu, 09 Sep 2021 23:27:43 -1200 +configure: version suffix set to Sat, 08 Aug 2020 19:13:42 +1400 configure: this configure program uses pkg-config m4 macros configure: this configure program uses ocaml m4 macros (see setup/ocaml.m4) configure: this configure program uses custom m4 macros (see setup/cocci.m4) @@ -1339,7 +1373,7 @@ checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E -checking for bash... /bin/bash +checking for bash... /bin/sh checking for tar... /bin/tar checking for patch... /usr/bin/patch checking for echo... /bin/echo @@ -1569,11 +1603,11 @@ /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oassoc.mli +skipped building ocamlextra/setPt.cmo in optimizing mode: ocamlextra/setPt.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c osequence.mli +/usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oarray.mli -skipped building ocamlextra/setPt.cmo in optimizing mode: ocamlextra/setPt.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c common.ml -/usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree_ext.ml File "common.ml", line 2197, characters 16-32: Warning 3: deprecated: String.lowercase @@ -1593,9 +1627,9 @@ /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c osequence.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/oassocb.ml +/usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oarray.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/osetb.ml -/usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oarray.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -a -o commons.cmxa ocamlextra/dumper.cmx ocamlextra/setb.cmx ocamlextra/mapb.cmx ocamlextra/setPt.cmx commands.cmx common.cmx interfaces.cmx objet.cmx ocollection.cmx seti.cmx oset.cmx oassoc.cmx osequence.cmx ograph.cmx ocollection/osetb.cmx ocollection/oassocb.cmx oarray.cmx ograph_simple.cmx ograph_extended.cmx glimpse.cmx parser_combinators.cmx ocamlextra/enum.cmx ocamlextra/dynArray.cmx ocamlextra/suffix_tree.cmx ocamlextra/suffix_tree_ext.cmx @@ -1701,23 +1735,23 @@ skipped building visitor_ast0_types.cmo in optimizing mode: visitor_ast0_types.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.mli +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_aux.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_aux.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unparse_ast0.ml skipped building parse_aux.cmo in optimizing mode: parse_aux.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.ml -File "parser_cocci_menhir.mly", line 649, characters 29-44: -Warning 52: Code should not depend on the actual values of -this constructor's arguments. They are only for information -and may change in future versions. (See manual section 8.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c stmtlist.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unify_ast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c free_vars.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c safe_for_multi_decls.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c disjdistr.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_constants2.ml +File "parser_cocci_menhir.mly", line 649, characters 29-44: +Warning 52: Code should not depend on the actual values of +this constructor's arguments. They are only for information +and may change in future versions. (See manual section 8.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c comm_assoc.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.ml @@ -1786,9 +1820,9 @@ /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_hacks.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_analysis_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_c.mli +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_ast_c.mli -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lib_parsing_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_consistency_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lexer_c.ml @@ -1801,8 +1835,8 @@ /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_recovery_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_token_c.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_hacks.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_hrule.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_analysis_c.ml @@ -1828,9 +1862,10 @@ /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c isomorphisms_c_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.mli -skipped building lib_engine.cmo in optimizing mode: lib_engine.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c c_vs_c.ml +skipped building lib_engine.cmo in optimizing mode: lib_engine.cmx will be built instead. +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pattern_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c transformation_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttomember.mli @@ -1839,13 +1874,12 @@ /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c postprocess_transinfo.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctlcocci_integration.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.ml -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.mli +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttomember.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctltotex.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c postprocess_transinfo.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttoctl2.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.ml File "cocci_vs_c.ml", line 125, characters 14-31: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information @@ -1911,12 +1945,12 @@ make[7]: Entering directory '/build/coccinelle-1.0.4.deb/ocaml' make[8]: Entering directory '/build/coccinelle-1.0.4.deb/ocaml' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c exposed_modules.ml -skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c prepare_ocamlcocci.mli -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.mli +skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.mli -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c coccilib.ml +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c coccilib.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c yes_prepare_ocamlcocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.ml File "yes_prepare_ocamlcocci.ml", line 136, characters 7-24: @@ -1981,8 +2015,8 @@ /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.mli skipped building parse_aux.cmo in optimizing mode: parse_aux.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.mli -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.ml +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.ml File "parser_cocci_menhir.mly", line 649, characters 29-44: Warning 52: Code should not depend on the actual values of @@ -1995,11 +2029,11 @@ /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_metas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0toast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c check_meta.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_infer.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c test_exps.ml File "check_meta.ml", line 62, characters 28-44: Warning 3: deprecated: String.uppercase Use String.uppercase_ascii instead. -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_infer.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c test_exps.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unitary_ast0.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c context_neg.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjust_pragmas.ml @@ -2027,32 +2061,32 @@ /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c danger.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_annoter_c.mli -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.mli -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c.ml -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.mli -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c_build.mli -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c pretty_print_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parser_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_string_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_helpers.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_views_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_recovery_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_c.ml +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.mli +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c.ml +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.mli +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c_build.mli +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c pretty_print_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_token_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_hacks.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_analysis_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_c.mli -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_ast_c.mli +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lib_parsing_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_consistency_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lexer_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_string_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_helpers.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c danger.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c_build.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c pretty_print_c.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c danger.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_views_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_recovery_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.ml @@ -2072,16 +2106,16 @@ make[6]: Leaving directory '/build/coccinelle-1.0.4.deb/parsing_c' make[6]: Entering directory '/build/coccinelle-1.0.4.deb/engine' make[7]: Entering directory '/build/coccinelle-1.0.4.deb/engine' -skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c lib_engine.ml -skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. +skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_exhaustive_pattern.ml -/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c c_vs_c.mli +skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.mli -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.ml +/usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c c_vs_c.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.ml skipped building lib_engine.cmo in optimizing mode: lib_engine.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.mli @@ -2096,8 +2130,8 @@ /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttomember.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctltotex.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c postprocess_transinfo.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttoctl2.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.ml +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttoctl2.ml File "cocci_vs_c.ml", line 125, characters 14-31: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information @@ -2111,16 +2145,16 @@ make[6]: Entering directory '/build/coccinelle-1.0.4.deb/popl09' make[7]: Entering directory '/build/coccinelle-1.0.4.deb/popl09' skipped building ast_popl.cmo in optimizing mode: ast_popl.cmx will be built instead. -skipped building ../engine/lib_engine.cmo in optimizing mode: ../engine/lib_engine.cmx will be built instead. -skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c insert_quantifiers.mli +skipped building ../engine/lib_engine.cmo in optimizing mode: ../engine/lib_engine.cmx will be built instead. +skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c pretty_print_popl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popltoctl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popl.mli +/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c pretty_print_popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c insert_quantifiers.ml -/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c pretty_print_popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popltoctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o popl.cmxa ast_popl.cmx asttopopl.cmx insert_quantifiers.cmx pretty_print_popl.cmx flag_popl.cmx popltoctl.cmx popl.cmx @@ -2206,9 +2240,9 @@ make[5]: Leaving directory '/build/coccinelle-1.0.4.deb/docs' make[5]: Entering directory '/build/coccinelle-1.0.4.deb/ocaml' /bin/mkdir -p ../docs/html +/bin/mkdir -p ../docs/man /usr/bin/ocamldoc -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -hide Pervasives -hide Exposed_modules \ -html -all-params -colorize-code -d ../docs/html ../parsing_c/ast_c.ml coccilib.ml -/bin/mkdir -p ../docs/man /usr/bin/ocamldoc -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -hide Pervasives -hide Exposed_modules \ -man -man-mini -d ../docs/man ../parsing_c/ast_c.ml coccilib.ml make[5]: Leaving directory '/build/coccinelle-1.0.4.deb/ocaml' @@ -2755,7 +2789,7 @@ /texlive/texmf-dist/fonts/type1/urw/times/utmb8a.pfb> -Output written on manual.pdf (53 pages, 275421 bytes). +Output written on manual.pdf (53 pages, 275422 bytes). Transcript written on manual.log. /usr/bin/pdflatex -halt-on-error manual.tex This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex) @@ -3202,7 +3236,7 @@ /texlive/texmf-dist/fonts/type1/urw/times/utmb8a.pfb> -Output written on manual.pdf (54 pages, 283533 bytes). +Output written on manual.pdf (54 pages, 283528 bytes). Transcript written on manual.log. /usr/bin/pdflatex -halt-on-error main_grammar.tex This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex) @@ -3527,7 +3561,7 @@ texmf-dist/fonts/type1/urw/times/utmb8a.pfb> -Output written on main_grammar.pdf (24 pages, 212226 bytes). +Output written on main_grammar.pdf (24 pages, 212224 bytes). Transcript written on main_grammar.log. /usr/bin/pdflatex -halt-on-error main_grammar.tex This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex) @@ -4406,7 +4440,7 @@ ec/ecrm1728.600pk> -Output written on options.pdf (11 pages, 136923 bytes). +Output written on options.pdf (11 pages, 136177 bytes). Transcript written on options.log. /usr/bin/pdflatex -halt-on-error options.tex This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex) @@ -4466,7 +4500,7 @@ ec/ecrm1728.600pk> -Output written on options.pdf (11 pages, 136923 bytes). +Output written on options.pdf (11 pages, 136177 bytes). Transcript written on options.log. make[2]: Leaving directory '/build/coccinelle-1.0.4.deb/docs/manual' make[1]: Leaving directory '/build/coccinelle-1.0.4.deb' @@ -4486,7 +4520,7 @@ 62.res diff = --- tests/62.c -+++ /tmp/cocci-output-19972-9ebf41-62.c ++++ /tmp/cocci-output-7871-eb4458-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, @@ -4504,7 +4538,7 @@ a3d.res diff = --- tests/a3d.c -+++ /tmp/cocci-output-19972-3916ed-a3d.c ++++ /tmp/cocci-output-7871-b76f89-a3d.c @@ -6,13 +6,13 @@ struct a3d { static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { @@ -4526,7 +4560,7 @@ a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c -+++ /tmp/cocci-output-19972-cf3787-a_and_e_ver1.c ++++ /tmp/cocci-output-7871-9851a0-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { @@ -4539,7 +4573,7 @@ warning: line 4: should a be a metavariable? diff = --- tests/ab.c -+++ /tmp/cocci-output-19972-ca6cb9-ab.c ++++ /tmp/cocci-output-7871-d969a8-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; @@ -4550,7 +4584,7 @@ addaft.res diff = --- tests/addaft.c -+++ /tmp/cocci-output-19972-ca37c1-addaft.c ++++ /tmp/cocci-output-7871-f0cc67-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); @@ -4574,7 +4608,7 @@ addbefore.res diff = --- tests/addbefore.c -+++ /tmp/cocci-output-19972-16476e-addbefore.c ++++ /tmp/cocci-output-7871-606aa0-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { @@ -4585,7 +4619,7 @@ addbeforeafter.res diff = --- tests/addbeforeafter.c -+++ /tmp/cocci-output-19972-89d4c6-addbeforeafter.c ++++ /tmp/cocci-output-7871-1cfed2-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { @@ -4598,7 +4632,7 @@ addelse.res diff = --- tests/addelse.c -+++ /tmp/cocci-output-19972-86d574-addelse.c ++++ /tmp/cocci-output-7871-0cd5e7-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; @@ -4606,7 +4640,7 @@ addfield.res diff = --- tests/addfield.c -+++ /tmp/cocci-output-19972-494832-addfield.c ++++ /tmp/cocci-output-7871-bbe2b7-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, @@ -4618,7 +4652,7 @@ addif.res diff = --- tests/addif.c -+++ /tmp/cocci-output-19972-768e62-addif.c ++++ /tmp/cocci-output-7871-9e187d-addif.c @@ -1,7 +1,19 @@ +#ifdef FOO +/* some comment */ @@ -4642,7 +4676,7 @@ addif1.res diff = --- tests/addif1.c -+++ /tmp/cocci-output-19972-005c92-addif1.c ++++ /tmp/cocci-output-7871-2dc7d2-addif1.c @@ -1,7 +1,15 @@ +#ifdef FOO +int xxx() { @@ -4662,7 +4696,7 @@ addif2.res diff = --- tests/addif2.c -+++ /tmp/cocci-output-19972-1197ac-addif2.c ++++ /tmp/cocci-output-7871-f08685-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; @@ -4680,7 +4714,7 @@ addifdef.res diff = --- tests/addifdef.c -+++ /tmp/cocci-output-19972-82f972-addifdef.c ++++ /tmp/cocci-output-7871-655604-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) @@ -4699,7 +4733,7 @@ addifelse.res diff = --- tests/addifelse.c -+++ /tmp/cocci-output-19972-69e16b-addifelse.c ++++ /tmp/cocci-output-7871-509fd9-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) @@ -4718,7 +4752,7 @@ addifelse2.res diff = --- tests/addifelse2.c -+++ /tmp/cocci-output-19972-b36236-addifelse2.c ++++ /tmp/cocci-output-7871-a57b5d-addifelse2.c @@ -1,8 +1,15 @@ +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused){ @@ -4738,7 +4772,7 @@ addtoo.res diff = --- tests/addtoo.c -+++ /tmp/cocci-output-19972-7a353a-addtoo.c ++++ /tmp/cocci-output-7871-6f3974-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { @@ -4762,7 +4796,7 @@ addtrace.res diff = --- tests/addtrace.c -+++ /tmp/cocci-output-19972-d908b3-addtrace.c ++++ /tmp/cocci-output-7871-4c7f4a-addtrace.c @@ -2,13 +2,24 @@ short VerDate(char *pcDate) { short sRetour = 0; @@ -4795,7 +4829,7 @@ after_if.res diff = --- tests/after_if.c -+++ /tmp/cocci-output-19972-f11441-after_if.c ++++ /tmp/cocci-output-7871-a11eb9-after_if.c @@ -1,4 +1,5 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); @@ -4806,7 +4840,7 @@ allex.res diff = --- tests/allex.c -+++ /tmp/cocci-output-19972-63c318-allex.c ++++ /tmp/cocci-output-7871-e9d9a4-allex.c @@ -6,7 +6,7 @@ int main () { goto out; } @@ -4819,7 +4853,7 @@ allex2.res diff = --- tests/allex2.c -+++ /tmp/cocci-output-19972-d595d2-allex2.c ++++ /tmp/cocci-output-7871-2c6802-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; @@ -4830,7 +4864,7 @@ allex3.res diff = --- tests/allex3.c -+++ /tmp/cocci-output-19972-540b06-allex3.c ++++ /tmp/cocci-output-7871-a2de66-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; @@ -4840,7 +4874,7 @@ anon.res diff = --- tests/anon.c -+++ /tmp/cocci-output-19972-76a09d-anon.c ++++ /tmp/cocci-output-7871-bf6c61-anon.c @@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_ void (*done) (struct scsi_cmnd *)) { @@ -4851,7 +4885,7 @@ ar.res diff = --- tests/ar.c -+++ /tmp/cocci-output-19972-05b6e2-ar.c ++++ /tmp/cocci-output-7871-781da4-ar.c @@ -4,9 +4,4 @@ int main() { struct foo *x; struct bar *y; @@ -4865,7 +4899,7 @@ arg.res diff = --- tests/arg.c -+++ /tmp/cocci-output-19972-c99152-arg.c ++++ /tmp/cocci-output-7871-847c42-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); @@ -4880,7 +4914,7 @@ argument.res diff = --- tests/argument.c -+++ /tmp/cocci-output-19972-7e669b-argument.c ++++ /tmp/cocci-output-7871-b0c8d9-argument.c @@ -1,8 +1,5 @@ void main(int i){ @@ -4894,7 +4928,7 @@ arparam.res diff = --- tests/arparam.c -+++ /tmp/cocci-output-19972-4aae93-arparam.c ++++ /tmp/cocci-output-7871-a7f612-arparam.c @@ -1,3 +1,7 @@ +g(int q[1024]) { + return 12; @@ -4906,7 +4940,7 @@ array_init.res diff = --- tests/array_init.c -+++ /tmp/cocci-output-19972-4140c2-array_init.c ++++ /tmp/cocci-output-7871-5cfe96-array_init.c @@ -1,3 +1,2 @@ static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; -MODULE_PARM(term, "1-8i"); @@ -4914,7 +4948,7 @@ array_size.res diff = --- tests/array_size.c -+++ /tmp/cocci-output-19972-8e96a6-array_size.c ++++ /tmp/cocci-output-7871-16798e-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) @@ -4922,7 +4956,7 @@ arraysz.res diff = --- tests/arraysz.c -+++ /tmp/cocci-output-19972-4e8b64-arraysz.c ++++ /tmp/cocci-output-7871-96b3b3-arraysz.c @@ -7,4 +7,4 @@ typedef struct signature { static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ @@ -4932,7 +4966,7 @@ as_stm.res diff = --- tests/as_stm.c -+++ /tmp/cocci-output-19972-eb6b99-as_stm.c ++++ /tmp/cocci-output-7871-631652-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE @@ -4942,7 +4976,7 @@ attradd.res diff = --- tests/attradd.c -+++ /tmp/cocci-output-19972-bdab85-attradd.c ++++ /tmp/cocci-output-7871-bdbe9d-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; @@ -4953,7 +4987,7 @@ attrs2groups.res diff = --- tests/attrs2groups.c -+++ /tmp/cocci-output-19972-5bdcbf-attrs2groups.c ++++ /tmp/cocci-output-7871-065700-attrs2groups.c @@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic { return 42; @@ -4982,7 +5016,7 @@ b1.res diff = --- tests/b1.c -+++ /tmp/cocci-output-19972-630176-b1.c ++++ /tmp/cocci-output-7871-b6d6fc-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { @@ -4998,7 +5032,7 @@ b2.res diff = --- tests/b2.c -+++ /tmp/cocci-output-19972-53a773-b2.c ++++ /tmp/cocci-output-7871-3907a7-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { @@ -5017,7 +5051,7 @@ bad_kfree.res diff = --- tests/bad_kfree.c -+++ /tmp/cocci-output-19972-174e97-bad_kfree.c ++++ /tmp/cocci-output-7871-68a42b-bad_kfree.c @@ -14,7 +14,7 @@ int bad () { kfree(itv[i]); print("foo",itv[i]); @@ -5030,7 +5064,7 @@ bad_ptr_print.res diff = --- tests/bad_ptr_print.c -+++ /tmp/cocci-output-19972-3b9a8a-bad_ptr_print.c ++++ /tmp/cocci-output-7871-49293e-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { @@ -5040,7 +5074,7 @@ bad_typedef.res diff = --- tests/bad_typedef.c -+++ /tmp/cocci-output-19972-e8480f-bad_typedef.c ++++ /tmp/cocci-output-7871-01689a-bad_typedef.c @@ -4,7 +4,7 @@ typedef struct { @@ -5060,7 +5094,7 @@ badexp.res diff = --- tests/badexp.c -+++ /tmp/cocci-output-19972-fe10cc-badexp.c ++++ /tmp/cocci-output-7871-4d7155-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); @@ -5085,7 +5119,7 @@ badtypedef.res diff = --- tests/badtypedef.c -+++ /tmp/cocci-output-19972-679f5c-badtypedef.c ++++ /tmp/cocci-output-7871-62f8dd-badtypedef.c @@ -5,7 +5,7 @@ int main() { foo_t *b; foo_t *c; @@ -5099,7 +5133,7 @@ badwhen.res diff = --- tests/badwhen.c -+++ /tmp/cocci-output-19972-3f9fa7-badwhen.c ++++ /tmp/cocci-output-7871-37d25a-badwhen.c @@ -4,7 +4,5 @@ int main () { g(); } @@ -5111,7 +5145,7 @@ badzero.res diff = --- tests/badzero.c -+++ /tmp/cocci-output-19972-4f2ead-badzero.c ++++ /tmp/cocci-output-7871-4cf010-badzero.c @@ -4,7 +4,7 @@ int main () { int z; if (y - x == 0) return; @@ -5125,7 +5159,7 @@ befS.res diff = --- tests/befS.c -+++ /tmp/cocci-output-19972-914631-befS.c ++++ /tmp/cocci-output-7871-f6a9c6-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); @@ -5164,7 +5198,7 @@ before.res diff = --- tests/before.c -+++ /tmp/cocci-output-19972-4f43d4-before.c ++++ /tmp/cocci-output-7871-4e0d8e-before.c @@ -1,4 +1,6 @@ int main () { + blah(); @@ -5175,7 +5209,7 @@ ben.res diff = --- tests/ben.c -+++ /tmp/cocci-output-19972-9dabc4-ben.c ++++ /tmp/cocci-output-7871-36b9b8-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { @@ -5215,7 +5249,7 @@ bigin.res diff = --- tests/bigin.c -+++ /tmp/cocci-output-19972-95ca0d-bigin.c ++++ /tmp/cocci-output-7871-de50e1-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) @@ -5226,7 +5260,7 @@ bigrepl.res diff = --- tests/bigrepl.c -+++ /tmp/cocci-output-19972-46124a-bigrepl.c ++++ /tmp/cocci-output-7871-3862a5-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), @@ -5243,7 +5277,7 @@ binop.res diff = --- tests/binop.c -+++ /tmp/cocci-output-19972-d20e0d-binop.c ++++ /tmp/cocci-output-7871-e9d084-binop.c @@ -2,10 +2,12 @@ void main() { int i = 0; int j = 0; @@ -5262,7 +5296,7 @@ bitfield.res diff = --- tests/bitfield.c -+++ /tmp/cocci-output-19972-61fd27-bitfield.c ++++ /tmp/cocci-output-7871-109a40-bitfield.c @@ -1,5 +1,5 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -5274,7 +5308,7 @@ (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c -+++ /tmp/cocci-output-19972-7cdb5e-boolr.c ++++ /tmp/cocci-output-7871-a627da-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; @@ -5283,7 +5317,7 @@ braces.res diff = --- tests/braces.c -+++ /tmp/cocci-output-19972-e1247e-braces.c ++++ /tmp/cocci-output-7871-17d2d7-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); @@ -5301,7 +5335,7 @@ branchparen.res diff = --- tests/branchparen.c -+++ /tmp/cocci-output-19972-28fad7-branchparen.c ++++ /tmp/cocci-output-7871-f4d427-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) @@ -5318,7 +5352,7 @@ break.res diff = --- tests/break.c -+++ /tmp/cocci-output-19972-6028cf-break.c ++++ /tmp/cocci-output-7871-4000ce-break.c @@ -5,8 +5,10 @@ int main () { x = 15; if (x > 1 ) { foo(); break; } @@ -5344,7 +5378,7 @@ bug1.res diff = --- tests/bug1.c -+++ /tmp/cocci-output-19972-c78ca4-bug1.c ++++ /tmp/cocci-output-7871-153e78-bug1.c @@ -1,4 +1,5 @@ -static int typhoon_ioctl(struct video_device *dev, unsigned int cmd,void *arg) +static int typhoon_ioctl(struct inode *i, struct file *f, unsigned int cmd, @@ -5355,7 +5389,7 @@ bugloop.res diff = --- tests/bugloop.c -+++ /tmp/cocci-output-19972-cc55ac-bugloop.c ++++ /tmp/cocci-output-7871-b4aa15-bugloop.c @@ -8,8 +8,8 @@ static int stir_transmit_thread(void *ar while (x) { @@ -5370,7 +5404,7 @@ bugon.res diff = --- tests/bugon.c -+++ /tmp/cocci-output-19972-fed694-bugon.c ++++ /tmp/cocci-output-7871-2c5425-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { @@ -5381,7 +5415,7 @@ bus.res diff = --- tests/bus.c -+++ /tmp/cocci-output-19972-f99b03-bus.c ++++ /tmp/cocci-output-7871-855b38-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; @@ -5393,7 +5427,7 @@ cards.res diff = --- tests/cards.c -+++ /tmp/cocci-output-19972-923f79-cards.c ++++ /tmp/cocci-output-7871-911714-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + @@ -5402,7 +5436,7 @@ cast.res diff = --- tests/cast.c -+++ /tmp/cocci-output-19972-f9d905-cast.c ++++ /tmp/cocci-output-7871-53bd7c-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; @@ -5410,7 +5444,7 @@ cast_iso.res diff = --- tests/cast_iso.c -+++ /tmp/cocci-output-19972-ac1c95-cast_iso.c ++++ /tmp/cocci-output-7871-1f4448-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { @@ -5423,7 +5457,7 @@ castdecl.res diff = --- tests/castdecl.c -+++ /tmp/cocci-output-19972-a73e4e-castdecl.c ++++ /tmp/cocci-output-7871-13a40f-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; @@ -5442,7 +5476,7 @@ change.res diff = --- tests/change.c -+++ /tmp/cocci-output-19972-02238d-change.c ++++ /tmp/cocci-output-7871-3d63c4-change.c @@ -1,5 +1,6 @@ int main () { foo(); @@ -5453,7 +5487,7 @@ change_type.res diff = --- tests/change_type.c -+++ /tmp/cocci-output-19972-33701b-change_type.c ++++ /tmp/cocci-output-7871-3bdc8a-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; @@ -5463,7 +5497,7 @@ changei.res diff = --- tests/changei.c -+++ /tmp/cocci-output-19972-fcdf3d-changei.c ++++ /tmp/cocci-output-7871-e57e68-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; @@ -5479,7 +5513,7 @@ com.res diff = --- tests/com.c -+++ /tmp/cocci-output-19972-f464ea-com.c ++++ /tmp/cocci-output-7871-2889d5-com.c @@ -1,8 +1,3 @@ int main() { - foo(); @@ -5492,7 +5526,7 @@ comadd.res diff = --- tests/comadd.c -+++ /tmp/cocci-output-19972-8813ef-comadd.c ++++ /tmp/cocci-output-7871-7306db-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment @@ -5502,7 +5536,7 @@ comment_brace.res diff = --- tests/comment_brace.c -+++ /tmp/cocci-output-19972-f16ef8-comment_brace.c ++++ /tmp/cocci-output-7871-36aa95-comment_brace.c @@ -1,7 +1,9 @@ int main () { @@ -5517,7 +5551,7 @@ comment_brace2.res diff = --- tests/comment_brace2.c -+++ /tmp/cocci-output-19972-16d079-comment_brace2.c ++++ /tmp/cocci-output-7871-634c10-comment_brace2.c @@ -1,7 +1,9 @@ int main () { @@ -5532,7 +5566,7 @@ comments.res diff = --- tests/comments.c -+++ /tmp/cocci-output-19972-6a0178-comments.c ++++ /tmp/cocci-output-7871-eb63d3-comments.c @@ -1,5 +1,15 @@ int main() { @@ -5552,7 +5586,7 @@ compare.res diff = --- tests/compare.c -+++ /tmp/cocci-output-19972-94a0b3-compare.c ++++ /tmp/cocci-output-7871-0aa50d-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { @@ -5566,7 +5600,7 @@ condexp.res diff = --- tests/condexp.c -+++ /tmp/cocci-output-19972-3fad5d-condexp.c ++++ /tmp/cocci-output-7871-bdbdea-condexp.c @@ -5,7 +5,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay (displayname); if (!dpy) { @@ -5582,7 +5616,7 @@ warning: line 3: should text be a metavariable? diff = --- tests/const.c -+++ /tmp/cocci-output-19972-644d7a-const.c ++++ /tmp/cocci-output-7871-7ae7ac-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); @@ -5592,7 +5626,7 @@ warning: line 3: should i be a metavariable? diff = --- tests/const1bis.c -+++ /tmp/cocci-output-19972-5bd626-const1bis.c ++++ /tmp/cocci-output-7871-6457d0-const1bis.c @@ -1,5 +1,5 @@ void foo(int j) { - const int i; @@ -5603,7 +5637,7 @@ const_adding.res diff = --- tests/const_adding.c -+++ /tmp/cocci-output-19972-d67ae3-const_adding.c ++++ /tmp/cocci-output-7871-821cde-const_adding.c @@ -2,6 +2,6 @@ void main(int i) { @@ -5615,7 +5649,7 @@ const_array.res diff = --- tests/const_array.c -+++ /tmp/cocci-output-19972-1c79f4-const_array.c ++++ /tmp/cocci-output-7871-19579a-const_array.c @@ -24,9 +24,9 @@ static const struct foo *r128_family4[] }; @@ -5634,7 +5668,7 @@ const_implicit_iso.res diff = --- tests/const_implicit_iso.c -+++ /tmp/cocci-output-19972-413266-const_implicit_iso.c ++++ /tmp/cocci-output-7871-75de59-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; @@ -5645,7 +5679,7 @@ warning: line 9: should f be a metavariable? diff = --- tests/constrem.c -+++ /tmp/cocci-output-19972-df3f27-constrem.c ++++ /tmp/cocci-output-7871-a4a16b-constrem.c @@ -1,3 +1 @@ -static const int a; @@ -5653,7 +5687,7 @@ constructor.res diff = --- tests/constructor.c -+++ /tmp/cocci-output-19972-b468a0-constructor.c ++++ /tmp/cocci-output-7871-cb4586-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, @@ -5665,7 +5699,7 @@ constty.res diff = --- tests/constty.c -+++ /tmp/cocci-output-19972-f09ecb-constty.c ++++ /tmp/cocci-output-7871-1b3627-constty.c @@ -1,7 +1,6 @@ int main () { const int x; @@ -5677,7 +5711,7 @@ constx.res diff = --- tests/constx.c -+++ /tmp/cocci-output-19972-412c60-constx.c ++++ /tmp/cocci-output-7871-f0447c-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); @@ -5695,14 +5729,14 @@ cptr.res diff = --- tests/cptr.c -+++ /tmp/cocci-output-19972-d728b7-cptr.c ++++ /tmp/cocci-output-7871-3ba3f8-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c -+++ /tmp/cocci-output-19972-dd1163-cr.c ++++ /tmp/cocci-output-7871-9e8dd3-cr.c @@ -1,7 +1,6 @@ int main(void) { @@ -5715,7 +5749,7 @@ cr1a.res diff = --- tests/cr1a.c -+++ /tmp/cocci-output-19972-55d6d7-cr1a.c ++++ /tmp/cocci-output-7871-adb826-cr1a.c @@ -6,14 +6,17 @@ int __init probe_base_port(int base) if (base) b = e = base; @@ -5740,7 +5774,7 @@ warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c -+++ /tmp/cocci-output-19972-8e1d30-cs_check.c ++++ /tmp/cocci-output-7871-37fe4f-cs_check.c @@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re static void nsp_cs_config(dev_link_t *link) { @@ -5753,7 +5787,7 @@ cst.res diff = --- tests/cst.c -+++ /tmp/cocci-output-19972-ebc9e5-cst.c ++++ /tmp/cocci-output-7871-dd0236-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); @@ -5764,7 +5798,7 @@ cst_null.res diff = --- tests/cst_null.c -+++ /tmp/cocci-output-19972-bbe442-cst_null.c ++++ /tmp/cocci-output-7871-c2635a-cst_null.c @@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; @@ -5802,7 +5836,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/csw.c -+++ /tmp/cocci-output-19972-0ecc39-csw.c ++++ /tmp/cocci-output-7871-f47ca3-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { @@ -5821,7 +5855,7 @@ dbg.res diff = --- tests/dbg.c -+++ /tmp/cocci-output-19972-0fd54b-dbg.c ++++ /tmp/cocci-output-7871-954e94-dbg.c @@ -4,5 +4,6 @@ static inline void alloc_resource(struct struct resource *pr, *r = &dev->resource[idx]; @@ -5833,7 +5867,7 @@ dbg1.res diff = --- tests/dbg1.c -+++ /tmp/cocci-output-19972-615d01-dbg1.c ++++ /tmp/cocci-output-7871-a6ce87-dbg1.c @@ -1,5 +1,6 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) @@ -5845,7 +5879,7 @@ dc_close.res diff = --- tests/dc_close.c -+++ /tmp/cocci-output-19972-9bbed4-dc_close.c ++++ /tmp/cocci-output-7871-418760-dc_close.c @@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs) INIT_WORK(&cs->work, icc_bh, cs); @@ -5857,7 +5891,7 @@ debug.res diff = --- tests/debug.c -+++ /tmp/cocci-output-19972-67531d-debug.c ++++ /tmp/cocci-output-7871-17a849-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { @@ -5867,7 +5901,7 @@ dec.res diff = --- tests/dec.c -+++ /tmp/cocci-output-19972-d6a94a-dec.c ++++ /tmp/cocci-output-7871-90ff48-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; @@ -5877,7 +5911,7 @@ decl.res diff = --- tests/decl.c -+++ /tmp/cocci-output-19972-ae6b1c-decl.c ++++ /tmp/cocci-output-7871-16faac-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -5889,7 +5923,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/decl2.c -+++ /tmp/cocci-output-19972-b63612-decl2.c ++++ /tmp/cocci-output-7871-92d769-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -5901,7 +5935,7 @@ decl_space.res diff = --- tests/decl_space.c -+++ /tmp/cocci-output-19972-dae766-decl_space.c ++++ /tmp/cocci-output-7871-d3693f-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; @@ -5913,7 +5947,7 @@ decl_star.res diff = --- tests/decl_star.c -+++ /tmp/cocci-output-19972-4c3313-decl_star.c ++++ /tmp/cocci-output-7871-9f4388-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; @@ -5925,13 +5959,13 @@ defe.res diff = --- tests/defe.c -+++ /tmp/cocci-output-19972-7a365d-defe.c ++++ /tmp/cocci-output-7871-6cb822-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c -+++ /tmp/cocci-output-19972-cff290-define_exp.c ++++ /tmp/cocci-output-7871-2a37cf-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) @@ -5942,7 +5976,7 @@ define_param.res diff = --- tests/define_param.c -+++ /tmp/cocci-output-19972-3b1d6e-define_param.c ++++ /tmp/cocci-output-7871-7f785b-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + @@ -5960,7 +5994,7 @@ delete_function.res diff = --- tests/delete_function.c -+++ /tmp/cocci-output-19972-fd16c1-delete_function.c ++++ /tmp/cocci-output-7871-38419b-delete_function.c @@ -2,12 +2,6 @@ int first () { return 0; } @@ -5977,7 +6011,7 @@ delp.res diff = --- tests/delp.c -+++ /tmp/cocci-output-19972-701872-delp.c ++++ /tmp/cocci-output-7871-5bb0af-delp.c @@ -1,4 +1,4 @@ int main () { return @@ -5987,7 +6021,7 @@ deref.res diff = --- tests/deref.c -+++ /tmp/cocci-output-19972-21639f-deref.c ++++ /tmp/cocci-output-7871-44c7ee-deref.c @@ -1,6 +1,6 @@ int main () { int **q; @@ -6000,7 +6034,7 @@ destroy.res diff = --- tests/destroy.c -+++ /tmp/cocci-output-19972-15c5b5-destroy.c ++++ /tmp/cocci-output-7871-721421-destroy.c @@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f goto out; @@ -6017,7 +6051,7 @@ devlink.res diff = --- tests/devlink.c -+++ /tmp/cocci-output-19972-a87f94-devlink.c ++++ /tmp/cocci-output-7871-07ecab-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); @@ -6038,7 +6072,7 @@ disjexpr.res diff = --- tests/disjexpr.c -+++ /tmp/cocci-output-19972-add1fd-disjexpr.c ++++ /tmp/cocci-output-7871-cca33c-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); @@ -6047,7 +6081,7 @@ disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c -+++ /tmp/cocci-output-19972-8b7c95-disjexpr_ver1.c ++++ /tmp/cocci-output-7871-b58871-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); @@ -6056,7 +6090,7 @@ disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c -+++ /tmp/cocci-output-19972-0c0cda-disjexpr_ver2.c ++++ /tmp/cocci-output-7871-408f8c-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); @@ -6065,7 +6099,7 @@ disjid.res diff = --- tests/disjid.c -+++ /tmp/cocci-output-19972-5a42a1-disjid.c ++++ /tmp/cocci-output-7871-7abcdc-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } @@ -6079,7 +6113,7 @@ distribute.res diff = --- tests/distribute.c -+++ /tmp/cocci-output-19972-45d435-distribute.c ++++ /tmp/cocci-output-7871-3f5c2c-distribute.c @@ -1,4 +1,4 @@ int main(int i) { @@ -6089,7 +6123,7 @@ double.res diff = --- tests/double.c -+++ /tmp/cocci-output-19972-13eb77-double.c ++++ /tmp/cocci-output-7871-59d51b-double.c @@ -1,5 +1,5 @@ static void BChannel_proc_xmt(struct BCState *bcs) { - if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && (!skb_queue_len(&bcs->squeue))) { @@ -6100,7 +6134,7 @@ double_assign.res diff = --- tests/double_assign.c -+++ /tmp/cocci-output-19972-94136e-double_assign.c ++++ /tmp/cocci-output-7871-b94a87-double_assign.c @@ -4,6 +4,5 @@ int main() { } @@ -6111,7 +6145,7 @@ double_lines.res diff = --- tests/double_lines.c -+++ /tmp/cocci-output-19972-dca8f5-double_lines.c ++++ /tmp/cocci-output-7871-b323c7-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); @@ -6124,7 +6158,7 @@ doublepos.res diff = --- tests/doublepos.c -+++ /tmp/cocci-output-19972-0e573b-doublepos.c ++++ /tmp/cocci-output-7871-4c901f-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); @@ -6134,7 +6168,7 @@ doubleswitch.res diff = --- tests/doubleswitch.c -+++ /tmp/cocci-output-19972-51437e-doubleswitch.c ++++ /tmp/cocci-output-7871-b5ae49-doubleswitch.c @@ -3,8 +3,6 @@ void zfLnxRecvEth(zdev_t* dev, zbuf_t* b #ifdef ZM_AVOID_UDP_LARGE_PACKET_FAIL zbuf_t *new_buf; @@ -6147,7 +6181,7 @@ doundo.res diff = --- tests/doundo.c -+++ /tmp/cocci-output-19972-5d6f3a-doundo.c ++++ /tmp/cocci-output-7871-1eff95-doundo.c @@ -4,5 +4,5 @@ int main() { const s8 (*queue_priority_mapping)[2]; @@ -6158,7 +6192,7 @@ dowhile.res diff = --- tests/dowhile.c -+++ /tmp/cocci-output-19972-574622-dowhile.c ++++ /tmp/cocci-output-7871-def7de-dowhile.c @@ -1,7 +1,5 @@ int main() { do { @@ -6170,7 +6204,7 @@ dropbr.res diff = --- tests/dropbr.c -+++ /tmp/cocci-output-19972-e395a7-dropbr.c ++++ /tmp/cocci-output-7871-944898-dropbr.c @@ -1,5 +1,3 @@ int main () { - if (a) { @@ -6181,7 +6215,7 @@ dropcom.res diff = --- tests/dropcom.c -+++ /tmp/cocci-output-19972-fcaa3b-dropcom.c ++++ /tmp/cocci-output-7871-e6e4ae-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ @@ -6196,7 +6230,7 @@ dropenderr.res diff = --- tests/dropenderr.c -+++ /tmp/cocci-output-19972-d7af96-dropenderr.c ++++ /tmp/cocci-output-7871-54cc07-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; @@ -6212,7 +6246,7 @@ dropf.res diff = --- tests/dropf.c -+++ /tmp/cocci-output-19972-86432d-dropf.c ++++ /tmp/cocci-output-7871-ad47c3-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); @@ -6221,7 +6255,7 @@ dropparam.res diff = --- tests/dropparam.c -+++ /tmp/cocci-output-19972-6c1ed0-dropparam.c ++++ /tmp/cocci-output-7871-3cfacd-dropparam.c @@ -2,12 +2,12 @@ int f(char *x, int y, char* z) { return; } @@ -6240,7 +6274,7 @@ eb1.res diff = --- tests/eb1.c -+++ /tmp/cocci-output-19972-8be420-eb1.c ++++ /tmp/cocci-output-7871-5cc2ef-eb1.c @@ -1,7 +1,13 @@ int func() { int c; @@ -6259,7 +6293,7 @@ edots.res diff = --- tests/edots.c -+++ /tmp/cocci-output-19972-75efdf-edots.c ++++ /tmp/cocci-output-7871-d35043-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; @@ -6272,7 +6306,7 @@ edots_ver1.res diff = --- tests/edots_ver1.c -+++ /tmp/cocci-output-19972-ff3e44-edots_ver1.c ++++ /tmp/cocci-output-7871-a27017-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; @@ -6287,7 +6321,7 @@ elsify.res diff = --- tests/elsify.c -+++ /tmp/cocci-output-19972-e12f7d-elsify.c ++++ /tmp/cocci-output-7871-69fe62-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) @@ -6301,7 +6335,7 @@ empty.res diff = --- tests/empty.c -+++ /tmp/cocci-output-19972-636ee3-empty.c ++++ /tmp/cocci-output-7871-4123ee-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { @@ -6313,7 +6347,7 @@ end_commas.res diff = --- tests/end_commas.c -+++ /tmp/cocci-output-19972-b73241-end_commas.c ++++ /tmp/cocci-output-7871-148d4d-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", @@ -6327,7 +6361,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/endif.c -+++ /tmp/cocci-output-19972-7ea311-endif.c ++++ /tmp/cocci-output-7871-b71f7b-endif.c @@ -2,18 +2,23 @@ void f(int i) { x = 1; @@ -6355,7 +6389,7 @@ endnl.res diff = --- tests/endnl.c -+++ /tmp/cocci-output-19972-0b4134-endnl.c ++++ /tmp/cocci-output-7871-eba2d2-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO @@ -6396,7 +6430,7 @@ endpos.res warning: s: metavariable p not used in the - or context code Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_629ac4.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_629ac4.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_aadc4e.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_aadc4e.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: @@ -6405,7 +6439,7 @@ Loading ML code of the SP... diff = --- tests/endpos.c -+++ /tmp/cocci-output-19972-b05098-endpos.c ++++ /tmp/cocci-output-7871-04738e-endpos.c @@ -1,4 +1,5 @@ int main () { + main(); @@ -6423,7 +6457,7 @@ enum.res diff = --- tests/enum.c -+++ /tmp/cocci-output-19972-f79a0f-enum.c ++++ /tmp/cocci-output-7871-75385a-enum.c @@ -18,5 +18,5 @@ xxx static reg_errcode_t regex_compile () @@ -6433,7 +6467,7 @@ } exitc.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_e6838d.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_e6838d.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_9c90ea.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_9c90ea.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: @@ -6443,7 +6477,7 @@ Failure in rule starting on line 8 diff = --- tests/exitc.c -+++ /tmp/cocci-output-19972-44e9c8-exitc.c ++++ /tmp/cocci-output-7871-85026a-exitc.c @@ -1,6 +1,6 @@ int main () { - f(a1); @@ -6458,7 +6492,7 @@ exitp.res diff = --- tests/exitp.c -+++ /tmp/cocci-output-19972-79e388-exitp.c ++++ /tmp/cocci-output-7871-5559b1-exitp.c @@ -1,6 +1,6 @@ int main () { - f(a1); @@ -6473,7 +6507,7 @@ exp.res diff = --- tests/exp.c -+++ /tmp/cocci-output-19972-10d395-exp.c ++++ /tmp/cocci-output-7871-17ebfe-exp.c @@ -1,14 +1,14 @@ int main(int i) { @@ -6496,7 +6530,7 @@ expnest.res diff = --- tests/expnest.c -+++ /tmp/cocci-output-19972-aec414-expnest.c ++++ /tmp/cocci-output-7871-274eb0-expnest.c @@ -2,5 +2,5 @@ int main() { x = 3 + 4; x = f() + 15; @@ -6507,7 +6541,7 @@ expopt.res diff = --- tests/expopt.c -+++ /tmp/cocci-output-19972-cd5acb-expopt.c ++++ /tmp/cocci-output-7871-d4176f-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; @@ -6518,7 +6552,7 @@ expopt2.res diff = --- tests/expopt2.c -+++ /tmp/cocci-output-19972-0768b8-expopt2.c ++++ /tmp/cocci-output-7871-0e12eb-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { @@ -6529,7 +6563,7 @@ expopt3.res diff = --- tests/expopt3.c -+++ /tmp/cocci-output-19972-864fd6-expopt3.c ++++ /tmp/cocci-output-7871-2c9263-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -6541,7 +6575,7 @@ expopt3_ver1.res diff = --- tests/expopt3_ver1.c -+++ /tmp/cocci-output-19972-959e8d-expopt3_ver1.c ++++ /tmp/cocci-output-7871-325a6f-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -6554,7 +6588,7 @@ expopt3_ver2.res diff = --- tests/expopt3_ver2.c -+++ /tmp/cocci-output-19972-c0de1b-expopt3_ver2.c ++++ /tmp/cocci-output-7871-60236e-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -6565,8 +6599,8 @@ } extra.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_bf8fcf.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_bf8fcf.ml -File "/tmp/ocaml_cocci_bf8fcf.ml", line 27, characters 4-6: +ocamlopt.opt -shared -o /tmp/ocaml_cocci_9e7be0.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_9e7be0.ml +File "/tmp/ocaml_cocci_9e7be0.ml", line 27, characters 4-6: Warning 26: unused variable ff. File "_none_", line 1: Warning 58: no cmx file was found in path for module Ast_c, and its interface was not compiled with -opaque @@ -6578,7 +6612,7 @@ Loading ML code of the SP... diff = --- tests/extra.c -+++ /tmp/cocci-output-19972-344f4a-extra.c ++++ /tmp/cocci-output-7871-5b782a-extra.c @@ -1,12 +1,23 @@ #ifdef FIRST -int main (int a, struct foo *b, struct bar *c) { @@ -6608,7 +6642,7 @@ failing_andany.res diff = --- tests/failing_andany.c -+++ /tmp/cocci-output-19972-da31ac-failing_andany.c ++++ /tmp/cocci-output-7871-9cf232-failing_andany.c @@ -8,6 +8,4 @@ static int smc_probe1(struct net_device static int smc_probe2(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) @@ -6620,7 +6654,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fields.c -+++ /tmp/cocci-output-19972-5b3742-fields.c ++++ /tmp/cocci-output-7871-aa54be-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, @@ -6633,7 +6667,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c -+++ /tmp/cocci-output-19972-2d1dec-fieldsmin.c ++++ /tmp/cocci-output-7871-242b08-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, @@ -6643,7 +6677,7 @@ find_long.res diff = --- tests/find_long.c -+++ /tmp/cocci-output-19972-bdd67e-find_long.c ++++ /tmp/cocci-output-7871-2c4bd6-find_long.c @@ -3,8 +3,8 @@ long function() long a; int b; @@ -6658,7 +6692,7 @@ fix_flow_need.res diff = --- tests/fix_flow_need.c -+++ /tmp/cocci-output-19972-420720-fix_flow_need.c ++++ /tmp/cocci-output-7871-bff43c-fix_flow_need.c @@ -5,7 +5,6 @@ void main(int i) { if(1) { foo(); @@ -6670,7 +6704,7 @@ fn_todo.res diff = --- tests/fn_todo.c -+++ /tmp/cocci-output-19972-ccf585-fn_todo.c ++++ /tmp/cocci-output-7871-dc2904-fn_todo.c @@ -5,6 +5,6 @@ static void task_kill_later(struct asd_a struct Scsi_Host *shost = sas_ha->core.shost; struct sas_task *task = ascb->uldd_task; @@ -6682,7 +6716,7 @@ fnptr.res diff = --- tests/fnptr.c -+++ /tmp/cocci-output-19972-0eae9c-fnptr.c ++++ /tmp/cocci-output-7871-a4e7b7-fnptr.c @@ -8,5 +8,5 @@ static int sci_request_irq(struct sci_po sci_er_interrupt, sci_rx_interrupt, sci_tx_interrupt, sci_br_interrupt, @@ -6694,14 +6728,14 @@ warning: line 6: should x be a metavariable? diff = --- tests/fnret.c -+++ /tmp/cocci-output-19972-cb37c7-fnret.c ++++ /tmp/cocci-output-7871-309b22-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c -+++ /tmp/cocci-output-19972-6fd6a7-fnty.c ++++ /tmp/cocci-output-7871-7c2e6d-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { @@ -6711,7 +6745,7 @@ format.res diff = --- tests/format.c -+++ /tmp/cocci-output-19972-82a450-format.c ++++ /tmp/cocci-output-7871-b2d24e-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); @@ -6722,7 +6756,7 @@ } format2.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_f28d34.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_f28d34.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_02a32d.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_02a32d.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: @@ -6733,7 +6767,7 @@ format string is 1x format string is 2x --- tests/format2.c -+++ /tmp/cocci-output-19972-cc1f59-format2.c ++++ /tmp/cocci-output-7871-4bc632-format2.c @@ -1,4 +1,3 @@ int main () { foo("blah %x blah"); @@ -6742,7 +6776,7 @@ formatlist.res diff = --- tests/formatlist.c -+++ /tmp/cocci-output-19972-7b8e11-formatlist.c ++++ /tmp/cocci-output-7871-ae02d6-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); @@ -6760,7 +6794,7 @@ fortest.res diff = --- tests/fortest.c -+++ /tmp/cocci-output-19972-7f5276-fortest.c ++++ /tmp/cocci-output-7871-27a232-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) @@ -6800,7 +6834,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fortype.c -+++ /tmp/cocci-output-19972-ec6493-fortype.c ++++ /tmp/cocci-output-7871-b8d544-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) @@ -6811,7 +6845,7 @@ four.res diff = --- tests/four.c -+++ /tmp/cocci-output-19972-6c0adf-four.c ++++ /tmp/cocci-output-7871-c240a7-four.c @@ -1,5 +1,3 @@ int main () { f(1); @@ -6821,7 +6855,7 @@ foura.res diff = --- tests/foura.c -+++ /tmp/cocci-output-19972-dbe1f8-foura.c ++++ /tmp/cocci-output-7871-4b79bd-foura.c @@ -1,5 +1,4 @@ int main () { f(1); @@ -6831,7 +6865,7 @@ fp.res diff = --- tests/fp.c -+++ /tmp/cocci-output-19972-8b313f-fp.c ++++ /tmp/cocci-output-7871-00633a-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); @@ -6839,7 +6873,7 @@ fsh.res diff = --- tests/fsh.c -+++ /tmp/cocci-output-19972-496fd4-fsh.c ++++ /tmp/cocci-output-7871-ce0722-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); @@ -6851,7 +6885,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/fun.c -+++ /tmp/cocci-output-19972-534546-fun.c ++++ /tmp/cocci-output-7871-08bb6f-fun.c @@ -1 +1,4 @@ +struct a { + int a; @@ -6860,7 +6894,7 @@ func.res diff = --- tests/func.c -+++ /tmp/cocci-output-19972-a44d26-func.c ++++ /tmp/cocci-output-7871-d74230-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) @@ -6874,7 +6908,7 @@ gcc_min_max.res diff = --- tests/gcc_min_max.c -+++ /tmp/cocci-output-19972-64fc85-gcc_min_max.c ++++ /tmp/cocci-output-7871-bd018f-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { @@ -6891,7 +6925,7 @@ getc.res diff = --- tests/getc.c -+++ /tmp/cocci-output-19972-d4cace-getc.c ++++ /tmp/cocci-output-7871-337435-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { @@ -6901,7 +6935,7 @@ gilles-question.res diff = --- tests/gilles-question.c -+++ /tmp/cocci-output-19972-6019f5-gilles-question.c ++++ /tmp/cocci-output-7871-d7757e-gilles-question.c @@ -2,8 +2,6 @@ void main(int i) { f(0); @@ -6914,7 +6948,7 @@ gotobreak.res diff = --- tests/gotobreak.c -+++ /tmp/cocci-output-19972-abad89-gotobreak.c ++++ /tmp/cocci-output-7871-7151d9-gotobreak.c @@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } @@ -6927,7 +6961,7 @@ warning: line 4: should y be a metavariable? diff = --- tests/hd.c -+++ /tmp/cocci-output-19972-c7c104-hd.c ++++ /tmp/cocci-output-7871-a26026-hd.c @@ -1,3 +1,3 @@ #include "hd.h" @@ -6936,7 +6970,7 @@ headers.res diff = --- tests/headers.c -+++ /tmp/cocci-output-19972-821776-headers.c ++++ /tmp/cocci-output-7871-970a7d-headers.c @@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria } @@ -6955,7 +6989,7 @@ hex.res diff = --- tests/hex.c -+++ /tmp/cocci-output-19972-aa3b0b-hex.c ++++ /tmp/cocci-output-7871-e52122-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); @@ -6963,7 +6997,7 @@ hil1.res diff = --- tests/hil1.c -+++ /tmp/cocci-output-19972-840432-hil1.c ++++ /tmp/cocci-output-7871-2eb822-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, @@ -6974,7 +7008,7 @@ idstr.res diff = --- tests/idstr.c -+++ /tmp/cocci-output-19972-3afc49-idstr.c ++++ /tmp/cocci-output-7871-9256fb-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); @@ -6983,7 +7017,7 @@ if.res diff = --- tests/if.c -+++ /tmp/cocci-output-19972-e39bbe-if.c ++++ /tmp/cocci-output-7871-16ccc8-if.c @@ -1,27 +1,37 @@ int main () { + before(); @@ -7025,7 +7059,7 @@ ifadd.res diff = --- tests/ifadd.c -+++ /tmp/cocci-output-19972-e82739-ifadd.c ++++ /tmp/cocci-output-7871-1bd86a-ifadd.c @@ -3,6 +3,7 @@ int main() { if (x) { one(); @@ -7040,7 +7074,7 @@ ifd.res diff = --- tests/ifd.c -+++ /tmp/cocci-output-19972-887b86-ifd.c ++++ /tmp/cocci-output-7871-22853c-ifd.c @@ -1,9 +1,13 @@ int main () { one(); @@ -7058,7 +7092,7 @@ ifdef1.res diff = --- tests/ifdef1.c -+++ /tmp/cocci-output-19972-9061c3-ifdef1.c ++++ /tmp/cocci-output-7871-a2be17-ifdef1.c @@ -1,5 +1,8 @@ #include #include @@ -7071,7 +7105,7 @@ ifdef2.res diff = --- tests/ifdef2.c -+++ /tmp/cocci-output-19972-e08a8d-ifdef2.c ++++ /tmp/cocci-output-7871-6b0464-ifdef2.c @@ -1,6 +1,11 @@ #include #include @@ -7087,7 +7121,7 @@ ifdef3.res diff = --- tests/ifdef3.c -+++ /tmp/cocci-output-19972-aea272-ifdef3.c ++++ /tmp/cocci-output-7871-d97d97-ifdef3.c @@ -2,6 +2,14 @@ #include #include @@ -7108,7 +7142,7 @@ warning: line 9: should irq_desc be a metavariable? diff = --- tests/ifdef4.c -+++ /tmp/cocci-output-19972-b5138c-ifdef4.c ++++ /tmp/cocci-output-7871-4a54e3-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { @@ -7124,7 +7158,7 @@ ifdef5.res diff = --- tests/ifdef5.c -+++ /tmp/cocci-output-19972-981225-ifdef5.c ++++ /tmp/cocci-output-7871-2a272b-ifdef5.c @@ -11,3 +11,10 @@ void init_IRQ(void) uselessCall(); } @@ -7139,7 +7173,7 @@ ifdef6.res diff = --- tests/ifdef6.c -+++ /tmp/cocci-output-19972-09be22-ifdef6.c ++++ /tmp/cocci-output-7871-11240a-ifdef6.c @@ -1,5 +1,8 @@ #include #include @@ -7152,7 +7186,7 @@ ifdef6a.res diff = --- tests/ifdef6a.c -+++ /tmp/cocci-output-19972-8da863-ifdef6a.c ++++ /tmp/cocci-output-7871-5a44d6-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL @@ -7164,7 +7198,7 @@ ifdefmeta.res diff = --- tests/ifdefmeta.c -+++ /tmp/cocci-output-19972-356c39-ifdefmeta.c ++++ /tmp/cocci-output-7871-e5844b-ifdefmeta.c @@ -1,26 +1,22 @@ int main() { - buf = alloca(3 @@ -7225,7 +7259,7 @@ ifdefmeta1.res diff = --- tests/ifdefmeta1.c -+++ /tmp/cocci-output-19972-cd73f5-ifdefmeta1.c ++++ /tmp/cocci-output-7871-fcbf5c-ifdefmeta1.c @@ -1,17 +1,2 @@ int main() { - buf = alloca(3 @@ -7247,7 +7281,7 @@ ifdefmeta2.res diff = --- tests/ifdefmeta2.c -+++ /tmp/cocci-output-19972-8e4199-ifdefmeta2.c ++++ /tmp/cocci-output-7871-9b1267-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 @@ -7264,7 +7298,7 @@ ifdefmeta3.res diff = --- tests/ifdefmeta3.c -+++ /tmp/cocci-output-19972-bed062-ifdefmeta3.c ++++ /tmp/cocci-output-7871-bdb45d-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); @@ -7281,7 +7315,7 @@ ifend.res diff = --- tests/ifend.c -+++ /tmp/cocci-output-19972-c419da-ifend.c ++++ /tmp/cocci-output-7871-427de9-ifend.c @@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG; #else static int vortex_debug = 1; @@ -7291,7 +7325,7 @@ ifgoto.res diff = --- tests/ifgoto.c -+++ /tmp/cocci-output-19972-61eaf9-ifgoto.c ++++ /tmp/cocci-output-7871-868051-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) @@ -7305,7 +7339,7 @@ ifields.res diff = --- tests/ifields.c -+++ /tmp/cocci-output-19972-6ba50a-ifields.c ++++ /tmp/cocci-output-7871-0d5991-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; @@ -7328,7 +7362,7 @@ ifif.res diff = --- tests/ifif.c -+++ /tmp/cocci-output-19972-b84f24-ifif.c ++++ /tmp/cocci-output-7871-b3fa2e-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 @@ -7346,7 +7380,7 @@ ifreturn.res diff = --- tests/ifreturn.c -+++ /tmp/cocci-output-19972-fe7978-ifreturn.c ++++ /tmp/cocci-output-7871-c0dadd-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { @@ -7408,7 +7442,7 @@ ifreturn3.res diff = --- tests/ifreturn3.c -+++ /tmp/cocci-output-19972-372b05-ifreturn3.c ++++ /tmp/cocci-output-7871-e15f50-ifreturn3.c @@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code) if(iFlag_Code==OK) { return OK; @@ -7434,7 +7468,7 @@ ifreturn4.res diff = --- tests/ifreturn4.c -+++ /tmp/cocci-output-19972-424d42-ifreturn4.c ++++ /tmp/cocci-output-7871-0f4867-ifreturn4.c @@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { @@ -7458,7 +7492,7 @@ ifreturn6.res diff = --- tests/ifreturn6.c -+++ /tmp/cocci-output-19972-8dc258-ifreturn6.c ++++ /tmp/cocci-output-7871-3fdc3b-ifreturn6.c @@ -3,7 +3,8 @@ int main () { blah(); goto end; @@ -7472,7 +7506,7 @@ ifzer.res diff = --- tests/ifzer.c -+++ /tmp/cocci-output-19972-c8a4a4-ifzer.c ++++ /tmp/cocci-output-7871-ec9bc8-ifzer.c @@ -3,6 +3,5 @@ int main() { and have lived on another thread's stack; that stack may have become unmapped meanwhile (CONFIG_DEBUG_PAGEALLOC). */ @@ -7483,7 +7517,7 @@ ifzz.res diff = --- tests/ifzz.c -+++ /tmp/cocci-output-19972-7de67e-ifzz.c ++++ /tmp/cocci-output-7871-0f187c-ifzz.c @@ -2,9 +2,9 @@ if 0 char c; #endif @@ -7499,7 +7533,7 @@ inc.res diff = --- tests/inc.c -+++ /tmp/cocci-output-19972-c58b0a-inc.c ++++ /tmp/cocci-output-7871-85b062-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 @@ -7508,7 +7542,7 @@ incl.res diff = --- tests/incl.c -+++ /tmp/cocci-output-19972-8b0dcb-incl.c ++++ /tmp/cocci-output-7871-3dab76-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include @@ -7521,7 +7555,7 @@ inclifdef.res diff = --- tests/inclifdef.c -+++ /tmp/cocci-output-19972-d2278e-inclifdef.c ++++ /tmp/cocci-output-7871-3a629a-inclifdef.c @@ -1,4 +1,5 @@ #include +#include @@ -7531,7 +7565,7 @@ include.res diff = --- tests/include.c -+++ /tmp/cocci-output-19972-d1754c-include.c ++++ /tmp/cocci-output-7871-7e3939-include.c @@ -1,8 +1,6 @@ #include @@ -7545,7 +7579,7 @@ incpos.res diff = --- tests/incpos.c -+++ /tmp/cocci-output-19972-03bca3-incpos.c ++++ /tmp/cocci-output-7871-388d93-incpos.c @@ -1,3 +1,4 @@ +#include #include @@ -7554,7 +7588,7 @@ incpos1.res diff = --- tests/incpos1.c -+++ /tmp/cocci-output-19972-2dd758-incpos1.c ++++ /tmp/cocci-output-7871-96c83e-incpos1.c @@ -1,3 +1,4 @@ +#include #include "two" @@ -7563,7 +7597,7 @@ inherited.res diff = --- tests/inherited.c -+++ /tmp/cocci-output-19972-b68ed3-inherited.c ++++ /tmp/cocci-output-7871-ccd950-inherited.c @@ -6,5 +6,5 @@ void main(int i) { h(2); h2(2); @@ -7574,7 +7608,7 @@ inherited_ver1.res diff = --- tests/inherited_ver1.c -+++ /tmp/cocci-output-19972-84cb2f-inherited_ver1.c ++++ /tmp/cocci-output-7871-3c7a45-inherited_ver1.c @@ -3,8 +3,8 @@ void main(int i) { //g(1); f(2); @@ -7590,7 +7624,7 @@ inhmet.res diff = --- tests/inhmet.c -+++ /tmp/cocci-output-19972-95246c-inhmet.c ++++ /tmp/cocci-output-7871-c3e370-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; @@ -7599,7 +7633,7 @@ inhpos.res diff = --- tests/inhpos.c -+++ /tmp/cocci-output-19972-77b980-inhpos.c ++++ /tmp/cocci-output-7871-f4ccc1-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); @@ -7608,7 +7642,7 @@ warning: line 5: should var be a metavariable? diff = --- tests/initializer.c -+++ /tmp/cocci-output-19972-5b3646-initializer.c ++++ /tmp/cocci-output-7871-3c9b92-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, @@ -7623,21 +7657,21 @@ warning: line 4: should x be a metavariable? diff = --- tests/inline.c -+++ /tmp/cocci-output-19972-56e62b-inline.c ++++ /tmp/cocci-output-7871-87ae32-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c -+++ /tmp/cocci-output-19972-3cb6f2-insdef.c ++++ /tmp/cocci-output-7871-ccccc5-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res diff = --- tests/int2bool-local.c -+++ /tmp/cocci-output-19972-e0774f-int2bool-local.c ++++ /tmp/cocci-output-7871-2d2955-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; @@ -7683,7 +7717,7 @@ introbrace.res diff = --- tests/introbrace.c -+++ /tmp/cocci-output-19972-581207-introbrace.c ++++ /tmp/cocci-output-7871-57be6d-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) @@ -7702,7 +7736,7 @@ invert.res diff = --- tests/invert.c -+++ /tmp/cocci-output-19972-eda7c1-invert.c ++++ /tmp/cocci-output-7871-83384f-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; @@ -7711,7 +7745,7 @@ ip.res diff = --- tests/ip.c -+++ /tmp/cocci-output-19972-dd8bc5-ip.c ++++ /tmp/cocci-output-7871-cca31d-ip.c @@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo) { if(sNoFo == 1) @@ -7740,7 +7774,7 @@ ip2.res diff = --- tests/ip2.c -+++ /tmp/cocci-output-19972-68d5c4-ip2.c ++++ /tmp/cocci-output-7871-fa2d27-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { @@ -7765,7 +7799,7 @@ isococci.res diff = --- tests/isococci.c -+++ /tmp/cocci-output-19972-fdf8ba-isococci.c ++++ /tmp/cocci-output-7871-10b2cc-isococci.c @@ -1,6 +1,4 @@ void f(int i) { @@ -7778,7 +7812,7 @@ warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c -+++ /tmp/cocci-output-19972-a48dc2-isoif.c ++++ /tmp/cocci-output-7871-dfae79-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); @@ -7787,7 +7821,7 @@ isotest.res diff = --- tests/isotest.c -+++ /tmp/cocci-output-19972-f59768-isotest.c ++++ /tmp/cocci-output-7871-a27a86-isotest.c @@ -1,7 +1,6 @@ void main(int i) { @@ -7800,7 +7834,7 @@ isotest2.res diff = --- tests/isotest2.c -+++ /tmp/cocci-output-19972-95fa09-isotest2.c ++++ /tmp/cocci-output-7871-11db0b-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { @@ -7812,7 +7846,7 @@ iterator.res diff = --- tests/iterator.c -+++ /tmp/cocci-output-19972-8845f6-iterator.c ++++ /tmp/cocci-output-7871-38ea5a-iterator.c @@ -2,9 +2,5 @@ void pcibios_report_status(u_int status_ { struct list_head *l; @@ -7827,7 +7861,7 @@ iterprint.res diff = --- tests/iterprint.c -+++ /tmp/cocci-output-19972-088b7b-iterprint.c ++++ /tmp/cocci-output-7871-a4256f-iterprint.c @@ -1,6 +1,4 @@ int main () { - for(bit = 0; bit < size; bit++) { @@ -7843,7 +7877,7 @@ diff = 129 133 --- tests/julia10.c -+++ /tmp/cocci-output-19972-c6ba9a-julia10.c ++++ /tmp/cocci-output-7871-7d333f-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); @@ -7855,7 +7889,7 @@ julia7.res diff = --- tests/julia7.c -+++ /tmp/cocci-output-19972-e1c255-julia7.c ++++ /tmp/cocci-output-7871-3e61db-julia7.c @@ -1,7 +1,6 @@ int main(int x) { foo(); @@ -7868,7 +7902,7 @@ justremove.res diff = --- tests/justremove.c -+++ /tmp/cocci-output-19972-c95183-justremove.c ++++ /tmp/cocci-output-7871-facf77-justremove.c @@ -1,17 +1,6 @@ int main () { - if (x) { @@ -7890,7 +7924,7 @@ keep_comma.res diff = --- tests/keep_comma.c -+++ /tmp/cocci-output-19972-0ca5f0-keep_comma.c ++++ /tmp/cocci-output-7871-c85b80-keep_comma.c @@ -1,4 +1,4 @@ int main () { - foo(); @@ -7900,7 +7934,7 @@ km.res diff = --- tests/km.c -+++ /tmp/cocci-output-19972-22890c-km.c ++++ /tmp/cocci-output-7871-ed1c18-km.c @@ -1,5 +1,4 @@ int main() { - int *data = kmalloc(element->string.length + 1, GFP_KERNEL); @@ -7911,7 +7945,7 @@ kmalloc.res diff = --- tests/kmalloc.c -+++ /tmp/cocci-output-19972-ffd27d-kmalloc.c ++++ /tmp/cocci-output-7871-d4a350-kmalloc.c @@ -1,9 +1,7 @@ int main() { struct bar *y; @@ -7929,7 +7963,7 @@ warning: r: metavariable S not used in the - or context code diff = --- tests/kmc.c -+++ /tmp/cocci-output-19972-db9736-kmc.c ++++ /tmp/cocci-output-7871-8bca93-kmc.c @@ -10,5 +10,4 @@ dmabounce_register_dev(struct device *de err_destroy: @@ -7939,7 +7973,7 @@ kr.res diff = --- tests/kr.c -+++ /tmp/cocci-output-19972-4200ea-kr.c ++++ /tmp/cocci-output-7871-d14c0e-kr.c @@ -3,5 +3,4 @@ int a(x) { y = (j) @@ -7951,7 +7985,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/ktype.c -+++ /tmp/cocci-output-19972-9ff73f-ktype.c ++++ /tmp/cocci-output-7871-7a7613-ktype.c @@ -3,8 +3,6 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -7967,7 +8001,7 @@ warning: r: metavariable T not used in the - or context code diff = --- tests/ktype2.c -+++ /tmp/cocci-output-19972-0a6db0-ktype2.c ++++ /tmp/cocci-output-7871-cb6754-ktype2.c @@ -3,11 +3,8 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -7984,7 +8018,7 @@ labels_metastatement.res diff = --- tests/labels_metastatement.c -+++ /tmp/cocci-output-19972-1f7167-labels_metastatement.c ++++ /tmp/cocci-output-7871-d52051-labels_metastatement.c @@ -1,9 +1,15 @@ int foo(int i) { @@ -8007,7 +8041,7 @@ labels_metastatement_ver1.res diff = --- tests/labels_metastatement_ver1.c -+++ /tmp/cocci-output-19972-68758a-labels_metastatement_ver1.c ++++ /tmp/cocci-output-7871-ce4d2c-labels_metastatement_ver1.c @@ -1,5 +1,9 @@ int foo(int i) { @@ -8022,7 +8056,7 @@ lid.res diff = --- tests/lid.c -+++ /tmp/cocci-output-19972-abde91-lid.c ++++ /tmp/cocci-output-7871-7aca8d-lid.c @@ -1,6 +1,6 @@ int main () { int a; @@ -8034,7 +8068,7 @@ line_before_last.res diff = --- tests/line_before_last.c -+++ /tmp/cocci-output-19972-6ec552-line_before_last.c ++++ /tmp/cocci-output-7871-1c5882-line_before_last.c @@ -1,17 +1,13 @@ int main () { - foo(); @@ -8077,7 +8111,7 @@ warning: line 86: should b be a metavariable? diff = --- tests/list_test.c -+++ /tmp/cocci-output-19972-d8f921-list_test.c ++++ /tmp/cocci-output-7871-1f1ee2-list_test.c @@ -1,55 +1,53 @@ int main () { - f(a); @@ -8276,14 +8310,14 @@ local.res diff = --- tests/local.c -+++ /tmp/cocci-output-19972-78e75e-local.c ++++ /tmp/cocci-output-7871-fb1091-local.c @@ -1 +1 @@ -int f(int xx, int yy) { return 0; } +int f(int a, int b, int yy) { return 0; } localglobal.res diff = --- tests/localglobal.c -+++ /tmp/cocci-output-19972-5442a7-localglobal.c ++++ /tmp/cocci-output-7871-85fc99-localglobal.c @@ -3,5 +3,5 @@ int a; int main(int b) { int c; @@ -8294,7 +8328,7 @@ localid.res diff = --- tests/localid.c -+++ /tmp/cocci-output-19972-a9fe32-localid.c ++++ /tmp/cocci-output-7871-0cd053-localid.c @@ -2,8 +2,7 @@ int c; int main () { @@ -8309,7 +8343,7 @@ log.res diff = --- tests/log.c -+++ /tmp/cocci-output-19972-6f3858-log.c ++++ /tmp/cocci-output-7871-d12e5b-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { @@ -8319,7 +8353,7 @@ longconst.res diff = --- tests/longconst.c -+++ /tmp/cocci-output-19972-08d859-longconst.c ++++ /tmp/cocci-output-7871-31a1fc-longconst.c @@ -2,18 +2,18 @@ long function1() { long a; @@ -8356,7 +8390,7 @@ warning: line 5: should a be a metavariable? diff = --- tests/longline2.c -+++ /tmp/cocci-output-19972-db7f53-longline2.c ++++ /tmp/cocci-output-7871-6da070-longline2.c @@ -1,8 +1,16 @@ int main() { - f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a,shdkjsdsdhkjsa,x,y,z); @@ -8381,7 +8415,7 @@ longlong.res diff = --- tests/longlong.c -+++ /tmp/cocci-output-19972-dd9e69-longlong.c ++++ /tmp/cocci-output-7871-5e12c4-longlong.c @@ -1,6 +1,6 @@ -long long a; +int a; @@ -8394,7 +8428,7 @@ longlongint.res diff = --- tests/longlongint.c -+++ /tmp/cocci-output-19972-2c2827-longlongint.c ++++ /tmp/cocci-output-7871-7b2e64-longlongint.c @@ -1,9 +1,3 @@ int main() { - unsigned int x; @@ -8408,7 +8442,7 @@ loop.res diff = --- tests/loop.c -+++ /tmp/cocci-output-19972-8a74c2-loop.c ++++ /tmp/cocci-output-7871-5752ac-loop.c @@ -1,5 +1,3 @@ int main() { - f(); @@ -8419,7 +8453,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/lvalue.c -+++ /tmp/cocci-output-19972-d8bc93-lvalue.c ++++ /tmp/cocci-output-7871-b66773-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; @@ -8430,7 +8464,7 @@ macro.res diff = --- tests/macro.c -+++ /tmp/cocci-output-19972-1223d1-macro.c ++++ /tmp/cocci-output-7871-8804c3-macro.c @@ -1,5 +1,5 @@ -#define SC_FCMND(fcmnd) ((Scsi_Cmnd *)((long)fcmnd - (long)&(((Scsi_Cmnd *)0)->SCp))) +#define SC_FCMND(fcmnd) ((struct scsi_cmnd *)((long)fcmnd - (long)&(((struct scsi_cmnd *)0)->SCp))) @@ -8442,7 +8476,7 @@ macro_int16.res diff = --- tests/macro_int16.c -+++ /tmp/cocci-output-19972-110fe3-macro_int16.c ++++ /tmp/cocci-output-7871-3646c2-macro_int16.c @@ -4,6 +4,6 @@ void main(void) { @@ -8454,7 +8488,7 @@ match_init.res diff = --- tests/match_init.c -+++ /tmp/cocci-output-19972-cdaf9e-match_init.c ++++ /tmp/cocci-output-7871-5284e3-match_init.c @@ -1,15 +1,15 @@ int probably_works () { - int x = 3; @@ -8477,7 +8511,7 @@ match_no_meta.res diff = --- tests/match_no_meta.c -+++ /tmp/cocci-output-19972-f0118e-match_no_meta.c ++++ /tmp/cocci-output-7871-72e5d7-match_no_meta.c @@ -2,6 +2,4 @@ void main(int i) { foo(1); @@ -8490,7 +8524,7 @@ warning: line 14: should i be a metavariable? diff = --- tests/max.c -+++ /tmp/cocci-output-19972-5a9e17-max.c ++++ /tmp/cocci-output-7871-73d774-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; @@ -8499,7 +8533,7 @@ mdec.res diff = --- tests/mdec.c -+++ /tmp/cocci-output-19972-0367d2-mdec.c ++++ /tmp/cocci-output-7871-246a10-mdec.c @@ -1,23 +1,26 @@ int main () { - int a, b, c, d; @@ -8551,8 +8585,8 @@ mdecl.res warning: rule starting on line 14: inherited metavariable unbound not used in the -, +, or context code Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_51513c.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_51513c.ml -File "/tmp/ocaml_cocci_51513c.ml", line 30, characters 4-11: +ocamlopt.opt -shared -o /tmp/ocaml_cocci_b6b0e9.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_b6b0e9.ml +File "/tmp/ocaml_cocci_b6b0e9.ml", line 30, characters 4-11: Warning 26: unused variable unbound. File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque @@ -8562,7 +8596,7 @@ Loading ML code of the SP... diff = --- tests/mdecl.c -+++ /tmp/cocci-output-19972-e07b05-mdecl.c ++++ /tmp/cocci-output-7871-c701e2-mdecl.c @@ -1,5 +1,4 @@ -int one () { if (c < 0) return 12; return x < 0; } + @@ -8572,7 +8606,7 @@ -int one () { int c; if (c) return 12; return x < 0; } mdeclp.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_d6ff47.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_d6ff47.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_de4521.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_de4521.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: @@ -8581,7 +8615,7 @@ Loading ML code of the SP... mdeclp2.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_b57e2f.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_b57e2f.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_7ab882.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_7ab882.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: @@ -8591,7 +8625,7 @@ memory.res diff = --- tests/memory.c -+++ /tmp/cocci-output-19972-ac4319-memory.c ++++ /tmp/cocci-output-7871-e8c1cb-memory.c @@ -2,6 +2,5 @@ int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) @@ -8606,7 +8640,7 @@ warning: line 48: should y be a metavariable? diff = --- tests/metaline.c -+++ /tmp/cocci-output-19972-666673-metaline.c ++++ /tmp/cocci-output-7871-0e0162-metaline.c @@ -1,9 +1,8 @@ int main () { - static int x; @@ -8627,7 +8661,7 @@ diff = --- tests/metaops.c -+++ /tmp/cocci-output-19972-d295fd-metaops.c ++++ /tmp/cocci-output-7871-c91d71-metaops.c @@ -2,24 +2,24 @@ int p1() { int x = 0; int y = 1; @@ -8703,7 +8737,7 @@ metaops0.res diff = --- tests/metaops0.c -+++ /tmp/cocci-output-19972-db28fb-metaops0.c ++++ /tmp/cocci-output-7871-467ebf-metaops0.c @@ -1,44 +1,11 @@ int p1() { - int x = 0; @@ -8752,7 +8786,7 @@ metaruleelem.res diff = --- tests/metaruleelem.c -+++ /tmp/cocci-output-19972-b1e3c7-metaruleelem.c ++++ /tmp/cocci-output-7871-b91e84-metaruleelem.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -8765,7 +8799,7 @@ metastatement2.res diff = --- tests/metastatement2.c -+++ /tmp/cocci-output-19972-50e6f7-metastatement2.c ++++ /tmp/cocci-output-7871-7acb0f-metastatement2.c @@ -1,6 +1,5 @@ void main(int i) { @@ -8776,7 +8810,7 @@ metastatement_for.res diff = --- tests/metastatement_for.c -+++ /tmp/cocci-output-19972-09825b-metastatement_for.c ++++ /tmp/cocci-output-7871-4a6237-metastatement_for.c @@ -1,9 +1,6 @@ void main(void) { @@ -8790,7 +8824,7 @@ metastatement_if.res diff = --- tests/metastatement_if.c -+++ /tmp/cocci-output-19972-9729ae-metastatement_if.c ++++ /tmp/cocci-output-7871-8d1bf2-metastatement_if.c @@ -5,8 +5,4 @@ void main(void) printf("%d", i); } @@ -8803,7 +8837,7 @@ mincom.res diff = --- tests/mincom.c -+++ /tmp/cocci-output-19972-91543b-mincom.c ++++ /tmp/cocci-output-7871-967ad8-mincom.c @@ -1,5 +1,7 @@ int main () { - if (rc == LS_NONE_FIRST_DE) @@ -8817,14 +8851,14 @@ minenum.res diff = --- tests/minenum.c -+++ /tmp/cocci-output-19972-8634ff-minenum.c ++++ /tmp/cocci-output-7871-197f68-minenum.c @@ -1 +1 @@ -enum h { x, a, z, q, b }; +enum h { x, qq, q, b }; minenum1.res diff = --- tests/minenum1.c -+++ /tmp/cocci-output-19972-afbbdf-minenum1.c ++++ /tmp/cocci-output-7871-94ac9a-minenum1.c @@ -1,2 +1,2 @@ -enum h { x, a, z, +enum h { x, qq, @@ -8832,7 +8866,7 @@ minfn.res diff = --- tests/minfn.c -+++ /tmp/cocci-output-19972-7a3ba5-minfn.c ++++ /tmp/cocci-output-7871-6dc505-minfn.c @@ -1,13 +1,5 @@ int main () { return first; } @@ -8850,7 +8884,7 @@ mini_null_ref.res diff = --- tests/mini_null_ref.c -+++ /tmp/cocci-output-19972-cfc594-mini_null_ref.c ++++ /tmp/cocci-output-7871-ca165e-mini_null_ref.c @@ -2,11 +2,12 @@ static int __devinit w90p910_keypad_prob { const struct w90p910_keypad_platform_data *pdata = @@ -8868,7 +8902,7 @@ miniswap.res diff = --- tests/miniswap.c -+++ /tmp/cocci-output-19972-791951-miniswap.c ++++ /tmp/cocci-output-7871-0ff4c5-miniswap.c @@ -1,5 +1,5 @@ static void swap_refcount_rec(void *a, void *b, int size) { @@ -8879,7 +8913,7 @@ minstruct.res diff = --- tests/minstruct.c -+++ /tmp/cocci-output-19972-13db05-minstruct.c ++++ /tmp/cocci-output-7871-0b47bd-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", @@ -8892,7 +8926,7 @@ minusdots.res diff = --- tests/minusdots.c -+++ /tmp/cocci-output-19972-8b5027-minusdots.c ++++ /tmp/cocci-output-7871-aea552-minusdots.c @@ -1,9 +1,3 @@ void main(int i) { - @@ -8906,7 +8940,7 @@ minusdots_ver1.res diff = --- tests/minusdots_ver1.c -+++ /tmp/cocci-output-19972-2c7a30-minusdots_ver1.c ++++ /tmp/cocci-output-7871-fd2fa9-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - @@ -8921,7 +8955,7 @@ diff = 102 105 --- tests/multichars.c -+++ /tmp/cocci-output-19972-f58d4b-multichars.c ++++ /tmp/cocci-output-7871-7ac91d-multichars.c @@ -1,5 +1,5 @@ int main () { - f('XYZ',ab); @@ -8934,7 +8968,7 @@ multidec.res diff = --- tests/multidec.c -+++ /tmp/cocci-output-19972-7cc3a9-multidec.c ++++ /tmp/cocci-output-7871-fb2451-multidec.c @@ -1,11 +1,6 @@ int main () { int x = 3,z; @@ -8951,7 +8985,7 @@ multidecl3.res diff = --- tests/multidecl3.c -+++ /tmp/cocci-output-19972-e6f626-multidecl3.c ++++ /tmp/cocci-output-7871-522050-multidecl3.c @@ -1,17 +1,13 @@ int main () { - int *i, i[12], i, k, r; @@ -8975,7 +9009,7 @@ multipath.res diff = --- tests/multipath.c -+++ /tmp/cocci-output-19972-37b045-multipath.c ++++ /tmp/cocci-output-7871-5af72a-multipath.c @@ -2,8 +2,8 @@ static void multipathd(struct md_thread { for (;;) { @@ -8991,7 +9025,7 @@ warning: rule starting on line 3: metavariable T not used in the - or context code diff = --- tests/multiplus.c -+++ /tmp/cocci-output-19972-2d8156-multiplus.c ++++ /tmp/cocci-output-7871-d15eff-multiplus.c @@ -1,4 +1,4 @@ -static void xm_link_timer(void *arg) +static void xm_link_timer(struct work_struct *work) @@ -9001,7 +9035,7 @@ multiremove.res diff = --- tests/multiremove.c -+++ /tmp/cocci-output-19972-45c617-multiremove.c ++++ /tmp/cocci-output-7871-128a76-multiremove.c @@ -1,8 +1,5 @@ int main () { if (x) { xyz1(); } @@ -9014,7 +9048,7 @@ multistruct.res diff = --- tests/multistruct.c -+++ /tmp/cocci-output-19972-8a9f45-multistruct.c ++++ /tmp/cocci-output-7871-bfd9d4-multistruct.c @@ -1,5 +1,3 @@ -struct one x; @@ -9024,7 +9058,7 @@ multitype.res diff = --- tests/multitype.c -+++ /tmp/cocci-output-19972-48c91e-multitype.c ++++ /tmp/cocci-output-7871-470eb6-multitype.c @@ -3,5 +3,5 @@ typedef struct foo { int a; } foo_t; int main() { foo_t * x; @@ -9036,7 +9070,7 @@ warning: non_delayed_fn: metavariable T not used in the - or context code diff = --- tests/multitypedef.c -+++ /tmp/cocci-output-19972-2494e5-multitypedef.c ++++ /tmp/cocci-output-7871-f85fb1-multitypedef.c @@ -5,5 +5,5 @@ typedef struct HYSDN_CARD { int ergo_inithardware(hysdn_card * card) @@ -9047,7 +9081,7 @@ multivars.res diff = --- tests/multivars.c -+++ /tmp/cocci-output-19972-09f868-multivars.c ++++ /tmp/cocci-output-7871-f16a7a-multivars.c @@ -1,5 +1,5 @@ void main(int i) { @@ -9058,7 +9092,7 @@ na.res diff = --- tests/na.c -+++ /tmp/cocci-output-19972-f31aa2-na.c ++++ /tmp/cocci-output-7871-a5aae4-na.c @@ -4,10 +4,10 @@ void foo() { int i; @@ -9077,7 +9111,7 @@ nameless.res diff = --- tests/nameless.c -+++ /tmp/cocci-output-19972-e347fa-nameless.c ++++ /tmp/cocci-output-7871-b64cf0-nameless.c @@ -1,6 +1,6 @@ typedef union { int foo; @@ -9091,7 +9125,7 @@ warning: line 18: should xxx be a metavariable? diff = --- tests/nest.c -+++ /tmp/cocci-output-19972-51eb25-nest.c ++++ /tmp/cocci-output-7871-ddedaf-nest.c @@ -1,7 +1,7 @@ void info_func(int i) { foo(); @@ -9106,7 +9140,7 @@ warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c -+++ /tmp/cocci-output-19972-4210f0-nestone.c ++++ /tmp/cocci-output-7871-6ed1e9-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} @@ -9115,7 +9149,7 @@ nestseq.res diff = --- tests/nestseq.c -+++ /tmp/cocci-output-19972-eb185f-nestseq.c ++++ /tmp/cocci-output-7871-017ad9-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); @@ -9125,7 +9159,7 @@ neststruct.res diff = --- tests/neststruct.c -+++ /tmp/cocci-output-19972-15d9d3-neststruct.c ++++ /tmp/cocci-output-7871-ebe234-neststruct.c @@ -8,6 +8,6 @@ struct usb_hub { static int hub_configure(struct usb_hub *hub) @@ -9138,7 +9172,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/nl.c -+++ /tmp/cocci-output-19972-4c9f0e-nl.c ++++ /tmp/cocci-output-7871-973052-nl.c @@ -1,4 +1,4 @@ int main() { - if (x) return; @@ -9149,7 +9183,7 @@ noa.res diff = --- tests/noa.c -+++ /tmp/cocci-output-19972-fbfe2b-noa.c ++++ /tmp/cocci-output-7871-f00337-noa.c @@ -2,6 +2,6 @@ int main () { if (x) { a(); } else { a(); } } @@ -9161,7 +9195,7 @@ nocast.res diff = --- tests/nocast.c -+++ /tmp/cocci-output-19972-5e20ea-nocast.c ++++ /tmp/cocci-output-7871-3ca985-nocast.c @@ -1,4 +1,4 @@ -int main (unsigned int __nocast gfp_mask, int x) { +int main (gfp_t gfp_mask, int x) { @@ -9171,7 +9205,7 @@ noret.res diff = --- tests/noret.c -+++ /tmp/cocci-output-19972-afe51f-noret.c ++++ /tmp/cocci-output-7871-a70501-noret.c @@ -1,18 +1,18 @@ -main (int x); -static xmain (int x); @@ -9203,7 +9237,7 @@ not.res diff = --- tests/not.c -+++ /tmp/cocci-output-19972-3672a4-not.c ++++ /tmp/cocci-output-7871-ee9a2a-not.c @@ -1,9 +1,9 @@ int main() { int x; @@ -9220,7 +9254,7 @@ notest.res diff = --- tests/notest.c -+++ /tmp/cocci-output-19972-e8a7fe-notest.c ++++ /tmp/cocci-output-7871-2073f8-notest.c @@ -1,6 +1,6 @@ int main() { struct foo *x; @@ -9232,7 +9266,7 @@ noty.res diff = --- tests/noty.c -+++ /tmp/cocci-output-19972-600ba4-noty.c ++++ /tmp/cocci-output-7871-b17148-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } @@ -9241,7 +9275,7 @@ noty2.res diff = --- tests/noty2.c -+++ /tmp/cocci-output-19972-955c6c-noty2.c ++++ /tmp/cocci-output-7871-a9b103-noty2.c @@ -1,14 +1,11 @@ main () { - foo(); @@ -9261,7 +9295,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/null_bool.c -+++ /tmp/cocci-output-19972-978dd8-null_bool.c ++++ /tmp/cocci-output-7871-d67d62-null_bool.c @@ -1,8 +1,8 @@ int main () { - if (x != NULL) return; @@ -9278,7 +9312,7 @@ null_type.res diff = --- tests/null_type.c -+++ /tmp/cocci-output-19972-5605e6-null_type.c ++++ /tmp/cocci-output-7871-102845-null_type.c @@ -2,7 +2,7 @@ int main(int i) { int *x; @@ -9294,7 +9328,7 @@ warning: line 6: should x be a metavariable? diff = --- tests/oddifdef.c -+++ /tmp/cocci-output-19972-65048a-oddifdef.c ++++ /tmp/cocci-output-7871-fed7d3-oddifdef.c @@ -7,9 +7,7 @@ void one () { a = 5; @@ -9327,7 +9361,7 @@ of.res diff = --- tests/of.c -+++ /tmp/cocci-output-19972-3d2901-of.c ++++ /tmp/cocci-output-7871-895e95-of.c @@ -1,16 +1,20 @@ static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { @@ -9354,7 +9388,7 @@ oneline.res diff = --- tests/oneline.c -+++ /tmp/cocci-output-19972-c86d18-oneline.c ++++ /tmp/cocci-output-7871-eacc01-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); @@ -9365,7 +9399,7 @@ opt.res diff = --- tests/opt.c -+++ /tmp/cocci-output-19972-1c8506-opt.c ++++ /tmp/cocci-output-7871-ca0462-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); @@ -9373,7 +9407,7 @@ optional_qualifier.res diff = --- tests/optional_qualifier.c -+++ /tmp/cocci-output-19972-74d197-optional_qualifier.c ++++ /tmp/cocci-output-7871-c57ab8-optional_qualifier.c @@ -1,2 +1,2 @@ -int a; +const int a; @@ -9381,7 +9415,7 @@ optional_storage.res diff = --- tests/optional_storage.c -+++ /tmp/cocci-output-19972-d3f5bf-optional_storage.c ++++ /tmp/cocci-output-7871-0317a0-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) @@ -9391,7 +9425,7 @@ orexp.res diff = --- tests/orexp.c -+++ /tmp/cocci-output-19972-25a31a-orexp.c ++++ /tmp/cocci-output-7871-fa3536-orexp.c @@ -1,3 +1,3 @@ int main() { - bar(12+12); @@ -9402,7 +9436,7 @@ warning: xxx: metavariable f not used in the - or context code diff = --- tests/overshoot.c -+++ /tmp/cocci-output-19972-6b581c-overshoot.c ++++ /tmp/cocci-output-7871-ac48f5-overshoot.c @@ -1,9 +1,6 @@ int main () { a(); @@ -9417,7 +9451,7 @@ p9.res diff = --- tests/p9.c -+++ /tmp/cocci-output-19972-99eac2-p9.c ++++ /tmp/cocci-output-7871-c8c7ab-p9.c @@ -1,3 +1,3 @@ -int f(int, int, int x) { +int f(int v2, int v3, int x) { @@ -9426,7 +9460,7 @@ pa.res diff = --- tests/pa.c -+++ /tmp/cocci-output-19972-c84e9d-pa.c ++++ /tmp/cocci-output-7871-3a1f2f-pa.c @@ -3,8 +3,8 @@ char *parse_args(const char *doing, const struct kernel_param *params, unsigned num, @@ -9441,7 +9475,7 @@ param.res diff = --- tests/param.c -+++ /tmp/cocci-output-19972-fa8739-param.c ++++ /tmp/cocci-output-7871-f0a0d0-param.c @@ -1 +1 @@ -void foo() { return; } + @@ -9450,7 +9484,7 @@ warning: line 14: should y be a metavariable? diff = --- tests/param_end.c -+++ /tmp/cocci-output-19972-74dc3a-param_end.c ++++ /tmp/cocci-output-7871-db129c-param_end.c @@ -1,15 +1,15 @@ -int one (int x) { return; } +int one () { return; } @@ -9478,7 +9512,7 @@ param_to_exp.res diff = --- tests/param_to_exp.c -+++ /tmp/cocci-output-19972-c79ff0-param_to_exp.c ++++ /tmp/cocci-output-7871-0d6a6a-param_to_exp.c @@ -1,3 +1,4 @@ int main (int x, int y) { + foo(x, y); @@ -9487,14 +9521,14 @@ param_ver1.res diff = --- tests/param_ver1.c -+++ /tmp/cocci-output-19972-627abf-param_ver1.c ++++ /tmp/cocci-output-7871-1a626f-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c -+++ /tmp/cocci-output-19972-c27318-parameters_dots.c ++++ /tmp/cocci-output-7871-329424-parameters_dots.c @@ -1,7 +1,4 @@ void main(int i) { @@ -9507,7 +9541,7 @@ warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/partial.c -+++ /tmp/cocci-output-19972-940808-partial.c ++++ /tmp/cocci-output-7871-09b8a0-partial.c @@ -1,3 +1,3 @@ #define CS_THIS_MODULE THIS_MODULE, #define CS_OWNER owner: @@ -9517,7 +9551,7 @@ warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type.c -+++ /tmp/cocci-output-19972-22864a-pb_distribute_type.c ++++ /tmp/cocci-output-7871-da229f-pb_distribute_type.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -9541,7 +9575,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2.c -+++ /tmp/cocci-output-19972-00b49b-pb_distribute_type2.c ++++ /tmp/cocci-output-7871-55fa0e-pb_distribute_type2.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -9568,7 +9602,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c -+++ /tmp/cocci-output-19972-1e5483-pb_distribute_type4.c ++++ /tmp/cocci-output-7871-4a4772-pb_distribute_type4.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -9592,7 +9626,7 @@ warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c -+++ /tmp/cocci-output-19972-b457c2-pb_params_iso.c ++++ /tmp/cocci-output-7871-354bbe-pb_params_iso.c @@ -1,17 +1,17 @@ -int f(bool a, int i, bool b) { @@ -9618,7 +9652,7 @@ pb_parsing_macro.res diff = --- tests/pb_parsing_macro.c -+++ /tmp/cocci-output-19972-f14ffc-pb_parsing_macro.c ++++ /tmp/cocci-output-7871-d63061-pb_parsing_macro.c @@ -1,4 +1,4 @@ #define FOO_METH_TEST(a) prefix_##a void FOO_METH_TEST(foo)(int x){ @@ -9628,7 +9662,7 @@ pb_tag_symbols.res diff = --- tests/pb_tag_symbols.c -+++ /tmp/cocci-output-19972-f19418-pb_tag_symbols.c ++++ /tmp/cocci-output-7871-388a16-pb_tag_symbols.c @@ -1,5 +1,3 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -9638,7 +9672,7 @@ pcim.res diff = --- tests/pcim.c -+++ /tmp/cocci-output-19972-91613f-pcim.c ++++ /tmp/cocci-output-7871-a5170d-pcim.c @@ -1,5 +1,6 @@ int main () { - ctx->sensePA = pci_map_single(adapter->dev, cmd->sense_buffer, @@ -9651,7 +9685,7 @@ pmac.res diff = --- tests/pmac.c -+++ /tmp/cocci-output-19972-3c7174-pmac.c ++++ /tmp/cocci-output-7871-d2e51b-pmac.c @@ -4,7 +4,5 @@ #include #endif @@ -9663,7 +9697,7 @@ posiso.res diff = --- tests/posiso.c -+++ /tmp/cocci-output-19972-36706c-posiso.c ++++ /tmp/cocci-output-7871-1d7a10-posiso.c @@ -1,9 +1,7 @@ int main () { int *x; @@ -9677,7 +9711,7 @@ positionc.res diff = --- tests/positionc.c -+++ /tmp/cocci-output-19972-e81637-positionc.c ++++ /tmp/cocci-output-7871-2cc94b-positionc.c @@ -2,8 +2,6 @@ int main () { if (foo(6,7)) x = ret; else x = ret; if (foo(6,7)) x = ret; else x = ret; @@ -9690,7 +9724,7 @@ post.res diff = --- tests/post.c -+++ /tmp/cocci-output-19972-1c65cc-post.c ++++ /tmp/cocci-output-7871-d64094-post.c @@ -1,8 +1,6 @@ int main() { - f(3, foo + bar, 5); @@ -9703,7 +9737,7 @@ pragmatest.res diff = --- tests/pragmatest.c -+++ /tmp/cocci-output-19972-144807-pragmatest.c ++++ /tmp/cocci-output-7871-fc100f-pragmatest.c @@ -1,17 +1,10 @@ int two () { return 12; } @@ -9726,7 +9760,7 @@ pragmatest1.res diff = --- tests/pragmatest1.c -+++ /tmp/cocci-output-19972-a1b94d-pragmatest1.c ++++ /tmp/cocci-output-7871-fddd89-pragmatest1.c @@ -1,3 +1,2 @@ -#pragma xxx a b c @@ -9737,7 +9771,7 @@ warning: rule starting on line 1: metavariable E not used in the - or context code diff = --- tests/print_return.c -+++ /tmp/cocci-output-19972-c9fcf6-print_return.c ++++ /tmp/cocci-output-7871-e99225-print_return.c @@ -1,4 +1,3 @@ int config(struct pcmcia_device *link) { - bar(); @@ -9747,7 +9781,7 @@ proto.res diff = --- tests/proto.c -+++ /tmp/cocci-output-19972-d139f7-proto.c ++++ /tmp/cocci-output-7871-d83367-proto.c @@ -1,10 +1,2 @@ static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); @@ -9762,7 +9796,7 @@ proto2.res diff = --- tests/proto2.c -+++ /tmp/cocci-output-19972-28c04d-proto2.c ++++ /tmp/cocci-output-7871-cdcae7-proto2.c @@ -1,10 +1,9 @@ static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); @@ -9779,7 +9813,7 @@ proto_ver1.res diff = --- tests/proto_ver1.c -+++ /tmp/cocci-output-19972-68b9c2-proto_ver1.c ++++ /tmp/cocci-output-7871-20acd8-proto_ver1.c @@ -1,10 +1,2 @@ void bch_l2l1(struct PStack *st, int pr, void *arg); -void bch_sched_event(struct BCState *bcs, int event); @@ -9794,7 +9828,7 @@ proto_ver2.res diff = --- tests/proto_ver2.c -+++ /tmp/cocci-output-19972-fae36e-proto_ver2.c ++++ /tmp/cocci-output-7871-a50251-proto_ver2.c @@ -46,7 +46,6 @@ static inline void dch_int(struct IsdnCa static void __devinit dch_setstack(struct PStack *st, struct IsdnCardState *cs); static void __devinit dch_init(struct IsdnCardState *cs); @@ -9823,7 +9857,7 @@ protoassert.res diff = --- tests/protoassert.c -+++ /tmp/cocci-output-19972-d3e6b8-protoassert.c ++++ /tmp/cocci-output-7871-a2cc37-protoassert.c @@ -1,6 +1,8 @@ static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); @@ -9840,7 +9874,7 @@ ptrar.res diff = --- tests/ptrar.c -+++ /tmp/cocci-output-19972-8ca0a6-ptrar.c ++++ /tmp/cocci-output-7871-600428-ptrar.c @@ -1,8 +1,8 @@ int main () { struct foo *x; @@ -9857,7 +9891,7 @@ rcu3.res diff = --- tests/rcu3.c -+++ /tmp/cocci-output-19972-caeffd-rcu3.c ++++ /tmp/cocci-output-7871-349bfa-rcu3.c @@ -3,6 +3,6 @@ static struct mtd_chip_driver *get_mtd_c struct list_head *pos; struct mtd_chip_driver *this; @@ -9870,7 +9904,7 @@ regexp.res diff = --- tests/regexp.c -+++ /tmp/cocci-output-19972-683213-regexp.c ++++ /tmp/cocci-output-7871-3883bd-regexp.c @@ -1,9 +1,23 @@ int main(void) { @@ -9898,7 +9932,7 @@ regexp2.res diff = --- tests/regexp2.c -+++ /tmp/cocci-output-19972-e9f4ab-regexp2.c ++++ /tmp/cocci-output-7871-0161de-regexp2.c @@ -2,9 +2,23 @@ int main(void) { @@ -9926,7 +9960,7 @@ regexp3.res diff = --- tests/regexp3.c -+++ /tmp/cocci-output-19972-240908-regexp3.c ++++ /tmp/cocci-output-7871-f81f22-regexp3.c @@ -2,10 +2,27 @@ int main(void) { @@ -9958,7 +9992,7 @@ rem1.res diff = --- tests/rem1.c -+++ /tmp/cocci-output-19972-9f2a3f-rem1.c ++++ /tmp/cocci-output-7871-3e26db-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -9968,7 +10002,7 @@ rem2.res diff = --- tests/rem2.c -+++ /tmp/cocci-output-19972-3d75b0-rem2.c ++++ /tmp/cocci-output-7871-27d699-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -9978,7 +10012,7 @@ remaft.res diff = --- tests/remaft.c -+++ /tmp/cocci-output-19972-826bcf-remaft.c ++++ /tmp/cocci-output-7871-9396eb-remaft.c @@ -1,8 +1,6 @@ int main() { #ifdef BLAH @@ -9991,7 +10025,7 @@ remove_call.res diff = --- tests/remove_call.c -+++ /tmp/cocci-output-19972-937d43-remove_call.c ++++ /tmp/cocci-output-7871-2f9295-remove_call.c @@ -1,6 +1,2 @@ int main () { - int x = 3 + FN() + FN(); @@ -10002,7 +10036,7 @@ remparam.res diff = --- tests/remparam.c -+++ /tmp/cocci-output-19972-b382af-remparam.c ++++ /tmp/cocci-output-7871-cf22d1-remparam.c @@ -1,14 +1,14 @@ static irqreturn_t -snd_ad1889_interrupt(void *dev_id, int x, @@ -10025,7 +10059,7 @@ rems.res diff = --- tests/rems.c -+++ /tmp/cocci-output-19972-c45f24-rems.c ++++ /tmp/cocci-output-7871-99d325-rems.c @@ -1,5 +1,4 @@ int main () { x(); @@ -10035,7 +10069,7 @@ rems1.res diff = --- tests/rems1.c -+++ /tmp/cocci-output-19972-1c33c3-rems1.c ++++ /tmp/cocci-output-7871-dcbba3-rems1.c @@ -1,5 +1,4 @@ int main () { x(); @@ -10047,7 +10081,7 @@ warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct.c -+++ /tmp/cocci-output-19972-3aad69-remstruct.c ++++ /tmp/cocci-output-7871-cf9cf3-remstruct.c @@ -1,13 +1,4 @@ -static struct irqchip mpuio_irq_chip = { - .ack = mpuio_ack_irq, @@ -10065,7 +10099,7 @@ replace_typedef.res diff = --- tests/replace_typedef.c -+++ /tmp/cocci-output-19972-4bcf84-replace_typedef.c ++++ /tmp/cocci-output-7871-a8fd55-replace_typedef.c @@ -3,8 +3,8 @@ typedef struct foo { int x; } foo_t; typedef int int_t; @@ -10080,7 +10114,7 @@ reserved.res diff = --- tests/reserved.c -+++ /tmp/cocci-output-19972-a21cc4-reserved.c ++++ /tmp/cocci-output-7871-68dc48-reserved.c @@ -1,7 +1,4 @@ int main() { - f(1,1); @@ -10092,7 +10126,7 @@ retest.res diff = --- tests/retest.c -+++ /tmp/cocci-output-19972-128302-retest.c ++++ /tmp/cocci-output-7871-0619f1-retest.c @@ -1,6 +1,6 @@ int main () { foo(); @@ -10104,7 +10138,7 @@ retmacro.res diff = --- tests/retmacro.c -+++ /tmp/cocci-output-19972-dd0a88-retmacro.c ++++ /tmp/cocci-output-7871-eb0c37-retmacro.c @@ -1,6 +1,6 @@ #define REG_PATTERN_TEST(R, M, W) \ { \ @@ -10127,7 +10161,7 @@ warning: rule starting on line 18: metavariable S not used in the - or context code diff = --- tests/return.c -+++ /tmp/cocci-output-19972-2c3bfa-return.c ++++ /tmp/cocci-output-7871-db4923-return.c @@ -1,6 +1,9 @@ void foo(int y) { int x; @@ -10143,7 +10177,7 @@ return_implicit.res diff = --- tests/return_implicit.c -+++ /tmp/cocci-output-19972-8feeed-return_implicit.c ++++ /tmp/cocci-output-7871-7ba011-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { @@ -10153,7 +10187,7 @@ retval.res diff = --- tests/retval.c -+++ /tmp/cocci-output-19972-758a9f-retval.c ++++ /tmp/cocci-output-7871-d35050-retval.c @@ -1,21 +1,15 @@ int main () { if (retval1) { @@ -10183,7 +10217,7 @@ retval2.res diff = --- tests/retval2.c -+++ /tmp/cocci-output-19972-0df7ae-retval2.c ++++ /tmp/cocci-output-7871-0e7096-retval2.c @@ -11,7 +11,7 @@ int getlen(int *input, size_t maxlen, in return -1; } @@ -10196,7 +10230,7 @@ rptr.res diff = --- tests/rptr.c -+++ /tmp/cocci-output-19972-d5e1a2-rptr.c ++++ /tmp/cocci-output-7871-897f6e-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { @@ -10207,7 +10241,7 @@ same_expr.res diff = --- tests/same_expr.c -+++ /tmp/cocci-output-19972-808451-same_expr.c ++++ /tmp/cocci-output-7871-79c300-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { @@ -10218,7 +10252,7 @@ scope_problem.res diff = --- tests/scope_problem.c -+++ /tmp/cocci-output-19972-3d4285-scope_problem.c ++++ /tmp/cocci-output-7871-ea7cb2-scope_problem.c @@ -1,15 +1,7 @@ void main(int i) { - @@ -10242,7 +10276,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/shared_brace.c -+++ /tmp/cocci-output-19972-1dae23-shared_brace.c ++++ /tmp/cocci-output-7871-dd8252-shared_brace.c @@ -1,9 +1,7 @@ int __init ixj_init(void) @@ -10260,7 +10294,7 @@ warning: line 10: should a be a metavariable? diff = --- tests/signed.c -+++ /tmp/cocci-output-19972-c26560-signed.c ++++ /tmp/cocci-output-7871-65ec44-signed.c @@ -1,5 +1,5 @@ int main() { - signed x; @@ -10272,7 +10306,7 @@ sis.res diff = --- tests/sis.c -+++ /tmp/cocci-output-19972-d37aa7-sis.c ++++ /tmp/cocci-output-7871-98fc58-sis.c @@ -1,4 +1,4 @@ -DECLARE_MUTEX(disconnect_sem); +DEFINE_MUTEX(disconnect_sem); @@ -10282,7 +10316,7 @@ sizeof.res diff = --- tests/sizeof.c -+++ /tmp/cocci-output-19972-9cdb15-sizeof.c ++++ /tmp/cocci-output-7871-ea44d7-sizeof.c @@ -1,7 +1,7 @@ int main (int param) { @@ -10296,7 +10330,7 @@ sizeof_julia.res diff = --- tests/sizeof_julia.c -+++ /tmp/cocci-output-19972-d1fc2b-sizeof_julia.c ++++ /tmp/cocci-output-7871-40767d-sizeof_julia.c @@ -1,5 +1,5 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) @@ -10307,7 +10341,7 @@ sizeptr.res diff = --- tests/sizeptr.c -+++ /tmp/cocci-output-19972-e3302e-sizeptr.c ++++ /tmp/cocci-output-7871-d255d6-sizeptr.c @@ -5,7 +5,7 @@ int main () { ssize_t b; ptrdiff_t c; @@ -10322,7 +10356,7 @@ sizestar.res diff = --- tests/sizestar.c -+++ /tmp/cocci-output-19972-bfb945-sizestar.c ++++ /tmp/cocci-output-7871-0adbbe-sizestar.c @@ -1,7 +1,7 @@ int main () { max = num_var_ranges; @@ -10335,7 +10369,7 @@ skip.res diff = --- tests/skip.c -+++ /tmp/cocci-output-19972-5a9d76-skip.c ++++ /tmp/cocci-output-7871-d7dfcc-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); @@ -10346,7 +10380,7 @@ sl2.res diff = --- tests/sl2.c -+++ /tmp/cocci-output-19972-c067a9-sl2.c ++++ /tmp/cocci-output-7871-5a2bea-sl2.c @@ -1,11 +1,14 @@ int main () { + something(); @@ -10367,7 +10401,7 @@ one(); slen.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_2a2b70.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_2a2b70.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_eb2c45.cmxs -g -I /usr/lib/ocaml -I /build/coccinelle-1.0.4.deb/ocaml /tmp/ocaml_cocci_eb2c45.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: @@ -10376,7 +10410,7 @@ Loading ML code of the SP... diff = --- tests/slen.c -+++ /tmp/cocci-output-19972-566233-slen.c ++++ /tmp/cocci-output-7871-d74360-slen.c @@ -3,16 +3,10 @@ int main() { one(); } @@ -10399,7 +10433,7 @@ smallfn.res diff = --- tests/smallfn.c -+++ /tmp/cocci-output-19972-891209-smallfn.c ++++ /tmp/cocci-output-7871-9379fc-smallfn.c @@ -1,30 +1,65 @@ int main () { if (y) { @@ -10479,7 +10513,7 @@ sp.res diff = --- tests/sp.c -+++ /tmp/cocci-output-19972-bfcae7-sp.c ++++ /tmp/cocci-output-7871-465ea3-sp.c @@ -1,4 +1,4 @@ -typedef struct { +struct name { @@ -10491,7 +10525,7 @@ spacing.res diff = --- tests/spacing.c -+++ /tmp/cocci-output-19972-e9eb8f-spacing.c ++++ /tmp/cocci-output-7871-303af2-spacing.c @@ -1,8 +1,19 @@ typedef int *foo; @@ -10515,7 +10549,7 @@ spl.res diff = --- tests/spl.c -+++ /tmp/cocci-output-19972-ed8502-spl.c ++++ /tmp/cocci-output-7871-b9a65d-spl.c @@ -2,11 +2,13 @@ int main() { spin_lock(&isp116x->lock); /* take idle endpoints out of the schedule */ @@ -10533,7 +10567,7 @@ starprint.res diff = --- tests/starprint.c -+++ /tmp/cocci-output-19972-85149f-starprint.c ++++ /tmp/cocci-output-7871-c0a2db-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; @@ -10545,7 +10579,7 @@ static.res diff = --- tests/static.c -+++ /tmp/cocci-output-19972-c19b04-static.c ++++ /tmp/cocci-output-7871-1b9fbd-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { @@ -10555,7 +10589,7 @@ stm10.res diff = --- tests/stm10.c -+++ /tmp/cocci-output-19972-58babf-stm10.c ++++ /tmp/cocci-output-7871-a5a62e-stm10.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -10567,7 +10601,7 @@ stm10_ver1.res diff = --- tests/stm10_ver1.c -+++ /tmp/cocci-output-19972-cdb0e6-stm10_ver1.c ++++ /tmp/cocci-output-7871-194c54-stm10_ver1.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -10578,7 +10612,7 @@ stm2.res diff = --- tests/stm2.c -+++ /tmp/cocci-output-19972-601b75-stm2.c ++++ /tmp/cocci-output-7871-f2321c-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); @@ -10588,7 +10622,7 @@ stm3.res diff = --- tests/stm3.c -+++ /tmp/cocci-output-19972-25e0f5-stm3.c ++++ /tmp/cocci-output-7871-4c5f17-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); @@ -10599,7 +10633,7 @@ stm4.res diff = --- tests/stm4.c -+++ /tmp/cocci-output-19972-fdaa34-stm4.c ++++ /tmp/cocci-output-7871-44a89a-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); @@ -10609,7 +10643,7 @@ stm5.res diff = --- tests/stm5.c -+++ /tmp/cocci-output-19972-997ba5-stm5.c ++++ /tmp/cocci-output-7871-cc1deb-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); @@ -10621,7 +10655,7 @@ stm6.res diff = --- tests/stm6.c -+++ /tmp/cocci-output-19972-54dae3-stm6.c ++++ /tmp/cocci-output-7871-142a12-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -10633,7 +10667,7 @@ stm8.res diff = --- tests/stm8.c -+++ /tmp/cocci-output-19972-959ac5-stm8.c ++++ /tmp/cocci-output-7871-08a44e-stm8.c @@ -1,5 +1,5 @@ int main(int x) { f(); @@ -10644,7 +10678,7 @@ stmt.res diff = --- tests/stmt.c -+++ /tmp/cocci-output-19972-23490f-stmt.c ++++ /tmp/cocci-output-7871-1792ce-stmt.c @@ -1,4 +1,5 @@ int f() { int x; @@ -10655,7 +10689,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/str_init.c -+++ /tmp/cocci-output-19972-56aa09-str_init.c ++++ /tmp/cocci-output-7871-ccb78e-str_init.c @@ -1,7 +1,3 @@ struct foo x = { - .aaa = 5, @@ -10668,7 +10702,7 @@ warning: rule starting on line 1: metavariable f not used in the - or context code diff = --- tests/strangeorder.c -+++ /tmp/cocci-output-19972-5a5b8e-strangeorder.c ++++ /tmp/cocci-output-7871-088c53-strangeorder.c @@ -4,8 +4,10 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_client *client; @@ -10684,7 +10718,7 @@ strid.res diff = --- tests/strid.c -+++ /tmp/cocci-output-19972-cb0557-strid.c ++++ /tmp/cocci-output-7871-96eb3f-strid.c @@ -1,4 +1,4 @@ int main () { struct foo *a; @@ -10694,7 +10728,7 @@ strid2.res diff = --- tests/strid2.c -+++ /tmp/cocci-output-19972-bc28b0-strid2.c ++++ /tmp/cocci-output-7871-738e15-strid2.c @@ -3,8 +3,8 @@ int main () { enum foo1 *b; struct foo a1; @@ -10710,7 +10744,7 @@ struct.res diff = --- tests/struct.c -+++ /tmp/cocci-output-19972-797922-struct.c ++++ /tmp/cocci-output-7871-a66664-struct.c @@ -8,7 +8,5 @@ struct foo { int main() { @@ -10722,7 +10756,7 @@ struct_metavar.res diff = --- tests/struct_metavar.c -+++ /tmp/cocci-output-19972-92a493-struct_metavar.c ++++ /tmp/cocci-output-7871-12c9ca-struct_metavar.c @@ -9,9 +9,6 @@ struct foo { int main() { struct foo *a; @@ -10736,7 +10770,7 @@ struct_typedef.res diff = --- tests/struct_typedef.c -+++ /tmp/cocci-output-19972-f7dc46-struct_typedef.c ++++ /tmp/cocci-output-7871-04789c-struct_typedef.c @@ -1,5 +1,5 @@ -typedef struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -10749,7 +10783,7 @@ warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c -+++ /tmp/cocci-output-19972-db90c6-structfoo.c ++++ /tmp/cocci-output-7871-01b04c-structfoo.c @@ -1,4 +1 @@ -struct foo my_foo[] = { -.a = 1, @@ -10759,7 +10793,7 @@ substruct.res diff = --- tests/substruct.c -+++ /tmp/cocci-output-19972-d51e85-substruct.c ++++ /tmp/cocci-output-7871-9a7e9e-substruct.c @@ -1,5 +1,5 @@ struct a { int a; } x[2] = { @@ -10771,14 +10805,14 @@ sw.res diff = --- tests/sw.c -+++ /tmp/cocci-output-19972-86bc3b-sw.c ++++ /tmp/cocci-output-7871-d82298-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c -+++ /tmp/cocci-output-19972-594693-swap3.c ++++ /tmp/cocci-output-7871-127c95-swap3.c @@ -2,7 +2,7 @@ static void __ar955x_tx_iq_cal_sort(stru struct coeff *coeff, int i, int nmeasurement) @@ -10791,7 +10825,7 @@ switch.res diff = --- tests/switch.c -+++ /tmp/cocci-output-19972-65d698-switch.c ++++ /tmp/cocci-output-7871-572ab1-switch.c @@ -3,6 +3,5 @@ int main () { default: break; @@ -10803,7 +10837,7 @@ warning: switch_1: metavariable S_1 not used in the - or context code diff = --- tests/switchdecl.c -+++ /tmp/cocci-output-19972-fef7ed-switchdecl.c ++++ /tmp/cocci-output-7871-7c9bda-switchdecl.c @@ -4,7 +4,7 @@ switch (2) { int x; @@ -10817,7 +10851,7 @@ warning: line 12: should g be a metavariable? diff = --- tests/symbol.c -+++ /tmp/cocci-output-19972-0d3493-symbol.c ++++ /tmp/cocci-output-7871-47cdb3-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; @@ -10829,7 +10863,7 @@ td.res diff = --- tests/td.c -+++ /tmp/cocci-output-19972-df700e-td.c ++++ /tmp/cocci-output-7871-c92f24-td.c @@ -1,5 +1,5 @@ -struct foo {int a;}; +struct foo {int b;}; @@ -10842,7 +10876,7 @@ tdnl.res diff = --- tests/tdnl.c -+++ /tmp/cocci-output-19972-8ca069-tdnl.c ++++ /tmp/cocci-output-7871-b28af9-tdnl.c @@ -4,5 +4,4 @@ void main() { @@ -10852,7 +10886,7 @@ tern.res diff = --- tests/tern.c -+++ /tmp/cocci-output-19972-398a49-tern.c ++++ /tmp/cocci-output-7871-a0ffb9-tern.c @@ -1,4 +1,4 @@ int main () { - return (wc >= 0 && wc <= 0x7f ? wc : 0x7f); @@ -10862,7 +10896,7 @@ test0.res diff = --- tests/test0.c -+++ /tmp/cocci-output-19972-8ba252-test0.c ++++ /tmp/cocci-output-7871-3fe7cb-test0.c @@ -1,5 +1,3 @@ int main(int i) { - f(1); @@ -10872,7 +10906,7 @@ test1.res diff = --- tests/test1.c -+++ /tmp/cocci-output-19972-d99497-test1.c ++++ /tmp/cocci-output-7871-98986f-test1.c @@ -6,9 +6,9 @@ void main(int foo) { x(); if(1) { @@ -10889,7 +10923,7 @@ test10_ver1.res diff = --- tests/test10_ver1.c -+++ /tmp/cocci-output-19972-40b5b5-test10_ver1.c ++++ /tmp/cocci-output-7871-ffe89f-test10_ver1.c @@ -3,7 +3,7 @@ void main(int i) { f(1); g(1); @@ -10903,7 +10937,7 @@ test11_ver1.res diff = --- tests/test11_ver1.c -+++ /tmp/cocci-output-19972-66eb50-test11_ver1.c ++++ /tmp/cocci-output-7871-49e2aa-test11_ver1.c @@ -2,6 +2,6 @@ void main(int i) { f(1); g(1); @@ -10915,7 +10949,7 @@ test12.res diff = --- tests/test12.c -+++ /tmp/cocci-output-19972-ce7845-test12.c ++++ /tmp/cocci-output-7871-06a28a-test12.c @@ -1,6 +1,6 @@ void main(int foo) { @@ -10927,7 +10961,7 @@ test2.res diff = --- tests/test2.c -+++ /tmp/cocci-output-19972-218f70-test2.c ++++ /tmp/cocci-output-7871-caf3ba-test2.c @@ -2,7 +2,7 @@ void main() { f(1,2,3); @@ -10941,7 +10975,7 @@ test3.res diff = --- tests/test3.c -+++ /tmp/cocci-output-19972-957688-test3.c ++++ /tmp/cocci-output-7871-2f4e51-test3.c @@ -4,7 +4,7 @@ void main() f(3); @@ -10955,7 +10989,7 @@ test4.res diff = --- tests/test4.c -+++ /tmp/cocci-output-19972-abdbba-test4.c ++++ /tmp/cocci-output-7871-42d685-test4.c @@ -1,7 +1,6 @@ void main() { @@ -10967,7 +11001,7 @@ test5.res diff = --- tests/test5.c -+++ /tmp/cocci-output-19972-c2bc94-test5.c ++++ /tmp/cocci-output-7871-1192b3-test5.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -10983,7 +11017,7 @@ test5_ver1.res diff = --- tests/test5_ver1.c -+++ /tmp/cocci-output-19972-8ac9dc-test5_ver1.c ++++ /tmp/cocci-output-7871-d4c102-test5_ver1.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -10999,7 +11033,7 @@ test6.res diff = --- tests/test6.c -+++ /tmp/cocci-output-19972-a6739c-test6.c ++++ /tmp/cocci-output-7871-b70621-test6.c @@ -4,13 +4,13 @@ void main() { /* a comment */ @@ -11030,7 +11064,7 @@ test7.res diff = --- tests/test7.c -+++ /tmp/cocci-output-19972-0057d7-test7.c ++++ /tmp/cocci-output-7871-f9ebe3-test7.c @@ -2,10 +2,12 @@ void main() { @@ -11049,7 +11083,7 @@ test8.res diff = --- tests/test8.c -+++ /tmp/cocci-output-19972-4637fa-test8.c ++++ /tmp/cocci-output-7871-299088-test8.c @@ -1,7 +1,6 @@ -void main(int foo) { +void main(char i, int foo) { @@ -11062,7 +11096,7 @@ test9.res diff = --- tests/test9.c -+++ /tmp/cocci-output-19972-a8d8e4-test9.c ++++ /tmp/cocci-output-7871-a60a7b-test9.c @@ -4,9 +4,9 @@ void main(int foo) { // f(1); // if uncoment then problems g(2); @@ -11078,7 +11112,7 @@ test_s.res diff = --- tests/test_s.c -+++ /tmp/cocci-output-19972-cc2ed4-test_s.c ++++ /tmp/cocci-output-7871-b3c97e-test_s.c @@ -2,7 +2,7 @@ int main () { if (x-one) { one(); @@ -11106,7 +11140,7 @@ warning: line 39: should y be a metavariable? diff = --- tests/test_unsigned_meta.c -+++ /tmp/cocci-output-19972-0a1c49-test_unsigned_meta.c ++++ /tmp/cocci-output-7871-24f979-test_unsigned_meta.c @@ -1,8 +1,12 @@ int main () { - unsigned int x; @@ -11126,7 +11160,7 @@ testand.res diff = --- tests/testand.c -+++ /tmp/cocci-output-19972-1b8567-testand.c ++++ /tmp/cocci-output-7871-a1ff13-testand.c @@ -1,5 +1,5 @@ int main () { f(1,2,3,4); @@ -11138,7 +11172,7 @@ testand2.res diff = --- tests/testand2.c -+++ /tmp/cocci-output-19972-52a112-testand2.c ++++ /tmp/cocci-output-7871-dd6a3d-testand2.c @@ -1,6 +1,6 @@ int main () { f(1,2,3,4); @@ -11150,7 +11184,7 @@ three_types.res diff = --- tests/three_types.c -+++ /tmp/cocci-output-19972-772fb6-three_types.c ++++ /tmp/cocci-output-7871-1abf5a-three_types.c @@ -7,5 +7,5 @@ via_init_dmablit(drm_device_t *dev) { drm_via_blitq_t *blitq; @@ -11161,7 +11195,7 @@ threea.res diff = --- tests/threea.c -+++ /tmp/cocci-output-19972-f05ab9-threea.c ++++ /tmp/cocci-output-7871-b517c1-threea.c @@ -1,4 +1,3 @@ int main() { f(12); @@ -11170,14 +11204,14 @@ top.res diff = --- tests/top.c -+++ /tmp/cocci-output-19972-1031dd-top.c ++++ /tmp/cocci-output-7871-9cc735-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res diff = --- tests/topdec.c -+++ /tmp/cocci-output-19972-29fea8-topdec.c ++++ /tmp/cocci-output-7871-79d869-topdec.c @@ -5,4 +5,5 @@ static int debug; /* Network device part of the driver */ @@ -11188,7 +11222,7 @@ topdec_ver1.res diff = --- tests/topdec_ver1.c -+++ /tmp/cocci-output-19972-7f9220-topdec_ver1.c ++++ /tmp/cocci-output-7871-26660f-topdec_ver1.c @@ -2,6 +2,5 @@ static int debug; #endif @@ -11200,7 +11234,7 @@ topdec_ver2.res diff = --- tests/topdec_ver2.c -+++ /tmp/cocci-output-19972-b52aa1-topdec_ver2.c ++++ /tmp/cocci-output-7871-072c46-topdec_ver2.c @@ -5,4 +5,5 @@ static int debug; /* Network device part of the driver */ @@ -11211,7 +11245,7 @@ toplevel_macrostmt.res diff = --- tests/toplevel_macrostmt.c -+++ /tmp/cocci-output-19972-655a08-toplevel_macrostmt.c ++++ /tmp/cocci-output-7871-188831-toplevel_macrostmt.c @@ -2,7 +2,7 @@ void main(int i) { } @@ -11225,7 +11259,7 @@ warning: line 5: should usb_stor_host_template be a metavariable? diff = --- tests/toplevel_struct.c -+++ /tmp/cocci-output-19972-3b63b8-toplevel_struct.c ++++ /tmp/cocci-output-7871-79102f-toplevel_struct.c @@ -3,6 +3,7 @@ struct SHT usb_stor_host_template = { .name = "usb-storage", .proc_name = "usb-storage", @@ -11253,7 +11287,7 @@ warning: rule starting on line 10: metavariable B not used in the - or context code diff = --- tests/tup.c -+++ /tmp/cocci-output-19972-d66f84-tup.c ++++ /tmp/cocci-output-7871-b218e0-tup.c @@ -1,7 +1,7 @@ static int cm206_block_ioctl(struct inode *inode, struct file *file, unsigned cmd, unsigned long arg) @@ -11266,7 +11300,7 @@ twomatch.res diff = --- tests/twomatch.c -+++ /tmp/cocci-output-19972-167154-twomatch.c ++++ /tmp/cocci-output-7871-bb1ba0-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); @@ -11277,7 +11311,7 @@ twoproto.res diff = --- tests/twoproto.c -+++ /tmp/cocci-output-19972-80cec4-twoproto.c ++++ /tmp/cocci-output-7871-54c313-twoproto.c @@ -1,11 +1,9 @@ static void tc574_config(dev_link_t *link); @@ -11295,7 +11329,7 @@ ty.res diff = --- tests/ty.c -+++ /tmp/cocci-output-19972-9f92d7-ty.c ++++ /tmp/cocci-output-7871-5447bd-ty.c @@ -1,4 +1,4 @@ int main () { - struct foo x; @@ -11306,7 +11340,7 @@ warning: line 7: should x be a metavariable? diff = --- tests/ty1.c -+++ /tmp/cocci-output-19972-c7610d-ty1.c ++++ /tmp/cocci-output-7871-e4d594-ty1.c @@ -1,4 +1,3 @@ int fn(int y) { char x; @@ -11315,7 +11349,7 @@ ty_tyexp.res diff = --- tests/ty_tyexp.c -+++ /tmp/cocci-output-19972-01f979-ty_tyexp.c ++++ /tmp/cocci-output-7871-ef8076-ty_tyexp.c @@ -1,11 +1,11 @@ void main(double z) { @@ -11338,7 +11372,7 @@ (ONCE) disjtype not supported in smpl type inference, assuming unknown diff = --- tests/tydisj.c -+++ /tmp/cocci-output-19972-c871d6-tydisj.c ++++ /tmp/cocci-output-7871-fc81bb-tydisj.c @@ -1,2 +1,3 @@ -int64_t foo() { int64_t a; int i; return i << 20; } +int64_t foo() { int64_t a; int i; xxx(); @@ -11347,7 +11381,7 @@ tyex.res diff = --- tests/tyex.c -+++ /tmp/cocci-output-19972-c92043-tyex.c ++++ /tmp/cocci-output-7871-3faa83-tyex.c @@ -1,12 +1,15 @@ typedef struct { double x; @@ -11370,7 +11404,7 @@ warning: line 7: should x be a metavariable? diff = --- tests/type.c -+++ /tmp/cocci-output-19972-b0f802-type.c ++++ /tmp/cocci-output-7871-408b7f-type.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -11381,7 +11415,7 @@ type1.res diff = --- tests/type1.c -+++ /tmp/cocci-output-19972-deb687-type1.c ++++ /tmp/cocci-output-7871-0adbf9-type1.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -11392,7 +11426,7 @@ type_annotated.res diff = --- tests/type_annotated.c -+++ /tmp/cocci-output-19972-ae427e-type_annotated.c ++++ /tmp/cocci-output-7871-4a1a35-type_annotated.c @@ -4,7 +4,7 @@ void f1(int z) { struct foo2 j; int k; @@ -11413,7 +11447,7 @@ type_ver1.res diff = --- tests/type_ver1.c -+++ /tmp/cocci-output-19972-c01fe9-type_ver1.c ++++ /tmp/cocci-output-7871-4d0676-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; @@ -11424,7 +11458,7 @@ type_ver2.res diff = --- tests/type_ver2.c -+++ /tmp/cocci-output-19972-801600-type_ver2.c ++++ /tmp/cocci-output-7871-9dff63-type_ver2.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; @@ -11435,7 +11469,7 @@ typedef.res diff = --- tests/typedef.c -+++ /tmp/cocci-output-19972-4b2a95-typedef.c ++++ /tmp/cocci-output-7871-069093-typedef.c @@ -1,15 +1,15 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -11458,7 +11492,7 @@ typedef3.res diff = --- tests/typedef3.c -+++ /tmp/cocci-output-19972-d3c583-typedef3.c ++++ /tmp/cocci-output-7871-03b0fc-typedef3.c @@ -1,5 +1,5 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -11477,7 +11511,7 @@ typeof.res diff = --- tests/typeof.c -+++ /tmp/cocci-output-19972-c14b2f-typeof.c ++++ /tmp/cocci-output-7871-dbb5f1-typeof.c @@ -1,6 +1,4 @@ int main() { int x; @@ -11488,7 +11522,7 @@ unelse.res diff = --- tests/unelse.c -+++ /tmp/cocci-output-19972-eddd44-unelse.c ++++ /tmp/cocci-output-7871-f90652-unelse.c @@ -2,8 +2,6 @@ static short find_control(u16 control_in { if (!*pI) @@ -11503,7 +11537,7 @@ unfree.res diff = --- tests/unfree.c -+++ /tmp/cocci-output-19972-fa3332-unfree.c ++++ /tmp/cocci-output-7871-7698a7-unfree.c @@ -2,8 +2,7 @@ static void mppe_free(void *arg) { struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; @@ -11517,7 +11551,7 @@ unl.res diff = --- tests/unl.c -+++ /tmp/cocci-output-19972-2d294d-unl.c ++++ /tmp/cocci-output-7871-f6769b-unl.c @@ -1,10 +1,10 @@ int main () { - if (new_pe == NULL) { @@ -11534,7 +11568,7 @@ useless_cast.res diff = --- tests/useless_cast.c -+++ /tmp/cocci-output-19972-bfe629-useless_cast.c ++++ /tmp/cocci-output-7871-e7c820-useless_cast.c @@ -8,7 +8,7 @@ struct device { struct device *dev; @@ -11547,7 +11581,7 @@ varargs.res diff = --- tests/varargs.c -+++ /tmp/cocci-output-19972-f3e418-varargs.c ++++ /tmp/cocci-output-7871-456467-varargs.c @@ -1,4 +1,5 @@ static void @@ -11558,7 +11592,7 @@ varargs2.res diff = --- tests/varargs2.c -+++ /tmp/cocci-output-19972-bbf28c-varargs2.c ++++ /tmp/cocci-output-7871-f34941-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { @@ -11567,7 +11601,7 @@ varargs3.res diff = --- tests/varargs3.c -+++ /tmp/cocci-output-19972-173da3-varargs3.c ++++ /tmp/cocci-output-7871-5be2be-varargs3.c @@ -1,4 +1,3 @@ -static int foo(char *fmt, ...) { @@ -11584,7 +11618,7 @@ video1bis.res diff = --- tests/video1bis.c -+++ /tmp/cocci-output-19972-c4b3dd-video1bis.c ++++ /tmp/cocci-output-7871-0535e2-video1bis.c @@ -3,7 +3,5 @@ void *arg) { if (cmd == VIDIOCGTUNER) { @@ -11596,7 +11630,7 @@ void.res diff = --- tests/void.c -+++ /tmp/cocci-output-19972-5bd3e7-void.c ++++ /tmp/cocci-output-7871-7fde48-void.c @@ -1,5 +1,13 @@ int xbar(void) { return; } @@ -11614,7 +11648,7 @@ vpos.res diff = --- tests/vpos.c -+++ /tmp/cocci-output-19972-dcabc8-vpos.c ++++ /tmp/cocci-output-7871-86f120-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); @@ -11628,7 +11662,7 @@ whitespace.res diff = --- tests/whitespace.c -+++ /tmp/cocci-output-19972-f3c6db-whitespace.c ++++ /tmp/cocci-output-7871-b65c7c-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); @@ -11637,7 +11671,7 @@ wierd_argument.res diff = --- tests/wierd_argument.c -+++ /tmp/cocci-output-19972-28d5ff-wierd_argument.c ++++ /tmp/cocci-output-7871-62cfbc-wierd_argument.c @@ -1,7 +1,7 @@ static void ewx_i2c_setlines(snd_i2c_bus_t *bus, int clk, int data) { @@ -11652,7 +11686,7 @@ wrongcheck.res diff = --- tests/wrongcheck.c -+++ /tmp/cocci-output-19972-d86954-wrongcheck.c ++++ /tmp/cocci-output-7871-73a19d-wrongcheck.c @@ -1,5 +1,3 @@ int main () { - err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, @@ -11663,7 +11697,7 @@ warning: rule starting on line 1: metavariable A not used in the + code diff = --- tests/ws2.c -+++ /tmp/cocci-output-19972-90152d-ws2.c ++++ /tmp/cocci-output-7871-5ec2f3-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) @@ -11675,7 +11709,7 @@ xfield.res diff = --- tests/xfield.c -+++ /tmp/cocci-output-19972-dff559-xfield.c ++++ /tmp/cocci-output-7871-b12438-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; @@ -11685,7 +11719,7 @@ y2.res diff = --- tests/y2.c -+++ /tmp/cocci-output-19972-238d31-y2.c ++++ /tmp/cocci-output-7871-18ca08-y2.c @@ -1,10 +1,6 @@ static void asuscom_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) @@ -11700,7 +11734,7 @@ zero.res diff = --- tests/zero.c -+++ /tmp/cocci-output-19972-1ca51f-zero.c ++++ /tmp/cocci-output-7871-54f175-zero.c @@ -1,6 +1,2 @@ int main () { - memset(command, 0, sizeof(struct sbp2_command_info)); @@ -12602,46 +12636,48 @@ dh_installdeb -O--parallel dh_installdeb: Compatibility levels before 9 are deprecated (level 8 in use) dh_ocaml -O--parallel -W: coccinelle doesn't resolve dependency on unit Dumper W: coccinelle doesn't resolve dependency on unit Setb -W: coccinelle doesn't resolve dependency on unit SetPt W: coccinelle doesn't resolve dependency on unit Token_annot -W: coccinelle doesn't resolve dependency on unit Ocollection W: coccinelle doesn't resolve dependency on unit Flag_parsing_c +W: coccinelle doesn't resolve dependency on unit Objet W: coccinelle doesn't resolve dependency on unit Regexp_pcre +W: coccinelle doesn't resolve dependency on unit Dumper +W: coccinelle doesn't resolve dependency on unit Commands +W: coccinelle doesn't resolve dependency on unit Lexer_parser W: coccinelle doesn't resolve dependency on unit Control_flow_c -W: coccinelle doesn't resolve dependency on unit Token_c -W: coccinelle doesn't resolve dependency on unit Oset -W: coccinelle doesn't resolve dependency on unit Seti +W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Token_views_c -W: coccinelle doesn't resolve dependency on unit Oassoc -W: coccinelle doesn't resolve dependency on unit Externalanalysis -W: coccinelle doesn't resolve dependency on unit Lexer_parser -W: coccinelle doesn't resolve dependency on unit Commands -W: coccinelle doesn't resolve dependency on unit Ograph_extended +W: coccinelle doesn't resolve dependency on unit SetPt +W: coccinelle doesn't resolve dependency on unit Oset W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci W: coccinelle doesn't resolve dependency on unit Parsing_stat -W: coccinelle doesn't resolve dependency on unit Cpp_token_c +W: coccinelle doesn't resolve dependency on unit Ocollection +W: coccinelle doesn't resolve dependency on unit Seti W: coccinelle doesn't resolve dependency on unit Type_annoter_c -W: coccinelle doesn't resolve dependency on unit Objet +W: coccinelle doesn't resolve dependency on unit Ograph_extended +W: coccinelle doesn't resolve dependency on unit Token_c +W: coccinelle doesn't resolve dependency on unit Oassoc +W: coccinelle doesn't resolve dependency on unit Externalanalysis dh_gencontrol -O--parallel dh_md5sums -O--parallel dh_builddeb -O--parallel +dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.0.4.deb-4_all.deb'. dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.0.4.deb-4_arm64.deb'. dpkg-deb: building package 'coccinelle' in '../coccinelle_1.0.4.deb-4_arm64.deb'. -dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.0.4.deb-4_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../coccinelle_1.0.4.deb-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/4884/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4884/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3254 and its subdirectories -I: Current time: Thu Sep 9 23:31:29 -12 2021 -I: pbuilder-time-stamp: 1631273489 +I: removing directory /srv/workspace/pbuilder/4884 and its subdirectories +I: Current time: Sat Aug 8 19:16:28 +14 2020 +I: pbuilder-time-stamp: 1596863788