Diff of the two buildlogs: -- --- b1/build.log 2024-10-23 11:21:49.468711836 +0000 +++ b2/build.log 2024-10-23 11:32:35.341763009 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 25 05:38:59 -12 2025 -I: pbuilder-time-stamp: 1764092339 +I: Current time: Thu Oct 24 01:21:52 +14 2024 +I: pbuilder-time-stamp: 1729682512 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,54 +32,86 @@ dpkg-source: info: applying dont-expose-parmap.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/99521/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/47703/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 23 11:22 /bin/sh -> /bin/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/47703/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/47703/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='f326b5fa4b6c433fab7f3286af6f7592' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='99521' - PS1='# ' - PS2='> ' + INVOCATION_ID=0c3c28d057b64050bc333992c445635e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=47703 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/r-b-build.kH1PbaSP/pbuilderrc_VPGw --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/b1 --logfile b1/build.log coccinelle_1.2.deb-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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/r-b-build.kH1PbaSP/pbuilderrc_U86A --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/b2 --logfile b2/build.log coccinelle_1.2.deb-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/99521/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/47703/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -417,7 +449,7 @@ Get: 186 http://deb.debian.org/debian unstable/main i386 texlive-latex-recommended all 2024.20240829-2 [8845 kB] Get: 187 http://deb.debian.org/debian unstable/main i386 texlive-pictures all 2024.20240829-2 [17.0 MB] Get: 188 http://deb.debian.org/debian unstable/main i386 texlive-latex-extra all 2024.20240829-1 [20.9 MB] -Fetched 844 MB in 13s (66.4 MB/s) +Fetched 844 MB in 16s (51.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:i386. (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 ... 19933 files and directories currently installed.) @@ -1041,8 +1073,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Nov 25 17:40:08 UTC 2025. -Universal Time is now: Tue Nov 25 17:40:08 UTC 2025. +Local time is now: Wed Oct 23 11:23:31 UTC 2024. +Universal Time is now: Wed Oct 23 11:23:31 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libfontenc1:i386 (1:1.1.8-1) ... @@ -1239,7 +1271,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/coccinelle-1.2.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../coccinelle_1.2.deb-1_source.changes +I: user script /srv/workspace/pbuilder/47703/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/47703/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/coccinelle-1.2.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../coccinelle_1.2.deb-1_source.changes dpkg-buildpackage: info: source package coccinelle dpkg-buildpackage: info: source version 1.2.deb-1 dpkg-buildpackage: info: source distribution unstable @@ -1249,7 +1285,7 @@ debian/rules clean dh clean --with ocaml,python3,autoreconf dh_auto_clean - make -j22 distclean + make -j10 distclean make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' CLEAN commons CLEAN globals @@ -1291,7 +1327,7 @@ checking whether make supports nested variables... yes configure: determining version suffix checking for date... /usr/bin/date -configure: version suffix set to Tue, 25 Nov 2025 05:42:01 -1200 +configure: version suffix set to Thu, 24 Oct 2024 01:26:59 +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) @@ -1310,7 +1346,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... /usr/bin/tar checking for patch... /usr/bin/patch checking for echo... /usr/bin/echo @@ -4146,7 +4182,7 @@ make[2]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb/docs/manual' make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' dh_auto_build -Ncoccinelle-doc - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' /usr/bin/menhir --ocamldep "/usr/bin/ocamldep -I commons/ocamlextra -I commons -I globals -I parsing_cocci -I parsing_c -I ctl -I ocaml -I python -I engine -I popl09 -I extra -I tools/spgen/source/ -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/pyml -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/parmap -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/stdcompat -I +str -I +unix -I +dynlink -ml-synonym .mll -ml-synonym .mly -mli-synonym .ml -mli-synonym .mll -mli-synonym .mly" --depend parsing_cocci/parser_cocci_menhir.mly >parsing_cocci/parser_cocci_menhir.mly.d || (rm parsing_cocci/parser_cocci_menhir.mly.d; false) OCAMLYACC parsing_c/parser_c.mly @@ -4317,14 +4353,14 @@ OCAMLLEX parsing_cocci/lexer_script.mll OCAMLLEX parsing_cocci/lexer_cli.mll OCAMLLEX parsing_cocci/lexer_cocci.mll +27 states, 322 transitions, table size 1450 bytes OCAMLDEP tools/spgen/source/main.ml +14 states, 681 transitions, table size 2808 bytes OCAMLDEP tools/spgen/source/spgen_test.ml OCAMLDEP tools/spgen/source/spgen.ml OCAMLDEP tools/spgen/source/spgen_config.ml OCAMLDEP tools/spgen/source/spgen_interactive.ml OCAMLDEP tools/spgen/source/file_transform.ml -27 states, 322 transitions, table size 1450 bytes -14 states, 681 transitions, table size 2808 bytes OCAMLDEP tools/spgen/source/script_rule.ml OCAMLDEP tools/spgen/source/context_rule.ml OCAMLDEP tools/spgen/source/rule_header.ml @@ -4332,6 +4368,8 @@ OCAMLDEP tools/spgen/source/disj_generator.ml OCAMLDEP tools/spgen/source/position_generator.ml OCAMLDEP tools/spgen/source/user_input.ml +143 states, 8123 transitions, table size 33350 bytes +23641 additional bytes used for bindings OCAMLDEP tools/spgen/source/snapshot.ml OCAMLDEP tools/spgen/source/meta_variable.ml OCAMLDEP tools/spgen/source/detect_patch.ml @@ -4345,6 +4383,10 @@ OCAMLDEP flag_cocci.ml OCAMLDEP extra/maintainers.ml OCAMLDEP extra/kbuild.ml +403 states, 8820 transitions, table size 37698 bytes +4123 additional bytes used for bindings +408 states, 16889 transitions, table size 70004 bytes +10655 additional bytes used for bindings OCAMLDEP extra/classic_patch.ml OCAMLDEP popl09/popl.ml OCAMLDEP popl09/popltoctl.ml @@ -4363,8 +4405,6 @@ OCAMLDEP engine/cocci_vs_c.ml OCAMLDEP engine/isomorphisms_c_c.ml OCAMLDEP engine/c_vs_c.ml -143 states, 8123 transitions, table size 33350 bytes -23641 additional bytes used for bindings OCAMLDEP engine/check_reachability.ml OCAMLDEP engine/check_exhaustive_pattern.ml OCAMLDEP engine/pretty_print_engine.ml @@ -4375,8 +4415,6 @@ OCAMLDEP python/pycocci_aux.ml OCAMLDEP ocaml/run_ocamlcocci.ml OCAMLDEP ocaml/prepare_ocamlcocci.ml -403 states, 8820 transitions, table size 37698 bytes -4123 additional bytes used for bindings OCAMLDEP ocaml/yes_prepare_ocamlcocci.ml OCAMLDEP ocaml/ocamlcocci_aux.ml OCAMLDEP ocaml/coccilib.ml @@ -4430,8 +4468,6 @@ OCAMLDEP parsing_cocci/git_grep.ml OCAMLDEP parsing_cocci/id_utils.ml OCAMLDEP parsing_cocci/get_constants2.ml -408 states, 16889 transitions, table size 70004 bytes -10655 additional bytes used for bindings OCAMLDEP parsing_cocci/dpll.ml OCAMLDEP parsing_cocci/cocci_grep.ml OCAMLDEP parsing_cocci/disjdistr.ml @@ -4517,41 +4553,41 @@ OCAMLC main.mli OCAMLC tools/spgen/source/spgen_lexer.mli OCAMLC tools/spgen/source/spgen.mli -cp globals/regexp.cmi ocaml/regexp.cmi OCAMLC tools/spgen/source/spgen_test.mli -cp globals/config.cmi ocaml/config.cmi OCAMLC tools/spgen/source/main.mli +cp globals/regexp.cmi ocaml/regexp.cmi +cp globals/config.cmi ocaml/config.cmi +cp globals/flag.cmi ocaml/flag.cmi +cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi cp globals/iteration.cmi ocaml/iteration.cmi cp commons/commands.cmi ocaml/commands.cmi cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi OCAMLC commons/ocamlextra/dumper.ml OCAMLC commons/commands.ml OCAMLC globals/config.ml +OCAMLC globals/flag.ml OCAMLC globals/regexp_str.ml OCAMLC globals/regexp.ml OCAMLC parsing_cocci/flag_parsing_cocci.ml OCAMLC parsing_cocci/ast_cocci.mli OCAMLC parsing_cocci/semantic_cocci.ml +OCAMLC parsing_cocci/parse_printf.ml OCAMLC parsing_cocci/lexer_cli.ml OCAMLC parsing_cocci/cocci_args.ml OCAMLC parsing_c/token_annot.ml OCAMLC ctl/flag_ctl.ml OCAMLC ctl/ast_ctl.ml OCAMLC ctl/pretty_print_ctl.mli +OCAMLC engine/flag_matcher.ml OCAMLC popl09/flag_popl.ml -cp globals/flag.cmi ocaml/flag.cmi OCAMLC flag_cocci.ml -cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi -OCAMLC globals/flag.ml -OCAMLC parsing_cocci/parse_printf.ml -OCAMLC engine/flag_matcher.ml -cp globals/regexp.cmo ocaml/regexp.cmo -OCAMLC tools/spgen/source/main.ml -cp commons/commands.cmo ocaml/commands.cmo OCAMLC tools/spgen/source/spgen_lexer.ml +OCAMLC tools/spgen/source/main.ml +cp globals/regexp.cmo ocaml/regexp.cmo cp globals/config.cmo ocaml/config.cmo -cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo cp globals/flag.cmo ocaml/flag.cmo +cp commons/commands.cmo ocaml/commands.cmo +cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo OCAMLC commons/common.ml OCAMLC commons/ograph_simple.mli OCAMLC commons/ograph_extended.mli @@ -4568,11 +4604,24 @@ OCAMLC parsing_c/compare_c.mli OCAMLC parsing_c/test_parsing_c.mli OCAMLC ctl/pretty_print_ctl.ml +OCAMLC ocaml/yes_prepare_ocamlcocci.mli +OCAMLC ocaml/prepare_ocamlcocci.mli +OCAMLC engine/check_exhaustive_pattern.mli +OCAMLC popl09/ast_popl.mli OCAMLC extra/classic_patch.mli OCAMLC extra/kbuild.mli OCAMLC extra/maintainers.mli -cp commons/common.cmi ocaml/common.cmi OCAMLC read_options.ml +OCAMLC tools/spgen/source/globals.mli +OCAMLC tools/spgen/source/ast_tostring.mli +cp parsing_c/token_c.cmi ocaml/token_c.cmi +cp commons/common.cmi ocaml/common.cmi +cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi +cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo +cp globals/iteration.cmo ocaml/iteration.cmo +OCAMLC commons/ograph_simple.ml +OCAMLC commons/ograph_extended.ml +OCAMLC -o globals/globals.cma OCAMLC parsing_cocci/ast_cocci.ml OCAMLC parsing_cocci/ast0_cocci.mli OCAMLC parsing_cocci/pretty_print_cocci.mli @@ -4587,80 +4636,46 @@ OCAMLC parsing_c/token_c.ml OCAMLC parsing_c/ast_c.mli OCAMLC parsing_c/semantic_c.ml -OCAMLC ocaml/yes_prepare_ocamlcocci.mli -OCAMLC ocaml/prepare_ocamlcocci.mli -OCAMLC engine/check_exhaustive_pattern.mli -OCAMLC popl09/ast_popl.mli -OCAMLC extra/classic_patch.ml -OCAMLC extra/kbuild.ml -OCAMLC extra/maintainers.ml -OCAMLC tools/spgen/source/globals.mli -cp parsing_c/token_c.cmi ocaml/token_c.cmi -cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi -OCAMLC tools/spgen/source/ast_tostring.mli -cp globals/iteration.cmo ocaml/iteration.cmo -OCAMLC commons/ograph_simple.ml -OCAMLC commons/ograph_extended.ml -OCAMLC -o globals/globals.cma -OCAMLC parsing_cocci/pretty_print_cocci.ml -OCAMLC parsing_cocci/id_utils.mli OCAMLC ctl/ctl_engine.mli -OCAMLC testing.mli -cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo -cp parsing_c/token_c.cmo ocaml/token_c.cmo -OCAMLC tools/spgen/source/globals.ml +OCAMLC ocaml/prepare_ocamlcocci.ml OCAMLC popl09/ast_popl.ml OCAMLC popl09/asttopopl.mli OCAMLC popl09/insert_quantifiers.mli OCAMLC popl09/pretty_print_popl.mli +OCAMLC extra/classic_patch.ml +OCAMLC extra/kbuild.ml +OCAMLC extra/maintainers.ml +OCAMLC testing.mli +OCAMLC tools/spgen/source/globals.ml +OCAMLC tools/spgen/source/ast_tostring.ml +cp parsing_c/token_c.cmo ocaml/token_c.cmo +OCAMLC parsing_cocci/pretty_print_cocci.ml OCAMLC parsing_cocci/stmtlist.ml OCAMLC parsing_cocci/free_vars.mli OCAMLC parsing_cocci/safe_for_multi_decls.ml OCAMLC parsing_cocci/cleanup_rules.ml OCAMLC parsing_cocci/disjdistr.ml OCAMLC parsing_cocci/get_constants2.ml -OCAMLC parsing_cocci/id_utils.ml -OCAMLC ocaml/prepare_ocamlcocci.ml -OCAMLC popl09/insert_quantifiers.ml -OCAMLC popl09/pretty_print_popl.ml -OCAMLC tools/spgen/source/ast_tostring.ml +OCAMLC parsing_cocci/id_utils.mli OCAMLC ctl/ctl_engine.ml OCAMLC ctl/wrapper_ctl.mli OCAMLC popl09/asttopopl.ml +OCAMLC popl09/insert_quantifiers.ml +OCAMLC popl09/pretty_print_popl.ml OCAMLC -o extra/extra.cma -OCAMLC parsing_cocci/free_vars.ml -OCAMLC ctl/wrapper_ctl.ml -OCAMLC parsing_c/ast_c.ml -OCAMLC parsing_c/includes.mli -OCAMLC parsing_c/control_flow_c.mli -OCAMLC parsing_c/includes_cache.mli -OCAMLC parsing_c/lexer_parser.mli -OCAMLC parsing_c/parser_c.mli -OCAMLC parsing_c/unparse_cocci.mli -OCAMLC parsing_c/parsing_consistency_c.mli -OCAMLC parsing_c/danger.mli -OCAMLC parsing_c/unparse_hrule.mli -OCAMLC parsing_c/type_c.mli -OCAMLC parsing_c/type_annoter_c.mli -OCAMLC ocaml/externalanalysis.mli -OCAMLC ocaml/ocamlcocci_aux.mli -OCAMLC ocaml/run_ocamlcocci.mli -OCAMLC python/pycocci_aux.mli -OCAMLC python/pycocci.mli -OCAMLC engine/c_vs_c.mli -OCAMLC engine/isomorphisms_c_c.mli OCAMLC tools/spgen/source/detect_patch.mli OCAMLC tools/spgen/source/meta_variable.mli OCAMLC tools/spgen/source/file_transform.mli cp parsing_c/ast_c.cmi ocaml/ast_c.cmi cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi +cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo OCAMLC parsing_cocci/ast0_cocci.ml OCAMLC parsing_cocci/visitor_ast0_types.mli OCAMLC parsing_cocci/visitor_ast.ml OCAMLC parsing_cocci/ast0toast.mli OCAMLC parsing_cocci/unparse_ast0.mli -OCAMLC parsing_cocci/compute_lines.mli OCAMLC parsing_cocci/unify_ast.mli +OCAMLC parsing_cocci/compute_lines.mli OCAMLC parsing_cocci/comm_assoc.mli OCAMLC parsing_cocci/single_statement.mli OCAMLC parsing_cocci/simple_assignments.mli @@ -4676,131 +4691,122 @@ OCAMLC parsing_cocci/insert_plus.mli OCAMLC parsing_cocci/function_prototypes.mli OCAMLC parsing_cocci/data.mli +OCAMLC parsing_cocci/free_vars.ml OCAMLC parsing_cocci/check_meta.mli +OCAMLC parsing_cocci/id_utils.ml OCAMLC parsing_cocci/adjacency.mli OCAMLC parsing_cocci/commas_on_lists.mli OCAMLC parsing_cocci/parse_cocci.mli -OCAMLC parsing_c/includes.ml -OCAMLC parsing_c/control_flow_c.ml -OCAMLC parsing_c/visitor_c.mli -OCAMLC parsing_c/pretty_print_c.mli -OCAMLC parsing_c/control_flow_c_build.mli -OCAMLC parsing_c/lexer_parser.ml -OCAMLC parsing_c/lexer_c.mli -OCAMLC parsing_c/parse_string_c.mli -OCAMLC parsing_c/token_helpers.mli -OCAMLC parsing_c/token_views_c.mli -OCAMLC parsing_c/parsing_recovery_c.mli -OCAMLC parsing_c/type_c.ml +OCAMLC parsing_c/ast_c.ml +OCAMLC parsing_c/includes.mli +OCAMLC parsing_c/control_flow_c.mli +OCAMLC parsing_c/includes_cache.mli +OCAMLC parsing_c/lexer_parser.mli +OCAMLC parsing_c/parser_c.mli +OCAMLC parsing_c/unparse_cocci.mli +OCAMLC parsing_c/parsing_consistency_c.mli +OCAMLC parsing_c/danger.mli +OCAMLC parsing_c/unparse_hrule.mli +OCAMLC parsing_c/type_c.mli +OCAMLC parsing_c/type_annoter_c.mli OCAMLC parsing_c/comment_annotater_c.mli -OCAMLC ocaml/externalanalysis.ml +OCAMLC ctl/wrapper_ctl.ml +OCAMLC ocaml/externalanalysis.mli +OCAMLC ocaml/ocamlcocci_aux.mli +OCAMLC ocaml/run_ocamlcocci.mli +OCAMLC python/pycocci_aux.mli +OCAMLC python/pycocci.mli OCAMLC engine/lib_engine.mli OCAMLC engine/check_exhaustive_pattern.ml OCAMLC engine/check_reachability.mli -OCAMLC engine/isomorphisms_c_c.ml +OCAMLC engine/c_vs_c.mli +OCAMLC engine/isomorphisms_c_c.mli OCAMLC engine/cocci_vs_c.mli +OCAMLC engine/pattern_c.mli +OCAMLC engine/transformation_c.mli +OCAMLC engine/asttomember.mli +OCAMLC engine/asttoctl2.mli +OCAMLC engine/ctltotex.mli +OCAMLC engine/postprocess_transinfo.mli +OCAMLC engine/ctlcocci_integration.mli OCAMLC tools/spgen/source/snapshot.mli OCAMLC tools/spgen/source/user_input.mli OCAMLC tools/spgen/source/rule_body.mli OCAMLC tools/spgen/source/rule_header.mli OCAMLC tools/spgen/source/context_rule.mli +OCAMLC tools/spgen/source/script_rule.mli +OCAMLC tools/spgen/source/spgen_interactive.mli +OCAMLC tools/spgen/source/spgen_config.mli OCAMLC tools/spgen/source/spgen_test.ml cp parsing_c/parser_c.cmi ocaml/parser_c.cmi -cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi -cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi -cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi +cp parsing_c/ast_c.cmo ocaml/ast_c.cmo +cp commons/common.cmo ocaml/common.cmo +cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo +OCAMLC -o commons/commons.cma +OCAMLC parsing_cocci/visitor_ast0_types.ml +OCAMLC parsing_cocci/visitor_ast0.mli OCAMLC parsing_cocci/unparse_ast0.ml OCAMLC parsing_cocci/unify_ast.ml OCAMLC parsing_cocci/compute_lines.ml +OCAMLC parsing_cocci/iso_pattern.mli OCAMLC parsing_cocci/top_level.ml OCAMLC parsing_cocci/arity.ml OCAMLC parsing_cocci/index.ml +OCAMLC parsing_cocci/context_neg.ml +OCAMLC parsing_cocci/adjust_pragmas.ml +OCAMLC parsing_cocci/insert_plus.ml +OCAMLC parsing_cocci/function_prototypes.ml OCAMLC parsing_cocci/data.ml +OCAMLC parsing_cocci/check_meta.ml OCAMLC parsing_cocci/parse_aux.mli +OCAMLC parsing_cocci/adjacency.ml +OCAMLC parsing_cocci/commas_on_lists.ml OCAMLC parsing_cocci/re_constraints.ml -OCAMLC parsing_c/visitor_c.ml -OCAMLC parsing_c/lib_parsing_c.mli -OCAMLC parsing_c/lexer_c.ml -OCAMLC parsing_c/parse_string_c.ml -OCAMLC parsing_c/token_helpers.ml -OCAMLC parsing_c/token_views_c.ml -OCAMLC parsing_c/cpp_token_c.mli +OCAMLC parsing_c/includes.ml +OCAMLC parsing_c/control_flow_c.ml +OCAMLC parsing_c/visitor_c.mli +OCAMLC parsing_c/pretty_print_c.mli +OCAMLC parsing_c/control_flow_c_build.mli +OCAMLC parsing_c/lexer_parser.ml +OCAMLC parsing_c/lexer_c.mli +OCAMLC parsing_c/parse_string_c.mli +OCAMLC parsing_c/token_helpers.mli +OCAMLC parsing_c/token_views_c.mli OCAMLC parsing_c/unparse_cocci.ml -OCAMLC parsing_c/parsing_recovery_c.ml +OCAMLC parsing_c/parsing_recovery_c.mli OCAMLC parsing_c/parsing_consistency_c.ml -OCAMLC parsing_c/danger.ml OCAMLC parsing_c/unparse_hrule.ml -OCAMLC parsing_c/comment_annotater_c.ml +OCAMLC parsing_c/type_c.ml +OCAMLC -o ctl/ctl.cma +OCAMLC ocaml/externalanalysis.ml OCAMLC ocaml/ocamlcocci_aux.ml OCAMLC python/pycocci_aux.ml OCAMLC engine/lib_engine.ml OCAMLC engine/pretty_print_engine.mli OCAMLC engine/check_reachability.ml -OCAMLC engine/c_vs_c.ml -OCAMLC engine/cocci_vs_c.ml -OCAMLC engine/pattern_c.mli -OCAMLC engine/transformation_c.mli -OCAMLC engine/asttomember.mli -OCAMLC engine/asttoctl2.mli -OCAMLC engine/ctltotex.mli -OCAMLC engine/postprocess_transinfo.mli -OCAMLC engine/ctlcocci_integration.mli -OCAMLC tools/spgen/source/snapshot.ml -OCAMLC tools/spgen/source/user_input.ml -OCAMLC tools/spgen/source/position_generator.mli -OCAMLC tools/spgen/source/disj_generator.mli -OCAMLC tools/spgen/source/rule_header.ml -OCAMLC tools/spgen/source/context_rule.ml -OCAMLC tools/spgen/source/script_rule.mli -OCAMLC tools/spgen/source/file_transform.ml -OCAMLC tools/spgen/source/spgen_interactive.mli -OCAMLC tools/spgen/source/spgen_config.mli -cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi -cp parsing_c/ast_c.cmo ocaml/ast_c.cmo -cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo -cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo -cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo -OCAMLC parsing_cocci/visitor_ast0_types.ml -OCAMLC parsing_cocci/visitor_ast0.mli -OCAMLC parsing_cocci/iso_pattern.mli -OCAMLC parsing_cocci/parse_aux.ml -MENHIR parsing_cocci/parser_cocci_menhir.mly -OCAMLC parsing_c/lib_parsing_c.ml -OCAMLC parsing_c/includes_cache.ml -OCAMLC parsing_c/pretty_print_c.ml -OCAMLC parsing_c/control_flow_c_build.ml -OCAMLC parsing_c/parser_c.ml -OCAMLC parsing_c/cpp_token_c.ml -OCAMLC parsing_c/parsing_hacks.mli -OCAMLC parsing_c/cpp_analysis_c.mli -OCAMLC parsing_c/parse_c.mli -OCAMLC -o ctl/ctl.cma -OCAMLC engine/pretty_print_engine.ml -OCAMLC engine/pattern_c.ml -OCAMLC engine/transformation_c.ml +OCAMLC engine/isomorphisms_c_c.ml OCAMLC engine/asttomember.ml OCAMLC engine/asttoctl2.ml OCAMLC engine/ctltotex.ml -OCAMLC engine/postprocess_transinfo.ml -OCAMLC engine/ctlcocci_integration.ml OCAMLC popl09/popltoctl.mli OCAMLC popl09/popl.mli -OCAMLC cocci.mli OCAMLC main.ml OCAMLC tools/spgen/source/detect_patch.ml OCAMLC tools/spgen/source/meta_variable.ml -OCAMLC tools/spgen/source/position_generator.ml -OCAMLC tools/spgen/source/disj_generator.ml -OCAMLC tools/spgen/source/rule_body.ml +OCAMLC tools/spgen/source/snapshot.ml +OCAMLC tools/spgen/source/user_input.ml +OCAMLC tools/spgen/source/position_generator.mli +OCAMLC tools/spgen/source/disj_generator.mli +OCAMLC tools/spgen/source/rule_header.ml +OCAMLC tools/spgen/source/context_rule.ml OCAMLC tools/spgen/source/script_rule.ml +OCAMLC tools/spgen/source/file_transform.ml OCAMLC tools/spgen/source/spgen_interactive.ml OCAMLC tools/spgen/source/spgen_config.ml OCAMLC tools/spgen/source/spgen.ml -cp parsing_c/parse_c.cmi ocaml/parse_c.cmi -cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo -cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo -cp commons/common.cmo ocaml/common.cmo -OCAMLC -o commons/commons.cma +cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi +cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi +cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi OCAMLC parsing_cocci/visitor_ast0.ml OCAMLC parsing_cocci/ast0toast.ml OCAMLC parsing_cocci/iso_pattern.ml @@ -4812,36 +4818,67 @@ OCAMLC parsing_cocci/type_infer.ml OCAMLC parsing_cocci/test_exps.ml OCAMLC parsing_cocci/unitary_ast0.ml -OCAMLC parsing_cocci/context_neg.ml -OCAMLC parsing_cocci/adjust_pragmas.ml -OCAMLC parsing_cocci/insert_plus.ml -OCAMLC parsing_cocci/function_prototypes.ml -OCAMLC parsing_cocci/check_meta.ml -OCAMLC parsing_cocci/adjacency.ml -OCAMLC parsing_cocci/commas_on_lists.ml -OCAMLC parsing_c/parsing_hacks.ml -OCAMLC parsing_c/cpp_analysis_c.ml +OCAMLC parsing_cocci/parse_aux.ml +MENHIR parsing_cocci/parser_cocci_menhir.mly +OCAMLC parsing_c/visitor_c.ml +OCAMLC parsing_c/lib_parsing_c.mli +OCAMLC parsing_c/lexer_c.ml +OCAMLC parsing_c/parse_string_c.ml +OCAMLC parsing_c/token_helpers.ml +OCAMLC parsing_c/token_views_c.ml +OCAMLC parsing_c/cpp_token_c.mli +OCAMLC parsing_c/parsing_recovery_c.ml +OCAMLC parsing_c/danger.ml +OCAMLC parsing_c/parse_c.mli +OCAMLC parsing_c/comment_annotater_c.ml +OCAMLC engine/pretty_print_engine.ml +OCAMLC engine/c_vs_c.ml +OCAMLC engine/cocci_vs_c.ml +OCAMLC engine/pattern_c.ml +OCAMLC engine/transformation_c.ml +OCAMLC engine/postprocess_transinfo.ml +OCAMLC engine/ctlcocci_integration.ml +OCAMLC popl09/popltoctl.ml +OCAMLC popl09/popl.ml +OCAMLC cocci.mli +OCAMLC tools/spgen/source/position_generator.ml +OCAMLC tools/spgen/source/disj_generator.ml +OCAMLC tools/spgen/source/rule_body.ml +cp parsing_c/parse_c.cmi ocaml/parse_c.cmi +cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi +cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo +cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo +OCAMLC parsing_cocci/iso_compile.ml +OCAMLC parsing_c/lib_parsing_c.ml +OCAMLC parsing_c/includes_cache.ml +OCAMLC parsing_c/pretty_print_c.ml +OCAMLC parsing_c/control_flow_c_build.ml +OCAMLC parsing_c/parser_c.ml +OCAMLC parsing_c/cpp_token_c.ml +OCAMLC parsing_c/parsing_hacks.mli +OCAMLC parsing_c/cpp_analysis_c.mli OCAMLC parsing_c/parse_c.ml OCAMLC parsing_c/unparse_c.mli OCAMLC parsing_c/cpp_ast_c.mli OCAMLC parsing_c/type_annoter_c.ml OCAMLC parsing_c/compare_c.ml +OCAMLC parsing_c/test_parsing_c.ml OCAMLC ocaml/exposed_modules.mli OCAMLC ocaml/coccilib.mli -OCAMLC popl09/popltoctl.ml -OCAMLC popl09/popl.ml +OCAMLC -o popl09/popl09.cma OCAMLC testing.ml OCAMLC enter.ml -cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo -OCAMLC parsing_cocci/iso_compile.ml +cp parsing_c/parse_c.cmo ocaml/parse_c.cmo +cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo +OCAMLC parsing_c/parsing_hacks.ml +OCAMLC parsing_c/cpp_analysis_c.ml OCAMLC parsing_c/unparse_c.ml OCAMLC parsing_c/cpp_ast_c.ml -OCAMLC parsing_c/test_parsing_c.ml -OCAMLC -o popl09/popl09.cma -cp parsing_c/parse_c.cmo ocaml/parse_c.cmo -OCAMLC ocaml/exposed_modules.ml +cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo cp parsing_c/parser_c.cmo ocaml/parser_c.cmo +OCAMLC ocaml/exposed_modules.ml OCAMLC -o parsing_c/parsing_c.cma +OCAMLC -o engine/engine.cma OCAMLC ocaml/coccilib.ml OCAMLC ocaml/yes_prepare_ocamlcocci.ml OCAMLC ocaml/run_ocamlcocci.ml @@ -4850,7 +4887,6 @@ OCAMLC python/yes_pycocci.ml OCAMLC python/pycocci.ml OCAMLC -o python/python.cma -OCAMLC -o engine/engine.cma OCAMLC -o ocaml/ocaml.cma OCAMLDEP parsing_cocci/parser_cocci_menhir.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.mli @@ -4874,7 +4910,7 @@ 62.res diff = --- tests/62.c -+++ /tmp/cocci-output-128647-ec9ee9-62.c ++++ /tmp/cocci-output-11082-1c9388-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, @@ -4892,7 +4928,7 @@ a3.res diff = --- tests/a3.c -+++ /tmp/cocci-output-128647-2b109c-a3.c ++++ /tmp/cocci-output-11082-63eace-a3.c @@ -1,5 +1,5 @@ static void a3d_connect() { @@ -4903,7 +4939,7 @@ a3d.res diff = --- tests/a3d.c -+++ /tmp/cocci-output-128647-0724c1-a3d.c ++++ /tmp/cocci-output-11082-828527-a3d.c @@ -6,13 +6,13 @@ struct a3d { static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { @@ -4925,7 +4961,7 @@ a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c -+++ /tmp/cocci-output-128647-ac6afb-a_and_e_ver1.c ++++ /tmp/cocci-output-11082-f2e574-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { @@ -4937,7 +4973,7 @@ ab.res diff = --- tests/ab.c -+++ /tmp/cocci-output-128647-bfd579-ab.c ++++ /tmp/cocci-output-11082-fe0da9-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; @@ -4948,7 +4984,7 @@ action.res diff = --- tests/action.c -+++ /tmp/cocci-output-128647-f375b6-action.c ++++ /tmp/cocci-output-11082-2ae6b8-action.c @@ -1,10 +1,8 @@ void work() { @@ -4966,7 +5002,7 @@ SPECIAL NAMES: adding list_for_each_entry as a iterator diff = --- tests/add1.c -+++ /tmp/cocci-output-128647-f5ee4c-add1.c ++++ /tmp/cocci-output-11082-d322c9-add1.c @@ -7,6 +7,9 @@ static int create_scheduling_groups(void ret = build_groups(sd, i); } @@ -4993,7 +5029,7 @@ warning: rule starting on line 1, node 29: [endif][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 20: while[1,2,10]* in main may be inconsistently modified --- tests/addaft.c -+++ /tmp/cocci-output-128647-e87d59-addaft.c ++++ /tmp/cocci-output-11082-cd0189-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); @@ -5017,7 +5053,7 @@ addafterdecl.res diff = --- tests/addafterdecl.c -+++ /tmp/cocci-output-128647-271458-addafterdecl.c ++++ /tmp/cocci-output-11082-f51d40-addafterdecl.c @@ -1,4 +1,5 @@ int main () { int x; @@ -5027,7 +5063,7 @@ addbefore.res diff = --- tests/addbefore.c -+++ /tmp/cocci-output-128647-936022-addbefore.c ++++ /tmp/cocci-output-11082-0ff12e-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { @@ -5038,7 +5074,7 @@ addbeforeafter.res diff = --- tests/addbeforeafter.c -+++ /tmp/cocci-output-128647-6556e0-addbeforeafter.c ++++ /tmp/cocci-output-11082-74789e-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { @@ -5051,7 +5087,7 @@ addcomm.res diff = --- tests/addcomm.c -+++ /tmp/cocci-output-128647-1b8e98-addcomm.c ++++ /tmp/cocci-output-11082-30fed0-addcomm.c @@ -1,5 +1,9 @@ int main() { - foo(); @@ -5067,7 +5103,7 @@ addelse.res diff = --- tests/addelse.c -+++ /tmp/cocci-output-128647-ce746f-addelse.c ++++ /tmp/cocci-output-11082-310fdd-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; @@ -5075,7 +5111,7 @@ addes.res diff = --- tests/addes.c -+++ /tmp/cocci-output-128647-6ef896-addes.c ++++ /tmp/cocci-output-11082-908d8a-addes.c @@ -1 +1,3 @@ int i; +struct foo { @@ -5083,7 +5119,7 @@ addfield.res diff = --- tests/addfield.c -+++ /tmp/cocci-output-128647-4ddc8e-addfield.c ++++ /tmp/cocci-output-11082-03c2bd-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, @@ -5095,7 +5131,7 @@ addfield2.res diff = --- tests/addfield2.c -+++ /tmp/cocci-output-128647-d33533-addfield2.c ++++ /tmp/cocci-output-11082-98f841-addfield2.c @@ -1,17 +1,21 @@ struct foo { + int roto; @@ -5121,7 +5157,7 @@ addif.res diff = --- tests/addif.c -+++ /tmp/cocci-output-128647-076195-addif.c ++++ /tmp/cocci-output-11082-e195fd-addif.c @@ -1,7 +1,21 @@ +#ifdef FOO +/* some comment */ @@ -5147,7 +5183,7 @@ addif1.res diff = --- tests/addif1.c -+++ /tmp/cocci-output-128647-c66908-addif1.c ++++ /tmp/cocci-output-11082-f76649-addif1.c @@ -1,7 +1,17 @@ +#ifdef FOO +int xxx() { @@ -5169,7 +5205,7 @@ addif2.res diff = --- tests/addif2.c -+++ /tmp/cocci-output-128647-2ef774-addif2.c ++++ /tmp/cocci-output-11082-87646b-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; @@ -5187,7 +5223,7 @@ addifdef.res diff = --- tests/addifdef.c -+++ /tmp/cocci-output-128647-ec1345-addifdef.c ++++ /tmp/cocci-output-11082-eeaf23-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) @@ -5206,7 +5242,7 @@ addifelse.res diff = --- tests/addifelse.c -+++ /tmp/cocci-output-128647-5357d2-addifelse.c ++++ /tmp/cocci-output-11082-d5e87b-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) @@ -5225,7 +5261,7 @@ addifelse2.res diff = --- tests/addifelse2.c -+++ /tmp/cocci-output-128647-e5ce9f-addifelse2.c ++++ /tmp/cocci-output-11082-9927e5-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) { @@ -5245,7 +5281,7 @@ addinc.res diff = --- tests/addinc.c -+++ /tmp/cocci-output-128647-3d1e8b-addinc.c ++++ /tmp/cocci-output-11082-ac89db-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO @@ -5255,7 +5291,7 @@ addnl.res diff = --- tests/addnl.c -+++ /tmp/cocci-output-128647-e30cd6-addnl.c ++++ /tmp/cocci-output-11082-c09dd0-addnl.c @@ -1,5 +1,6 @@ int main () { xxx(); @@ -5268,7 +5304,7 @@ addtoo.res diff = --- tests/addtoo.c -+++ /tmp/cocci-output-128647-fa17f1-addtoo.c ++++ /tmp/cocci-output-11082-c0039a-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { @@ -5292,7 +5328,7 @@ addtrace.res diff = --- tests/addtrace.c -+++ /tmp/cocci-output-128647-70e611-addtrace.c ++++ /tmp/cocci-output-11082-9e343f-addtrace.c @@ -2,13 +2,24 @@ short VerDate(char *pcDate) { short sRetour = 0; @@ -5325,7 +5361,7 @@ after_if.res diff = --- tests/after_if.c -+++ /tmp/cocci-output-128647-9ed564-after_if.c ++++ /tmp/cocci-output-11082-5fb0ce-after_if.c @@ -1,4 +1,4 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); @@ -5337,7 +5373,7 @@ allex.res diff = --- tests/allex.c -+++ /tmp/cocci-output-128647-fa8443-allex.c ++++ /tmp/cocci-output-11082-78ed5c-allex.c @@ -6,7 +6,7 @@ int main () { goto out; } @@ -5350,7 +5386,7 @@ allex2.res diff = --- tests/allex2.c -+++ /tmp/cocci-output-128647-9f1a77-allex2.c ++++ /tmp/cocci-output-11082-bf041e-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; @@ -5361,7 +5397,7 @@ allex3.res diff = --- tests/allex3.c -+++ /tmp/cocci-output-128647-d66cd6-allex3.c ++++ /tmp/cocci-output-11082-e4bc94-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; @@ -5371,7 +5407,7 @@ andid.res diff = --- tests/andid.c -+++ /tmp/cocci-output-128647-ab1412-andid.c ++++ /tmp/cocci-output-11082-985ca5-andid.c @@ -1,5 +1,5 @@ int main () { - int frontandback = 12; @@ -5382,7 +5418,7 @@ anon.res diff = --- tests/anon.c -+++ /tmp/cocci-output-128647-11c577-anon.c ++++ /tmp/cocci-output-11082-311e5e-anon.c @@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_ void (*done) (struct scsi_cmnd *)) { @@ -5393,7 +5429,7 @@ anonfield.res diff = --- tests/anonfield.c -+++ /tmp/cocci-output-128647-898c0a-anonfield.c ++++ /tmp/cocci-output-11082-84d1d8-anonfield.c @@ -1,3 +1,3 @@ struct { - int; @@ -5402,7 +5438,7 @@ ar.res diff = --- tests/ar.c -+++ /tmp/cocci-output-128647-257d4c-ar.c ++++ /tmp/cocci-output-11082-34a775-ar.c @@ -4,9 +4,4 @@ int main() { struct foo *x; struct bar *y; @@ -5416,7 +5452,7 @@ arg.res diff = --- tests/arg.c -+++ /tmp/cocci-output-128647-1e9db0-arg.c ++++ /tmp/cocci-output-11082-830ae3-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); @@ -5431,7 +5467,7 @@ argument.res diff = --- tests/argument.c -+++ /tmp/cocci-output-128647-f75f18-argument.c ++++ /tmp/cocci-output-11082-39ec7d-argument.c @@ -1,8 +1,5 @@ void main(int i){ @@ -5445,7 +5481,7 @@ arparam.res diff = --- tests/arparam.c -+++ /tmp/cocci-output-128647-437305-arparam.c ++++ /tmp/cocci-output-11082-88cefb-arparam.c @@ -1,3 +1,8 @@ +int g(int q[1024]) +{ @@ -5459,7 +5495,7 @@ SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/array_init.c -+++ /tmp/cocci-output-128647-55ff5f-array_init.c ++++ /tmp/cocci-output-11082-885129-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"); @@ -5467,7 +5503,7 @@ array_size.res diff = --- tests/array_size.c -+++ /tmp/cocci-output-128647-9cc3b6-array_size.c ++++ /tmp/cocci-output-11082-f97891-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) @@ -5475,7 +5511,7 @@ arraysz.res diff = --- tests/arraysz.c -+++ /tmp/cocci-output-128647-6d0a20-arraysz.c ++++ /tmp/cocci-output-11082-6266f8-arraysz.c @@ -7,4 +7,4 @@ typedef struct signature { static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ @@ -5485,7 +5521,7 @@ as_stm.res diff = --- tests/as_stm.c -+++ /tmp/cocci-output-128647-86ec4e-as_stm.c ++++ /tmp/cocci-output-11082-4bbe43-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE @@ -5502,7 +5538,7 @@ SPECIAL NAMES: adding aarg4 as a attribute diff = --- tests/attr_with_arguments.c -+++ /tmp/cocci-output-128647-e001d8-attr_with_arguments.c ++++ /tmp/cocci-output-11082-43f899-attr_with_arguments.c @@ -1,9 +1,9 @@ -aarg(1,2) int func() { - int id aarg3(1,2); @@ -5536,7 +5572,7 @@ attradd.res diff = --- tests/attradd.c -+++ /tmp/cocci-output-128647-7dff82-attradd.c ++++ /tmp/cocci-output-11082-080419-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; @@ -5550,7 +5586,7 @@ SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attribute_order.c -+++ /tmp/cocci-output-128647-7b56d6-attribute_order.c ++++ /tmp/cocci-output-11082-ed2c18-attribute_order.c @@ -1,3 +1,3 @@ -int __att1 * __att2 * __att3 foo() { return 0; } + @@ -5560,7 +5596,7 @@ warning: line 5: should variable be a metavariable? diff = --- tests/attributeb.c -+++ /tmp/cocci-output-128647-57f087-attributeb.c ++++ /tmp/cocci-output-11082-7677ca-attributeb.c @@ -1,3 +1,3 @@ int main(){ - [[lucky]] int variable; @@ -5569,7 +5605,7 @@ attributeu.res diff = --- tests/attributeu.cpp -+++ /tmp/cocci-output-128647-022cac-attributeu.cpp ++++ /tmp/cocci-output-11082-91853e-attributeu.cpp @@ -1,3 +1,3 @@ int main(){ - [[using GCC : lucky]] int variable; @@ -5581,7 +5617,7 @@ SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attrreplace.c -+++ /tmp/cocci-output-128647-4b63eb-attrreplace.c ++++ /tmp/cocci-output-11082-695eae-attrreplace.c @@ -1,4 +1,7 @@ -int __att1 * __att2 * __att3 foo() { aaa(0); } -int __att1 * __att2 * __att3 bar() { return 0; } @@ -5599,7 +5635,7 @@ SPECIAL NAMES: adding BUG as a declarer diff = --- tests/attrs2groups.c -+++ /tmp/cocci-output-128647-582b2e-attrs2groups.c ++++ /tmp/cocci-output-11082-aba6a6-attrs2groups.c @@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic { return 42; @@ -5634,7 +5670,7 @@ b1.res diff = --- tests/b1.c -+++ /tmp/cocci-output-128647-b72a82-b1.c ++++ /tmp/cocci-output-11082-36ddc9-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { @@ -5651,7 +5687,7 @@ diff = warning: rule starting on line 1, node 36: foo(...)[1,2,10,11,12,13] in main may be inconsistently modified --- tests/b2.c -+++ /tmp/cocci-output-128647-ad84d1-b2.c ++++ /tmp/cocci-output-11082-275d26-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { @@ -5670,7 +5706,7 @@ bad_kfree.res diff = --- tests/bad_kfree.c -+++ /tmp/cocci-output-128647-80b25e-bad_kfree.c ++++ /tmp/cocci-output-11082-8a3895-bad_kfree.c @@ -14,7 +14,7 @@ int bad () { kfree(itv[i]); print("foo",itv[i]); @@ -5683,7 +5719,7 @@ bad_ptr_print.res diff = --- tests/bad_ptr_print.c -+++ /tmp/cocci-output-128647-a2f954-bad_ptr_print.c ++++ /tmp/cocci-output-11082-a33c37-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { @@ -5693,7 +5729,7 @@ bad_typedef.res diff = --- tests/bad_typedef.c -+++ /tmp/cocci-output-128647-b2b0df-bad_typedef.c ++++ /tmp/cocci-output-11082-0679f0-bad_typedef.c @@ -4,7 +4,7 @@ typedef struct { @@ -5713,7 +5749,7 @@ badcfg.res diff = --- tests/badcfg.c -+++ /tmp/cocci-output-128647-65ba02-badcfg.c ++++ /tmp/cocci-output-11082-5ec2c4-badcfg.c @@ -3,7 +3,7 @@ const char *netdev_cmd_to_name(enum netd #define N(val) \ case NETDEV_##val: \ @@ -5726,7 +5762,7 @@ badexp.res diff = --- tests/badexp.c -+++ /tmp/cocci-output-128647-39b91d-badexp.c ++++ /tmp/cocci-output-11082-48c0ae-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); @@ -5753,7 +5789,7 @@ badtypedef.res diff = --- tests/badtypedef.c -+++ /tmp/cocci-output-128647-13f3a7-badtypedef.c ++++ /tmp/cocci-output-11082-105287-badtypedef.c @@ -5,7 +5,7 @@ int main() { foo_t *b; foo_t *c; @@ -5767,7 +5803,7 @@ badwhen.res diff = --- tests/badwhen.c -+++ /tmp/cocci-output-128647-087da2-badwhen.c ++++ /tmp/cocci-output-11082-336f8d-badwhen.c @@ -4,7 +4,5 @@ int main () { g(); } @@ -5779,7 +5815,7 @@ badzero.res diff = --- tests/badzero.c -+++ /tmp/cocci-output-128647-7fb4f5-badzero.c ++++ /tmp/cocci-output-11082-c7ea48-badzero.c @@ -4,7 +4,7 @@ int main () { int z; if (y - x == 0) return; @@ -5796,7 +5832,7 @@ befS.res diff = --- tests/befS.c -+++ /tmp/cocci-output-128647-d59bb3-befS.c ++++ /tmp/cocci-output-11082-543064-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); @@ -5835,7 +5871,7 @@ before.res diff = --- tests/before.c -+++ /tmp/cocci-output-128647-a804fe-before.c ++++ /tmp/cocci-output-11082-814d4b-before.c @@ -1,4 +1,6 @@ int main () { + blah(); @@ -5846,7 +5882,7 @@ befored.res diff = --- tests/befored.c -+++ /tmp/cocci-output-128647-55bd5d-befored.c ++++ /tmp/cocci-output-11082-ab772e-befored.c @@ -1,4 +1,8 @@ int main() { + foo(); @@ -5861,7 +5897,7 @@ SPECIAL NAMES: adding GTypeInfo as a type diff = --- tests/ben.c -+++ /tmp/cocci-output-128647-6fc773-ben.c ++++ /tmp/cocci-output-11082-7e605a-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { @@ -5901,7 +5937,7 @@ bigin.res diff = --- tests/bigin.c -+++ /tmp/cocci-output-128647-b50a69-bigin.c ++++ /tmp/cocci-output-11082-d38c51-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) @@ -5912,7 +5948,7 @@ bigrepl.res diff = --- tests/bigrepl.c -+++ /tmp/cocci-output-128647-ea698e-bigrepl.c ++++ /tmp/cocci-output-11082-6962af-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), @@ -5929,7 +5965,7 @@ binop.res diff = --- tests/binop.c -+++ /tmp/cocci-output-128647-ce06ea-binop.c ++++ /tmp/cocci-output-11082-ee5919-binop.c @@ -2,10 +2,12 @@ void main() { int i = 0; int j = 0; @@ -5950,7 +5986,7 @@ warning: rule starting on line 11: metavariable v not used in the - or context code diff = --- tests/bitfield.c -+++ /tmp/cocci-output-128647-bedaa8-bitfield.c ++++ /tmp/cocci-output-11082-e4a312-bitfield.c @@ -1,15 +1,15 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -5981,7 +6017,7 @@ bool1.res diff = --- tests/bool1.cpp -+++ /tmp/cocci-output-128647-0ad339-bool1.cpp ++++ /tmp/cocci-output-11082-97e11e-bool1.cpp @@ -1,3 +1,3 @@ atype f::g() { - return 0; @@ -5992,7 +6028,7 @@ (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c -+++ /tmp/cocci-output-128647-7c2880-boolr.c ++++ /tmp/cocci-output-11082-dd9de5-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; @@ -6001,7 +6037,7 @@ bracebraceline.res diff = --- tests/bracebraceline.c -+++ /tmp/cocci-output-128647-c97d07-bracebraceline.c ++++ /tmp/cocci-output-11082-10c26f-bracebraceline.c @@ -1,6 +1,5 @@ int main () { if (x) { @@ -6013,7 +6049,7 @@ braceline.res diff = --- tests/braceline.c -+++ /tmp/cocci-output-128647-6c17f8-braceline.c ++++ /tmp/cocci-output-11082-7731ed-braceline.c @@ -1,6 +1,3 @@ int main () { - if (x) { @@ -6025,7 +6061,7 @@ braces.res diff = --- tests/braces.c -+++ /tmp/cocci-output-128647-988222-braces.c ++++ /tmp/cocci-output-11082-eb0c32-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); @@ -6043,7 +6079,7 @@ bracket.res diff = --- tests/bracket.cpp -+++ /tmp/cocci-output-128647-c7e514-bracket.cpp ++++ /tmp/cocci-output-11082-fa4d6d-bracket.cpp @@ -1,3 +1,3 @@ int main () { - rsb_flags_t flags{flags_}; @@ -6052,7 +6088,7 @@ branchparen.res diff = --- tests/branchparen.c -+++ /tmp/cocci-output-128647-d6a0cf-branchparen.c ++++ /tmp/cocci-output-11082-446348-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) @@ -6069,7 +6105,7 @@ break.res diff = --- tests/break.c -+++ /tmp/cocci-output-128647-6f9c74-break.c ++++ /tmp/cocci-output-11082-712c9d-break.c @@ -5,8 +5,10 @@ int main () { x = 15; if (x > 1 ) { foo(); break; } @@ -6097,7 +6133,7 @@ bug1.res diff = --- tests/bug1.c -+++ /tmp/cocci-output-128647-880f9e-bug1.c ++++ /tmp/cocci-output-11082-33a5f1-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, @@ -6110,7 +6146,7 @@ bugon.res diff = --- tests/bugon.c -+++ /tmp/cocci-output-128647-bc25ae-bugon.c ++++ /tmp/cocci-output-11082-046e6e-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { @@ -6121,7 +6157,7 @@ bus.res diff = --- tests/bus.c -+++ /tmp/cocci-output-128647-c11171-bus.c ++++ /tmp/cocci-output-11082-d29947-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; @@ -6134,7 +6170,7 @@ SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/cards.c -+++ /tmp/cocci-output-128647-459b47-cards.c ++++ /tmp/cocci-output-11082-85620e-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + @@ -6143,7 +6179,7 @@ caseprint.res diff = --- tests/caseprint.c -+++ /tmp/cocci-output-128647-bc67cd-caseprint.c ++++ /tmp/cocci-output-11082-4b089d-caseprint.c @@ -3,4 +3,10 @@ int f() { case 12: return 0; case 1: return 2; @@ -6158,7 +6194,7 @@ cast.res diff = --- tests/cast.c -+++ /tmp/cocci-output-128647-796f7d-cast.c ++++ /tmp/cocci-output-11082-52c88e-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; @@ -6166,7 +6202,7 @@ cast_iso.res diff = --- tests/cast_iso.c -+++ /tmp/cocci-output-128647-5d99e7-cast_iso.c ++++ /tmp/cocci-output-11082-0bc2f4-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { @@ -6179,7 +6215,7 @@ castdecl.res diff = --- tests/castdecl.c -+++ /tmp/cocci-output-128647-9f8b34-castdecl.c ++++ /tmp/cocci-output-11082-5afab0-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; @@ -6198,7 +6234,7 @@ cdstr.res diff = --- tests/cdstr.cpp -+++ /tmp/cocci-output-128647-d13ec3-cdstr.cpp ++++ /tmp/cocci-output-11082-311f5e-cdstr.cpp @@ -2,11 +2,11 @@ class X @@ -6216,7 +6252,7 @@ cex_snip_field_bad.res diff = --- tests/cex_snip_field_bad.cpp -+++ /tmp/cocci-output-128647-1bc449-cex_snip_field_bad.cpp ++++ /tmp/cocci-output-11082-8d7daa-cex_snip_field_bad.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; @@ -6229,7 +6265,7 @@ cex_snip_field_ok.res diff = --- tests/cex_snip_field_ok.c -+++ /tmp/cocci-output-128647-34ee2e-cex_snip_field_ok.c ++++ /tmp/cocci-output-11082-21427b-cex_snip_field_ok.c @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; @@ -6242,7 +6278,7 @@ cex_wishlist_complex1.res diff = --- tests/cex_wishlist_complex1.c -+++ /tmp/cocci-output-128647-484863-cex_wishlist_complex1.c ++++ /tmp/cocci-output-11082-7b9ea8-cex_wishlist_complex1.c @@ -1,6 +1,6 @@ #include int main() { @@ -6254,7 +6290,7 @@ cex_wishlist_complex2.res diff = --- tests/cex_wishlist_complex2.c -+++ /tmp/cocci-output-128647-19c094-cex_wishlist_complex2.c ++++ /tmp/cocci-output-11082-9b7fc8-cex_wishlist_complex2.c @@ -2,7 +2,7 @@ int main() { double d; @@ -6267,7 +6303,7 @@ cex_wishlist_complex3.res diff = --- tests/cex_wishlist_complex3.c -+++ /tmp/cocci-output-128647-f81d8d-cex_wishlist_complex3.c ++++ /tmp/cocci-output-11082-e91e94-cex_wishlist_complex3.c @@ -2,7 +2,7 @@ int main() { double d; @@ -6281,7 +6317,7 @@ change.res diff = --- tests/change.c -+++ /tmp/cocci-output-128647-645e05-change.c ++++ /tmp/cocci-output-11082-912fa0-change.c @@ -1,5 +1,6 @@ int main () { foo(); @@ -6292,7 +6328,7 @@ change_type.res diff = --- tests/change_type.c -+++ /tmp/cocci-output-128647-f6ee5d-change_type.c ++++ /tmp/cocci-output-11082-4f5512-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; @@ -6302,7 +6338,7 @@ changei.res diff = --- tests/changei.c -+++ /tmp/cocci-output-128647-cf1bf0-changei.c ++++ /tmp/cocci-output-11082-d09677-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; @@ -6319,7 +6355,7 @@ cocci_args.res diff = --- tests/cocci_args.c -+++ /tmp/cocci-output-128647-9e201d-cocci_args.c ++++ /tmp/cocci-output-11082-3f132c-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); @@ -6328,7 +6364,7 @@ com.res diff = --- tests/com.c -+++ /tmp/cocci-output-128647-024934-com.c ++++ /tmp/cocci-output-11082-4ec5d7-com.c @@ -1,8 +1,3 @@ int main() { - foo(); @@ -6341,7 +6377,7 @@ comadd.res diff = --- tests/comadd.c -+++ /tmp/cocci-output-128647-82b3a5-comadd.c ++++ /tmp/cocci-output-11082-bd5c73-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment @@ -6351,7 +6387,7 @@ comj.res diff = --- tests/comj.c -+++ /tmp/cocci-output-128647-4482d9-comj.c ++++ /tmp/cocci-output-11082-353782-comj.c @@ -2,6 +2,8 @@ int foo(int bar) { int i, j; @@ -6368,7 +6404,7 @@ comma_call.res diff = --- tests/comma_call.c -+++ /tmp/cocci-output-128647-f51d3e-comma_call.c ++++ /tmp/cocci-output-11082-661aaf-comma_call.c @@ -1,10 +1,13 @@ int main() { - if (x) @@ -6390,7 +6426,7 @@ comma_if.res diff = --- tests/comma_if.c -+++ /tmp/cocci-output-128647-5b67dc-comma_if.c ++++ /tmp/cocci-output-11082-fdf782-comma_if.c @@ -1,13 +1,19 @@ int main() { - if (uffdio_zeropage.zeropage == -EEXIST) @@ -6420,7 +6456,7 @@ comment_brace.res diff = --- tests/comment_brace.c -+++ /tmp/cocci-output-128647-ec0ce6-comment_brace.c ++++ /tmp/cocci-output-11082-aed257-comment_brace.c @@ -1,7 +1,10 @@ int main () { @@ -6435,7 +6471,7 @@ comment_brace2.res diff = --- tests/comment_brace2.c -+++ /tmp/cocci-output-128647-cb1968-comment_brace2.c ++++ /tmp/cocci-output-11082-c9bd4f-comment_brace2.c @@ -1,7 +1,10 @@ int main () { @@ -6460,7 +6496,7 @@ commentend.res diff = --- tests/commentend.c -+++ /tmp/cocci-output-128647-512f87-commentend.c ++++ /tmp/cocci-output-11082-6db2d3-commentend.c @@ -1,5 +1,4 @@ int main () { foo(); @@ -6470,7 +6506,7 @@ comments.res diff = --- tests/comments.c -+++ /tmp/cocci-output-128647-0cd926-comments.c ++++ /tmp/cocci-output-11082-e5737f-comments.c @@ -1,5 +1,16 @@ int main() { @@ -6492,7 +6528,7 @@ SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/compare.c -+++ /tmp/cocci-output-128647-be24ee-compare.c ++++ /tmp/cocci-output-11082-8569b6-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { @@ -6506,7 +6542,7 @@ compare_const.res diff = --- tests/compare_const.c -+++ /tmp/cocci-output-128647-b128f0-compare_const.c ++++ /tmp/cocci-output-11082-308f1d-compare_const.c @@ -1,3 +1,3 @@ int main () { - return 0 == x; @@ -6515,7 +6551,7 @@ compare_const2.res diff = --- tests/compare_const2.c -+++ /tmp/cocci-output-128647-320631-compare_const2.c ++++ /tmp/cocci-output-11082-15379e-compare_const2.c @@ -1,6 +1,6 @@ int main () { // int i,o; @@ -6528,7 +6564,7 @@ complexcpp.res diff = --- tests/complexcpp.cpp -+++ /tmp/cocci-output-128647-f993dc-complexcpp.cpp ++++ /tmp/cocci-output-11082-cdd80a-complexcpp.cpp @@ -1,3 +1,3 @@ int main() { - std::complex x; @@ -6537,7 +6573,7 @@ comreturn.res diff = --- tests/comreturn.c -+++ /tmp/cocci-output-128647-6cb44d-comreturn.c ++++ /tmp/cocci-output-11082-9fcdbb-comreturn.c @@ -1,10 +1,14 @@ int main() { a(); @@ -6556,7 +6592,7 @@ condexp.res diff = --- tests/condexp.c -+++ /tmp/cocci-output-128647-a0683d-condexp.c ++++ /tmp/cocci-output-11082-a64df1-condexp.c @@ -5,7 +5,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay (displayname); if (!dpy) { @@ -6569,7 +6605,7 @@ const.res diff = --- tests/const.c -+++ /tmp/cocci-output-128647-ef62e3-const.c ++++ /tmp/cocci-output-11082-6c0dd2-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); @@ -6578,7 +6614,7 @@ const1bis.res diff = --- tests/const1bis.c -+++ /tmp/cocci-output-128647-b76cc9-const1bis.c ++++ /tmp/cocci-output-11082-531015-const1bis.c @@ -1,25 +1,25 @@ void foo(int j) { - const int i; @@ -6614,7 +6650,7 @@ const_adding.res diff = --- tests/const_adding.c -+++ /tmp/cocci-output-128647-a90585-const_adding.c ++++ /tmp/cocci-output-11082-8e08fa-const_adding.c @@ -2,6 +2,6 @@ void main(int i) { @@ -6626,7 +6662,7 @@ const_array.res diff = --- tests/const_array.c -+++ /tmp/cocci-output-128647-d581b2-const_array.c ++++ /tmp/cocci-output-11082-ffb814-const_array.c @@ -24,9 +24,9 @@ static const struct foo *r128_family4[] }; @@ -6645,7 +6681,7 @@ const_implicit_iso.res diff = --- tests/const_implicit_iso.c -+++ /tmp/cocci-output-128647-d68df7-const_implicit_iso.c ++++ /tmp/cocci-output-11082-1246c3-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; @@ -6655,7 +6691,7 @@ constptr.res diff = --- tests/constptr.c -+++ /tmp/cocci-output-128647-d51594-constptr.c ++++ /tmp/cocci-output-11082-75b2ee-constptr.c @@ -1,7 +1,7 @@ int main() { @@ -6671,7 +6707,7 @@ constraints.res diff = --- tests/constraints.c -+++ /tmp/cocci-output-128647-596b43-constraints.c ++++ /tmp/cocci-output-11082-16a3c7-constraints.c @@ -1,23 +1,23 @@ void f() @@ -6705,7 +6741,7 @@ constrem.res diff = --- tests/constrem.c -+++ /tmp/cocci-output-128647-2949fb-constrem.c ++++ /tmp/cocci-output-11082-3b949a-constrem.c @@ -1,3 +1 @@ -static const int a; @@ -6713,7 +6749,7 @@ constructor.res diff = --- tests/constructor.c -+++ /tmp/cocci-output-128647-872715-constructor.c ++++ /tmp/cocci-output-11082-1280f2-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, @@ -6725,7 +6761,7 @@ constty.res diff = --- tests/constty.c -+++ /tmp/cocci-output-128647-a4a493-constty.c ++++ /tmp/cocci-output-11082-2d94a7-constty.c @@ -1,7 +1,6 @@ int main () { const int x; @@ -6737,7 +6773,7 @@ constx.res diff = --- tests/constx.c -+++ /tmp/cocci-output-128647-a17e06-constx.c ++++ /tmp/cocci-output-11082-f8f4ac-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); @@ -6761,14 +6797,14 @@ cptr.res diff = --- tests/cptr.c -+++ /tmp/cocci-output-128647-bff900-cptr.c ++++ /tmp/cocci-output-11082-9fda08-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c -+++ /tmp/cocci-output-128647-8401a3-cr.c ++++ /tmp/cocci-output-11082-2fee23-cr.c @@ -1,7 +1,6 @@ int main(void) { @@ -6784,7 +6820,7 @@ warning: rule starting on line 1, node 39: }2[1,2,7,8] in probe_base_port may be inconsistently modified warning: rule starting on line 1, node 20: if[1,2,7,8,9] in probe_base_port may be inconsistently modified --- tests/cr1a.c -+++ /tmp/cocci-output-128647-66b0aa-cr1a.c ++++ /tmp/cocci-output-11082-fb9345-cr1a.c @@ -6,14 +6,17 @@ int __init probe_base_port(int base) if (base) b = e = base; @@ -6809,7 +6845,7 @@ warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c -+++ /tmp/cocci-output-128647-700d20-cs_check.c ++++ /tmp/cocci-output-11082-60f882-cs_check.c @@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re static void nsp_cs_config(dev_link_t *link) { @@ -6822,7 +6858,7 @@ cst.res diff = --- tests/cst.c -+++ /tmp/cocci-output-128647-67084d-cst.c ++++ /tmp/cocci-output-11082-e47b81-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); @@ -6833,7 +6869,7 @@ cst_null.res diff = --- tests/cst_null.c -+++ /tmp/cocci-output-128647-cb890c-cst_null.c ++++ /tmp/cocci-output-11082-b9772d-cst_null.c @@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; @@ -6875,7 +6911,7 @@ warning: line 4: should foo be a metavariable? diff = --- tests/cststr.c -+++ /tmp/cocci-output-128647-5dbeba-cststr.c ++++ /tmp/cocci-output-11082-ca40a0-cststr.c @@ -1,3 +1,3 @@ int main () { - foo((ptr_t)"blah"); @@ -6885,7 +6921,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/csw.c -+++ /tmp/cocci-output-128647-6e9348-csw.c ++++ /tmp/cocci-output-11082-3df8ba-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { @@ -6906,7 +6942,7 @@ warning: line 6: should blockDim be a metavariable? diff = --- tests/cuda.cpp -+++ /tmp/cocci-output-128647-dd7f4a-cuda.cpp ++++ /tmp/cocci-output-11082-af9357-cuda.cpp @@ -15,6 +15,7 @@ int main() { dim3 blockDim(16, 16, 1); @@ -6918,7 +6954,7 @@ cuda1.res diff = --- tests/cuda1.cpp -+++ /tmp/cocci-output-128647-92962f-cuda1.cpp ++++ /tmp/cocci-output-11082-af2469-cuda1.cpp @@ -1,4 +1,4 @@ int main() { @@ -6928,7 +6964,7 @@ cuda_noattr.res diff = --- tests/cuda_noattr.cpp -+++ /tmp/cocci-output-128647-fdad24-cuda_noattr.cpp ++++ /tmp/cocci-output-11082-6e65dc-cuda_noattr.cpp @@ -1,6 +1,7 @@ __global__ void kernel_2(int i) @@ -6940,7 +6976,7 @@ dbg.res diff = --- tests/dbg.c -+++ /tmp/cocci-output-128647-71d93e-dbg.c ++++ /tmp/cocci-output-11082-07aff2-dbg.c @@ -5,4 +5,6 @@ static inline void alloc_resource(struct if (pr) @@ -6951,7 +6987,7 @@ dbg1.res diff = --- tests/dbg1.c -+++ /tmp/cocci-output-128647-43253f-dbg1.c ++++ /tmp/cocci-output-11082-ba9238-dbg1.c @@ -2,4 +2,5 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { @@ -6961,7 +6997,7 @@ dc_close.res diff = --- tests/dc_close.c -+++ /tmp/cocci-output-128647-efc770-dc_close.c ++++ /tmp/cocci-output-11082-3ee19d-dc_close.c @@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs) INIT_WORK(&cs->work, icc_bh, cs); @@ -6973,7 +7009,7 @@ debug.res diff = --- tests/debug.c -+++ /tmp/cocci-output-128647-467a53-debug.c ++++ /tmp/cocci-output-11082-a264a9-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { @@ -6983,7 +7019,7 @@ dec.res diff = --- tests/dec.c -+++ /tmp/cocci-output-128647-03c8f3-dec.c ++++ /tmp/cocci-output-11082-92dbb6-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; @@ -6995,7 +7031,7 @@ SPECIAL NAMES: adding __cb as a attribute diff = --- tests/decadd.c -+++ /tmp/cocci-output-128647-d97ff6-decadd.c ++++ /tmp/cocci-output-11082-be57ec-decadd.c @@ -1,3 +1,3 @@ struct x { - DECL(x); @@ -7005,7 +7041,7 @@ decdup2.res diff = --- tests/decdup2.c -+++ /tmp/cocci-output-128647-3fcfd5-decdup2.c ++++ /tmp/cocci-output-11082-357bcb-decdup2.c @@ -1,2 +1,3 @@ +int www; BTF_ID_LIST_SINGLE(bpf_ima_inode_hash_btf_ids, struct, inode) @@ -7015,7 +7051,7 @@ decl.res diff = --- tests/decl.c -+++ /tmp/cocci-output-128647-a97891-decl.c ++++ /tmp/cocci-output-11082-a55801-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -7027,7 +7063,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/decl2.c -+++ /tmp/cocci-output-128647-8e4e00-decl2.c ++++ /tmp/cocci-output-11082-260341-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -7041,7 +7077,7 @@ warning: line 4: should v be a metavariable? diff = --- tests/decl_and_ref.cpp -+++ /tmp/cocci-output-128647-d2481c-decl_and_ref.cpp ++++ /tmp/cocci-output-11082-9f0ef9-decl_and_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; @@ -7052,7 +7088,7 @@ warning: line 4: should b be a metavariable? diff = --- tests/decl_andand_ref.cpp -+++ /tmp/cocci-output-128647-c34fcf-decl_andand_ref.cpp ++++ /tmp/cocci-output-11082-a1fbd5-decl_andand_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; @@ -7064,7 +7100,7 @@ warning: line 4: should v be a metavariable? diff = --- tests/decl_ptr_ref.cpp -+++ /tmp/cocci-output-128647-502d5e-decl_ptr_ref.cpp ++++ /tmp/cocci-output-11082-2da164-decl_ptr_ref.cpp @@ -3,5 +3,6 @@ int main() int v = 0; int a = 0; @@ -7075,7 +7111,7 @@ decl_space.res diff = --- tests/decl_space.c -+++ /tmp/cocci-output-128647-1e8ede-decl_space.c ++++ /tmp/cocci-output-11082-d67466-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; @@ -7087,7 +7123,7 @@ decl_star.res diff = --- tests/decl_star.c -+++ /tmp/cocci-output-128647-6fa019-decl_star.c ++++ /tmp/cocci-output-11082-ed1a8f-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; @@ -7099,7 +7135,7 @@ declend.res diff = --- tests/declend.c -+++ /tmp/cocci-output-128647-25b57c-declend.c ++++ /tmp/cocci-output-11082-380b01-declend.c @@ -1,6 +1,5 @@ int x; @@ -7110,7 +7146,7 @@ declmeta.res diff = --- tests/declmeta.c -+++ /tmp/cocci-output-128647-21cf2e-declmeta.c ++++ /tmp/cocci-output-11082-d925fe-declmeta.c @@ -1,7 +1,7 @@ -int b,c; +int c; @@ -7125,7 +7161,7 @@ decltype.res diff = --- tests/decltype.cpp -+++ /tmp/cocci-output-128647-d38953-decltype.cpp ++++ /tmp/cocci-output-11082-858efe-decltype.cpp @@ -3,5 +3,5 @@ int expr; int main () { decltype(expr) expr2; @@ -7136,13 +7172,13 @@ defe.res diff = --- tests/defe.c -+++ /tmp/cocci-output-128647-8dacd9-defe.c ++++ /tmp/cocci-output-11082-c7c228-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c -+++ /tmp/cocci-output-128647-0a3d3c-define_exp.c ++++ /tmp/cocci-output-11082-800734-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) @@ -7153,7 +7189,7 @@ define_param.res diff = --- tests/define_param.c -+++ /tmp/cocci-output-128647-5be5b3-define_param.c ++++ /tmp/cocci-output-11082-06b734-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + @@ -7170,7 +7206,7 @@ definedots.res diff = --- tests/definedots.c -+++ /tmp/cocci-output-128647-940271-definedots.c ++++ /tmp/cocci-output-11082-96177f-definedots.c @@ -1,3 +1,3 @@ -#define a(x,y...) 3 -#define a(x,...) 3 @@ -7181,7 +7217,7 @@ defineinit.res diff = --- tests/defineinit.c -+++ /tmp/cocci-output-128647-62fc47-defineinit.c ++++ /tmp/cocci-output-11082-93344f-defineinit.c @@ -1,3 +1,3 @@ #define MYMACRO(adsf) { \ - .foo = (asdf),\ @@ -7191,7 +7227,7 @@ del2.res diff = --- tests/del2.c -+++ /tmp/cocci-output-128647-aad9f9-del2.c ++++ /tmp/cocci-output-11082-af65c9-del2.c @@ -4,8 +4,5 @@ int my_test_allocate_components(void) if (result != X_SUCCESS) return result; @@ -7204,7 +7240,7 @@ delete.res diff = --- tests/delete.cpp -+++ /tmp/cocci-output-128647-a9da04-delete.cpp ++++ /tmp/cocci-output-11082-e26171-delete.cpp @@ -1,6 +1,5 @@ int main() { @@ -7215,7 +7251,7 @@ delete_array.res diff = --- tests/delete_array.cpp -+++ /tmp/cocci-output-128647-229cc4-delete_array.cpp ++++ /tmp/cocci-output-11082-be8a8f-delete_array.cpp @@ -2,5 +2,4 @@ int main() { int * a; @@ -7225,7 +7261,7 @@ delete_function.res diff = --- tests/delete_function.c -+++ /tmp/cocci-output-128647-c3aa08-delete_function.c ++++ /tmp/cocci-output-11082-97ed80-delete_function.c @@ -2,12 +2,6 @@ int first () { return 0; } @@ -7242,7 +7278,7 @@ delp.res diff = --- tests/delp.c -+++ /tmp/cocci-output-128647-c38d89-delp.c ++++ /tmp/cocci-output-11082-270b18-delp.c @@ -1,4 +1,4 @@ int main () { return @@ -7252,7 +7288,7 @@ depfail.res diff = --- tests/depfail.c -+++ /tmp/cocci-output-128647-d4c83f-depfail.c ++++ /tmp/cocci-output-11082-ae19b9-depfail.c @@ -1,5 +1,4 @@ int main(void) { @@ -7262,7 +7298,7 @@ deref.res diff = --- tests/deref.c -+++ /tmp/cocci-output-128647-4ec9c5-deref.c ++++ /tmp/cocci-output-11082-df1458-deref.c @@ -1,6 +1,6 @@ int main () { int **q; @@ -7275,7 +7311,7 @@ destroy.res diff = --- tests/destroy.c -+++ /tmp/cocci-output-128647-923c32-destroy.c ++++ /tmp/cocci-output-11082-2d8599-destroy.c @@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f goto out; @@ -7293,7 +7329,7 @@ SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/detect_cast_attr.c -+++ /tmp/cocci-output-128647-81f6e8-detect_cast_attr.c ++++ /tmp/cocci-output-11082-eb164f-detect_cast_attr.c @@ -2,9 +2,9 @@ int func() @@ -7322,7 +7358,7 @@ SPECIAL NAMES: adding __attr as a attribute diff = --- tests/detect_param_attr.c -+++ /tmp/cocci-output-128647-bfb843-detect_param_attr.c ++++ /tmp/cocci-output-11082-434aa5-detect_param_attr.c @@ -1,11 +1,12 @@ -int func1(int __nocast *u, __nocast int z, int q __nocast, int w) { +int func1(char __nocast *u, __nocast int z, char q __nocast, int w) { @@ -7343,7 +7379,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/detect_struct_endattr.c -+++ /tmp/cocci-output-128647-8b5085-detect_struct_endattr.c ++++ /tmp/cocci-output-11082-c37ef4-detect_struct_endattr.c @@ -2,7 +2,6 @@ struct abcd { @@ -7355,7 +7391,7 @@ detect_struct_gccattr.res diff = --- tests/detect_struct_gccattr.c -+++ /tmp/cocci-output-128647-222c06-detect_struct_gccattr.c ++++ /tmp/cocci-output-11082-c39860-detect_struct_gccattr.c @@ -1,18 +1,15 @@ struct abcd { int a; @@ -7399,7 +7435,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/devlink.c -+++ /tmp/cocci-output-128647-bf6295-devlink.c ++++ /tmp/cocci-output-11082-23fa25-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); @@ -7425,7 +7461,7 @@ SPECIAL NAMES: adding DISJ_DECLARER0 as a declarer diff = --- tests/disj.c -+++ /tmp/cocci-output-128647-b5f0fd-disj.c ++++ /tmp/cocci-output-11082-c1902a-disj.c @@ -1,31 +1,31 @@ void f() { int disj_id0; @@ -7477,7 +7513,7 @@ disjexpr.res diff = --- tests/disjexpr.c -+++ /tmp/cocci-output-128647-6f94c2-disjexpr.c ++++ /tmp/cocci-output-11082-6b7b01-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); @@ -7486,7 +7522,7 @@ disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c -+++ /tmp/cocci-output-128647-bd1840-disjexpr_ver1.c ++++ /tmp/cocci-output-11082-95bdd4-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); @@ -7495,7 +7531,7 @@ disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c -+++ /tmp/cocci-output-128647-d704c9-disjexpr_ver2.c ++++ /tmp/cocci-output-11082-7eb6d8-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); @@ -7504,7 +7540,7 @@ disjid.res diff = --- tests/disjid.c -+++ /tmp/cocci-output-128647-0631e7-disjid.c ++++ /tmp/cocci-output-11082-3d246d-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } @@ -7518,7 +7554,7 @@ distribute.res diff = --- tests/distribute.c -+++ /tmp/cocci-output-128647-68754e-distribute.c ++++ /tmp/cocci-output-11082-9783cc-distribute.c @@ -1,4 +1,4 @@ int main(int i) { @@ -7528,7 +7564,7 @@ dotcall.res diff = --- tests/dotcall.c -+++ /tmp/cocci-output-128647-8a6acb-dotcall.c ++++ /tmp/cocci-output-11082-ff7f9f-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); @@ -7536,7 +7572,7 @@ dots_comma.res diff = --- tests/dots_comma.c -+++ /tmp/cocci-output-128647-dd173b-dots_comma.c ++++ /tmp/cocci-output-11082-a5a91f-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -7546,7 +7582,7 @@ double.res diff = --- tests/double.c -+++ /tmp/cocci-output-128647-d280c6-double.c ++++ /tmp/cocci-output-11082-15a7d4-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))) { @@ -7557,7 +7593,7 @@ double_assign.res diff = --- tests/double_assign.c -+++ /tmp/cocci-output-128647-ef6431-double_assign.c ++++ /tmp/cocci-output-11082-8deac2-double_assign.c @@ -4,6 +4,5 @@ int main() { } @@ -7568,7 +7604,7 @@ double_lines.res diff = --- tests/double_lines.c -+++ /tmp/cocci-output-128647-8fa6a5-double_lines.c ++++ /tmp/cocci-output-11082-0cec41-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); @@ -7581,7 +7617,7 @@ doubleconst.res diff = --- tests/doubleconst.c -+++ /tmp/cocci-output-128647-7a77e0-doubleconst.c ++++ /tmp/cocci-output-11082-6f6155-doubleconst.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; @@ -7590,7 +7626,7 @@ doubleconst2.res diff = --- tests/doubleconst2.c -+++ /tmp/cocci-output-128647-a844ae-doubleconst2.c ++++ /tmp/cocci-output-11082-ce67d2-doubleconst2.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; @@ -7599,7 +7635,7 @@ doubleconst4.res diff = --- tests/doubleconst4.c -+++ /tmp/cocci-output-128647-344ab3-doubleconst4.c ++++ /tmp/cocci-output-11082-a2fc8d-doubleconst4.c @@ -1,3 +1,3 @@ int main () { - char const* const ccpc = &const_obj; @@ -7608,7 +7644,7 @@ doublepos.res diff = --- tests/doublepos.c -+++ /tmp/cocci-output-128647-5f83fa-doublepos.c ++++ /tmp/cocci-output-11082-5ef421-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); @@ -7618,7 +7654,7 @@ doubleswitch.res diff = --- tests/doubleswitch.c -+++ /tmp/cocci-output-128647-3877ac-doubleswitch.c ++++ /tmp/cocci-output-11082-d6b737-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; @@ -7631,7 +7667,7 @@ doundo.res diff = --- tests/doundo.c -+++ /tmp/cocci-output-128647-621740-doundo.c ++++ /tmp/cocci-output-11082-594a42-doundo.c @@ -4,5 +4,5 @@ int main() { const s8 (*queue_priority_mapping)[2]; @@ -7642,7 +7678,7 @@ dowhile.res diff = --- tests/dowhile.c -+++ /tmp/cocci-output-128647-3e29b5-dowhile.c ++++ /tmp/cocci-output-11082-1a2ff3-dowhile.c @@ -1,7 +1,5 @@ int main() { do { @@ -7654,7 +7690,7 @@ dowhile_4.res diff = --- tests/dowhile_4.c -+++ /tmp/cocci-output-128647-07425c-dowhile_4.c ++++ /tmp/cocci-output-11082-fe82a4-dowhile_4.c @@ -2,5 +2,4 @@ int fun() { do { printf("dummy message"); @@ -7669,7 +7705,7 @@ warning: nested, node 21: statement[1,2,4,5,7,8,9] in fun may be inconsistently modified warning: nested, node 20: {3[1,2,4,5,7,8] in fun may be inconsistently modified --- tests/dowhile_for_complex.c -+++ /tmp/cocci-output-128647-3a520d-dowhile_for_complex.c ++++ /tmp/cocci-output-11082-7bce7b-dowhile_for_complex.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { @@ -7688,7 +7724,7 @@ warning: nested, node 16: do[1,2,4,5,7]* in fun may be inconsistently modified warning: nested, node 24: }3[1,2,4,5,7,8] in fun may be inconsistently modified --- tests/dowhile_nested.c -+++ /tmp/cocci-output-128647-1f44a8-dowhile_nested.c ++++ /tmp/cocci-output-11082-453bf5-dowhile_nested.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { @@ -7702,7 +7738,7 @@ dropbr.res diff = --- tests/dropbr.c -+++ /tmp/cocci-output-128647-6ad2fa-dropbr.c ++++ /tmp/cocci-output-11082-f35349-dropbr.c @@ -1,5 +1,4 @@ int main () { - if (a) { @@ -7714,7 +7750,7 @@ dropcom.res diff = --- tests/dropcom.c -+++ /tmp/cocci-output-128647-f0c31c-dropcom.c ++++ /tmp/cocci-output-11082-e48dc8-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ @@ -7729,7 +7765,7 @@ dropenderr.res diff = --- tests/dropenderr.c -+++ /tmp/cocci-output-128647-0104a0-dropenderr.c ++++ /tmp/cocci-output-11082-e389fd-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; @@ -7744,7 +7780,7 @@ dropf.res diff = --- tests/dropf.c -+++ /tmp/cocci-output-128647-c30c31-dropf.c ++++ /tmp/cocci-output-11082-63d897-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); @@ -7753,7 +7789,7 @@ dropparam.res diff = --- tests/dropparam.c -+++ /tmp/cocci-output-128647-d84304-dropparam.c ++++ /tmp/cocci-output-11082-26f7ac-dropparam.c @@ -2,11 +2,11 @@ int f(char *x, int y, char* z) { return; } @@ -7771,7 +7807,7 @@ dtest.res diff = --- tests/dtest.c -+++ /tmp/cocci-output-128647-1dc262-dtest.c ++++ /tmp/cocci-output-11082-72bccf-dtest.c @@ -1,5 +1,5 @@ int main() { struct sk_buff *e; @@ -7783,7 +7819,7 @@ SPECIAL NAMES: adding Packet as a type diff = --- tests/eb1.c -+++ /tmp/cocci-output-128647-a060b5-eb1.c ++++ /tmp/cocci-output-11082-f1264f-eb1.c @@ -1,7 +1,13 @@ int func() { int c; @@ -7802,7 +7838,7 @@ edots.res diff = --- tests/edots.c -+++ /tmp/cocci-output-128647-eb7925-edots.c ++++ /tmp/cocci-output-11082-bd4f17-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; @@ -7815,7 +7851,7 @@ edots_ver1.res diff = --- tests/edots_ver1.c -+++ /tmp/cocci-output-128647-67011b-edots_ver1.c ++++ /tmp/cocci-output-11082-609913-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; @@ -7830,7 +7866,7 @@ efi3.res diff = --- tests/efi3.c -+++ /tmp/cocci-output-128647-0541cd-efi3.c ++++ /tmp/cocci-output-11082-6d0690-efi3.c @@ -6,6 +6,6 @@ static efi_status_t virt_efi_get_time(ef goto exit; @@ -7842,7 +7878,7 @@ elsify.res diff = --- tests/elsify.c -+++ /tmp/cocci-output-128647-1abf8d-elsify.c ++++ /tmp/cocci-output-11082-86e78a-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) @@ -7856,7 +7892,7 @@ empty.res diff = --- tests/empty.c -+++ /tmp/cocci-output-128647-9e251b-empty.c ++++ /tmp/cocci-output-11082-a20376-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { @@ -7870,7 +7906,7 @@ SPECIAL NAMES: adding autofree as a attribute diff = --- tests/end_attr.c -+++ /tmp/cocci-output-128647-70c204-end_attr.c ++++ /tmp/cocci-output-11082-f430ea-end_attr.c @@ -1,10 +1,12 @@ int main() { - struct foo x autofree; @@ -7889,7 +7925,7 @@ end_commas.res diff = --- tests/end_commas.c -+++ /tmp/cocci-output-128647-9d08e8-end_commas.c ++++ /tmp/cocci-output-11082-33b848-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", @@ -7902,7 +7938,7 @@ endcolon.res diff = --- tests/endcolon.cpp -+++ /tmp/cocci-output-128647-a48e6d-endcolon.cpp ++++ /tmp/cocci-output-11082-666bb0-endcolon.cpp @@ -1,4 +1,4 @@ int main () { a::b :: c :: @@ -7915,7 +7951,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/endif.c -+++ /tmp/cocci-output-128647-3e41ab-endif.c ++++ /tmp/cocci-output-11082-7c72b8-endif.c @@ -2,18 +2,23 @@ void f(int i) { x = 1; @@ -7943,7 +7979,7 @@ endline.res diff = --- tests/endline.cpp -+++ /tmp/cocci-output-128647-576694-endline.cpp ++++ /tmp/cocci-output-11082-63f32c-endline.cpp @@ -1,4 +1,4 @@ int main() { std::vector:: @@ -7953,7 +7989,7 @@ endmodif.res diff = --- tests/endmodif.c -+++ /tmp/cocci-output-128647-1aff70-endmodif.c ++++ /tmp/cocci-output-11082-e85bff-endmodif.c @@ -1,11 +1,12 @@ -void f(void) + @@ -7997,7 +8033,7 @@ endnl.res diff = --- tests/endnl.c -+++ /tmp/cocci-output-128647-b51be6-endnl.c ++++ /tmp/cocci-output-11082-6951f3-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO @@ -8043,7 +8079,7 @@ enum.res diff = --- tests/enum.c -+++ /tmp/cocci-output-128647-4c96b8-enum.c ++++ /tmp/cocci-output-11082-a72eba-enum.c @@ -5,5 +5,5 @@ typedef enum static reg_errcode_t regex_compile () @@ -8054,7 +8090,7 @@ enum_assign.res diff = --- tests/enum_assign.c -+++ /tmp/cocci-output-128647-a7c9bc-enum_assign.c ++++ /tmp/cocci-output-11082-604827-enum_assign.c @@ -1,6 +1,7 @@ enum h { - a = 0, @@ -8068,14 +8104,14 @@ enumcast.res diff = --- tests/enumcast.c -+++ /tmp/cocci-output-128647-f98978-enumcast.c ++++ /tmp/cocci-output-11082-dd8d78-enumcast.c @@ -1 +1,2 @@ +enum{x = (int)1, }; int main() { return 12; } enumcpp.res diff = --- tests/enumcpp.cpp -+++ /tmp/cocci-output-128647-c2e8ca-enumcpp.cpp ++++ /tmp/cocci-output-11082-d0b15a-enumcpp.cpp @@ -1,32 +1,3 @@ int main() { @@ -8112,7 +8148,7 @@ enumdots.res diff = --- tests/enumdots.c -+++ /tmp/cocci-output-128647-78ad41-enumdots.c ++++ /tmp/cocci-output-11082-aed187-enumdots.c @@ -1,3 +1,2 @@ enum binder_work_type { - BINDER_WORK_TRANSACTION = 12, @@ -8126,7 +8162,7 @@ exp.res diff = --- tests/exp.c -+++ /tmp/cocci-output-128647-5c3d28-exp.c ++++ /tmp/cocci-output-11082-f7d4be-exp.c @@ -1,14 +1,14 @@ int main(int i) { @@ -8149,7 +8185,7 @@ expnest.res diff = --- tests/expnest.c -+++ /tmp/cocci-output-128647-979d33-expnest.c ++++ /tmp/cocci-output-11082-a430ec-expnest.c @@ -2,5 +2,5 @@ int main() { x = 3 + 4; x = f() + 15; @@ -8160,7 +8196,7 @@ expopt.res diff = --- tests/expopt.c -+++ /tmp/cocci-output-128647-5ba44b-expopt.c ++++ /tmp/cocci-output-11082-dfa623-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; @@ -8171,7 +8207,7 @@ expopt2.res diff = --- tests/expopt2.c -+++ /tmp/cocci-output-128647-c7fc37-expopt2.c ++++ /tmp/cocci-output-11082-bc75d6-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { @@ -8182,7 +8218,7 @@ expopt3.res diff = --- tests/expopt3.c -+++ /tmp/cocci-output-128647-7d3810-expopt3.c ++++ /tmp/cocci-output-11082-445b2e-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8194,7 +8230,7 @@ expopt3_ver1.res diff = --- tests/expopt3_ver1.c -+++ /tmp/cocci-output-128647-97e587-expopt3_ver1.c ++++ /tmp/cocci-output-11082-aac6d4-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8207,7 +8243,7 @@ expopt3_ver2.res diff = --- tests/expopt3_ver2.c -+++ /tmp/cocci-output-128647-3cb2d2-expopt3_ver2.c ++++ /tmp/cocci-output-11082-2c7d8a-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8219,7 +8255,7 @@ exprlist_comma.res diff = --- tests/exprlist_comma.c -+++ /tmp/cocci-output-128647-3190f9-exprlist_comma.c ++++ /tmp/cocci-output-11082-607664-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -8229,7 +8265,7 @@ exprun.res diff = --- tests/exprun.c -+++ /tmp/cocci-output-128647-3fcbdc-exprun.c ++++ /tmp/cocci-output-11082-eba8ee-exprun.c @@ -8,37 +8,50 @@ static void ice_dump_common_caps(struct ice_hw *hw, struct ice_hw_common_caps *caps, char const *prefix) @@ -8315,7 +8351,7 @@ failing_andany.res diff = --- tests/failing_andany.c -+++ /tmp/cocci-output-128647-173276-failing_andany.c ++++ /tmp/cocci-output-11082-c84607-failing_andany.c @@ -1,13 +1,9 @@ static int smc_probe1(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) @@ -8333,7 +8369,7 @@ far.res diff = --- tests/far.c -+++ /tmp/cocci-output-128647-87f956-far.c ++++ /tmp/cocci-output-11082-e0e34e-far.c @@ -1,7 +1,7 @@ int main(void) { @@ -8349,7 +8385,7 @@ SPECIAL NAMES: adding __counted_by as a attribute diff = --- tests/far2.c -+++ /tmp/cocci-output-128647-4c2e13-far2.c ++++ /tmp/cocci-output-11082-e7022c-far2.c @@ -1,4 +1,4 @@ struct foo { size_t element_count; @@ -8359,7 +8395,7 @@ fields.res diff = --- tests/fields.c -+++ /tmp/cocci-output-128647-2b7bd4-fields.c ++++ /tmp/cocci-output-11082-c44927-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, @@ -8372,7 +8408,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c -+++ /tmp/cocci-output-128647-403cf5-fieldsmin.c ++++ /tmp/cocci-output-11082-cb95ca-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, @@ -8383,7 +8419,7 @@ finalclass.res diff = --- tests/finalclass.cpp -+++ /tmp/cocci-output-128647-a3ee01-finalclass.cpp ++++ /tmp/cocci-output-11082-94bf6d-finalclass.cpp @@ -1,2 +1,2 @@ -class foo final { int x; }; +class foo final { int y; }; @@ -8395,7 +8431,7 @@ find_long.res diff = --- tests/find_long.c -+++ /tmp/cocci-output-128647-ddd68b-find_long.c ++++ /tmp/cocci-output-11082-0ea370-find_long.c @@ -3,8 +3,8 @@ long function() long a; int b; @@ -8411,7 +8447,7 @@ fix_flow_need.res diff = --- tests/fix_flow_need.c -+++ /tmp/cocci-output-128647-b996ef-fix_flow_need.c ++++ /tmp/cocci-output-11082-8b697f-fix_flow_need.c @@ -5,7 +5,6 @@ void main(int i) { if(1) { foo(); @@ -8423,7 +8459,7 @@ flex.res diff = --- tests/flex.c -+++ /tmp/cocci-output-128647-9948fe-flex.c ++++ /tmp/cocci-output-11082-42e638-flex.c @@ -3,5 +3,5 @@ struct scmi_msg_resp_sensor_description struct { #define SENSOR_UPDATE_BASE(x) 3 @@ -8434,7 +8470,7 @@ fn_todo.res diff = --- tests/fn_todo.c -+++ /tmp/cocci-output-128647-187ab0-fn_todo.c ++++ /tmp/cocci-output-11082-f91fa4-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; @@ -8446,7 +8482,7 @@ fnptr.res diff = --- tests/fnptr.c -+++ /tmp/cocci-output-128647-021639-fnptr.c ++++ /tmp/cocci-output-11082-d40c3f-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, @@ -8458,14 +8494,14 @@ warning: line 6: should x be a metavariable? diff = --- tests/fnret.c -+++ /tmp/cocci-output-128647-1839f7-fnret.c ++++ /tmp/cocci-output-11082-8ed04c-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c -+++ /tmp/cocci-output-128647-3c1c4f-fnty.c ++++ /tmp/cocci-output-11082-d63e36-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { @@ -8475,14 +8511,14 @@ fntypedef.res diff = --- tests/fntypedef.c -+++ /tmp/cocci-output-128647-789453-fntypedef.c ++++ /tmp/cocci-output-11082-b54750-fntypedef.c @@ -1 +1 @@ -typedef void (*toto_t)(int a, int b); +typedef void(*toto_t)(int a, int b, int c); forc.res diff = --- tests/forc.cpp -+++ /tmp/cocci-output-128647-8e20a3-forc.cpp ++++ /tmp/cocci-output-11082-4ee051-forc.cpp @@ -2,9 +2,9 @@ static void Ptngc_widediv() { while (rmask) @@ -8498,7 +8534,7 @@ fordots.res diff = --- tests/fordots.c -+++ /tmp/cocci-output-128647-4eb4aa-fordots.c ++++ /tmp/cocci-output-11082-c74e58-fordots.c @@ -1,4 +1,2 @@ int main () { - for(int i = 0; i != 12; i++) a = 2; @@ -8507,7 +8543,7 @@ format.res diff = --- tests/format.c -+++ /tmp/cocci-output-128647-ca8bd9-format.c ++++ /tmp/cocci-output-11082-bac70c-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); @@ -8523,7 +8559,7 @@ formatlist.res diff = --- tests/formatlist.c -+++ /tmp/cocci-output-128647-c313a7-formatlist.c ++++ /tmp/cocci-output-11082-45c4a0-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); @@ -8543,7 +8579,7 @@ forrange2.res diff = --- tests/forrange2.cpp -+++ /tmp/cocci-output-128647-abf6e3-forrange2.cpp ++++ /tmp/cocci-output-11082-115d00-forrange2.cpp @@ -2,9 +2,9 @@ m2n::PtrM2N M2NConfiguration::getM2N(con { using std::get; @@ -8559,7 +8595,7 @@ fortest.res diff = --- tests/fortest.c -+++ /tmp/cocci-output-128647-718df7-fortest.c ++++ /tmp/cocci-output-11082-f4ebc0-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) @@ -8599,7 +8635,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fortype.c -+++ /tmp/cocci-output-128647-961a09-fortype.c ++++ /tmp/cocci-output-11082-d48910-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) @@ -8610,7 +8646,7 @@ four.res diff = --- tests/four.c -+++ /tmp/cocci-output-128647-84f48c-four.c ++++ /tmp/cocci-output-11082-f3bdd2-four.c @@ -1,5 +1,3 @@ int main () { f(1); @@ -8620,7 +8656,7 @@ foura.res diff = --- tests/foura.c -+++ /tmp/cocci-output-128647-cbfab2-foura.c ++++ /tmp/cocci-output-11082-22351d-foura.c @@ -1,5 +1,4 @@ int main () { f(1); @@ -8630,7 +8666,7 @@ fp.res diff = --- tests/fp.c -+++ /tmp/cocci-output-128647-de68e9-fp.c ++++ /tmp/cocci-output-11082-45a50e-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); @@ -8646,7 +8682,7 @@ fptr3.res diff = --- tests/fptr3.c -+++ /tmp/cocci-output-128647-07d9cb-fptr3.c ++++ /tmp/cocci-output-11082-b49376-fptr3.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } @@ -8662,7 +8698,7 @@ fsh.res diff = --- tests/fsh.c -+++ /tmp/cocci-output-128647-183cf7-fsh.c ++++ /tmp/cocci-output-11082-17784c-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); @@ -8673,7 +8709,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/fun.c -+++ /tmp/cocci-output-128647-bebd93-fun.c ++++ /tmp/cocci-output-11082-774152-fun.c @@ -1 +1,4 @@ +struct a { + int a; @@ -8682,7 +8718,7 @@ func.res diff = --- tests/func.c -+++ /tmp/cocci-output-128647-a52b3b-func.c ++++ /tmp/cocci-output-11082-93a38c-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) @@ -8696,7 +8732,7 @@ funptr_array.res diff = --- tests/funptr_array.c -+++ /tmp/cocci-output-128647-3abae1-funptr_array.c ++++ /tmp/cocci-output-11082-f1d21e-funptr_array.c @@ -1 +1 @@ -int (*x[2])(int x); +int (*x[2])(char x); @@ -8740,7 +8776,7 @@ gadget_misc.res diff = --- tests/gadget_misc.c -+++ /tmp/cocci-output-128647-1aac0c-gadget_misc.c ++++ /tmp/cocci-output-11082-c76857-gadget_misc.c @@ -2,6 +2,5 @@ int main() { if(0) @@ -8754,7 +8790,7 @@ SPECIAL NAMES: adding double3x3 as a type diff = --- tests/gadget_ninelets_typedef.c -+++ /tmp/cocci-output-128647-dbd3eb-gadget_ninelets_typedef.c ++++ /tmp/cocci-output-11082-ed05b0-gadget_ninelets_typedef.c @@ -1,21 +1,23 @@ typedef double MyFloat; @@ -8788,7 +8824,7 @@ gadget_remove_mpi_function_calls.res diff = --- tests/gadget_remove_mpi_function_calls.c -+++ /tmp/cocci-output-128647-499441-gadget_remove_mpi_function_calls.c ++++ /tmp/cocci-output-11082-1a4b13-gadget_remove_mpi_function_calls.c @@ -2,6 +2,5 @@ int main(int argc, char **argv) { @@ -8799,7 +8835,7 @@ gadget_remove_used_fields.res diff = --- tests/gadget_remove_used_fields.c -+++ /tmp/cocci-output-128647-ea8dd1-gadget_remove_used_fields.c ++++ /tmp/cocci-output-11082-b6d37d-gadget_remove_used_fields.c @@ -1,8 +1,8 @@ -struct particle_data { int i; int j; int k; } * P ; @@ -8837,7 +8873,7 @@ SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_soa_select.c -+++ /tmp/cocci-output-128647-b83316-gadget_soa_select.c ++++ /tmp/cocci-output-11082-4145b7-gadget_soa_select.c @@ -1,5 +1,5 @@ struct sph_particle_data_soa_t { - int *Entropy; @@ -8848,7 +8884,7 @@ gadget_sorting_hook.res diff = --- tests/gadget_sorting_hook.c -+++ /tmp/cocci-output-128647-9c0ec4-gadget_sorting_hook.c ++++ /tmp/cocci-output-11082-3674bc-gadget_sorting_hook.c @@ -21,7 +21,16 @@ int main() any_sort_func(P); @@ -8873,7 +8909,7 @@ SPECIAL NAMES: adding MyFloat3 as a type diff = --- tests/gadget_triplets_typedef.c -+++ /tmp/cocci-output-128647-445062-gadget_triplets_typedef.c ++++ /tmp/cocci-output-11082-a70652-gadget_triplets_typedef.c @@ -3,6 +3,8 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -8902,7 +8938,7 @@ SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_triplets_typedef_ipcc.c -+++ /tmp/cocci-output-128647-9f2e4f-gadget_triplets_typedef_ipcc.c ++++ /tmp/cocci-output-11082-5dec8d-gadget_triplets_typedef_ipcc.c @@ -3,6 +3,7 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -8923,7 +8959,7 @@ gcc_attr_with_func.res diff = --- tests/gcc_attr_with_func.c -+++ /tmp/cocci-output-128647-bd8974-gcc_attr_with_func.c ++++ /tmp/cocci-output-11082-a89fd3-gcc_attr_with_func.c @@ -1,8 +1,8 @@ -int __attribute__((always_inline)) func (int a); +int __attribute__((always_inline)) func (); @@ -8960,7 +8996,7 @@ gcc_attr_with_var.res diff = --- tests/gcc_attr_with_var.c -+++ /tmp/cocci-output-128647-38d625-gcc_attr_with_var.c ++++ /tmp/cocci-output-11082-8509d6-gcc_attr_with_var.c @@ -1,39 +1,39 @@ -int var1_end __attribute__((myattr1_end)); +int var1_end __attribute__((section(".shared"))); @@ -9019,7 +9055,7 @@ gcc_min_max.res diff = --- tests/gcc_min_max.c -+++ /tmp/cocci-output-128647-60ba2b-gcc_min_max.c ++++ /tmp/cocci-output-11082-202f67-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { @@ -9039,7 +9075,7 @@ SPECIAL NAMES: adding PVOID as a type diff = --- tests/getc.c -+++ /tmp/cocci-output-128647-826bb3-getc.c ++++ /tmp/cocci-output-11082-9164fb-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { @@ -9049,7 +9085,7 @@ gilles-question.res diff = --- tests/gilles-question.c -+++ /tmp/cocci-output-128647-4dc5ac-gilles-question.c ++++ /tmp/cocci-output-11082-ccd864-gilles-question.c @@ -2,8 +2,6 @@ void main(int i) { f(0); @@ -9063,7 +9099,7 @@ gotobreak.res diff = --- tests/gotobreak.c -+++ /tmp/cocci-output-128647-4d019f-gotobreak.c ++++ /tmp/cocci-output-11082-70bde1-gotobreak.c @@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } @@ -9074,7 +9110,7 @@ hashhash.res diff = --- tests/hashhash.c -+++ /tmp/cocci-output-128647-4e3f77-hashhash.c ++++ /tmp/cocci-output-11082-6d3ae2-hashhash.c @@ -1,5 +1,5 @@ #define FOO(x) foo ## x @@ -9087,7 +9123,7 @@ warning: line 4: should y be a metavariable? diff = --- tests/hd.c -+++ /tmp/cocci-output-128647-6e4cb5-hd.c ++++ /tmp/cocci-output-11082-be4ecd-hd.c @@ -1,3 +1,3 @@ #include "hd.h" @@ -9096,7 +9132,7 @@ headers.res diff = --- tests/headers.c -+++ /tmp/cocci-output-128647-d50fef-headers.c ++++ /tmp/cocci-output-11082-5fed32-headers.c @@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria } @@ -9115,7 +9151,7 @@ hex.res diff = --- tests/hex.c -+++ /tmp/cocci-output-128647-180a35-hex.c ++++ /tmp/cocci-output-11082-0a3c9c-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); @@ -9124,7 +9160,7 @@ SPECIAL NAMES: adding FUNC as a initializer ending in a comma diff = --- tests/hil1.c -+++ /tmp/cocci-output-128647-058fef-hil1.c ++++ /tmp/cocci-output-11082-de2f0b-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, @@ -9149,7 +9185,7 @@ idstr.res diff = --- tests/idstr.c -+++ /tmp/cocci-output-128647-3fdf7a-idstr.c ++++ /tmp/cocci-output-11082-c8b000-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); @@ -9159,7 +9195,7 @@ diff = warning: rule starting on line 11, node 19: g(...)[1,2,4,5,6,7,8] in main1 may be inconsistently modified --- tests/if.c -+++ /tmp/cocci-output-128647-12a689-if.c ++++ /tmp/cocci-output-11082-bda466-if.c @@ -1,27 +1,37 @@ int main () { + before(); @@ -9201,7 +9237,7 @@ ifadd.res diff = --- tests/ifadd.c -+++ /tmp/cocci-output-128647-4cbabd-ifadd.c ++++ /tmp/cocci-output-11082-bfeb9f-ifadd.c @@ -3,6 +3,7 @@ int main() { if (x) { one(); @@ -9216,7 +9252,7 @@ ifd.res diff = --- tests/ifd.c -+++ /tmp/cocci-output-128647-13dca7-ifd.c ++++ /tmp/cocci-output-11082-0468c0-ifd.c @@ -1,9 +1,13 @@ int main () { one(); @@ -9234,7 +9270,7 @@ ifdef1.res diff = --- tests/ifdef1.c -+++ /tmp/cocci-output-128647-227fb3-ifdef1.c ++++ /tmp/cocci-output-11082-3ab662-ifdef1.c @@ -1,5 +1,8 @@ #include #include @@ -9247,7 +9283,7 @@ ifdef2.res diff = --- tests/ifdef2.c -+++ /tmp/cocci-output-128647-061e1c-ifdef2.c ++++ /tmp/cocci-output-11082-61493a-ifdef2.c @@ -1,6 +1,11 @@ #include #include @@ -9263,7 +9299,7 @@ ifdef3.res diff = --- tests/ifdef3.c -+++ /tmp/cocci-output-128647-ab6e8c-ifdef3.c ++++ /tmp/cocci-output-11082-fa56cf-ifdef3.c @@ -2,6 +2,15 @@ #include #include @@ -9286,7 +9322,7 @@ diff = warning: Exemple4, node 12: statement[1,2,3,4,5] in init_IRQ may be inconsistently modified --- tests/ifdef4.c -+++ /tmp/cocci-output-128647-a0dba3-ifdef4.c ++++ /tmp/cocci-output-11082-00501c-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { @@ -9302,7 +9338,7 @@ ifdef5.res diff = --- tests/ifdef5.c -+++ /tmp/cocci-output-128647-72e579-ifdef5.c ++++ /tmp/cocci-output-11082-387f22-ifdef5.c @@ -11,3 +11,11 @@ void init_IRQ(void) uselessCall(); } @@ -9318,7 +9354,7 @@ ifdef6.res diff = --- tests/ifdef6.c -+++ /tmp/cocci-output-128647-4310c4-ifdef6.c ++++ /tmp/cocci-output-11082-31d72b-ifdef6.c @@ -1,5 +1,8 @@ #include #include @@ -9331,7 +9367,7 @@ ifdef6a.res diff = --- tests/ifdef6a.c -+++ /tmp/cocci-output-128647-106c3e-ifdef6a.c ++++ /tmp/cocci-output-11082-ce55d8-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL @@ -9343,7 +9379,7 @@ ifdefmeta.res diff = --- tests/ifdefmeta.c -+++ /tmp/cocci-output-128647-47fe92-ifdefmeta.c ++++ /tmp/cocci-output-11082-48500d-ifdefmeta.c @@ -1,26 +1,22 @@ int main() { - buf = alloca(3 @@ -9396,7 +9432,7 @@ ifdefmeta1.res diff = --- tests/ifdefmeta1.c -+++ /tmp/cocci-output-128647-928a81-ifdefmeta1.c ++++ /tmp/cocci-output-11082-cb7871-ifdefmeta1.c @@ -1,17 +1,9 @@ int main() { - buf = alloca(3 @@ -9418,7 +9454,7 @@ ifdefmeta2.res diff = --- tests/ifdefmeta2.c -+++ /tmp/cocci-output-128647-bc0ec6-ifdefmeta2.c ++++ /tmp/cocci-output-11082-3835be-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 @@ -9435,7 +9471,7 @@ ifdefmeta3.res diff = --- tests/ifdefmeta3.c -+++ /tmp/cocci-output-128647-8fc167-ifdefmeta3.c ++++ /tmp/cocci-output-11082-4e44d6-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); @@ -9452,7 +9488,7 @@ ifdefmeta4.res diff = --- tests/ifdefmeta4.c -+++ /tmp/cocci-output-128647-15db60-ifdefmeta4.c ++++ /tmp/cocci-output-11082-8e462c-ifdefmeta4.c @@ -1,14 +1,12 @@ int main() { - buf = alloca(3 @@ -9476,7 +9512,7 @@ ifend.res diff = --- tests/ifend.c -+++ /tmp/cocci-output-128647-448bf4-ifend.c ++++ /tmp/cocci-output-11082-b33b52-ifend.c @@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG; #else static int vortex_debug = 1; @@ -9486,7 +9522,7 @@ ifgoto.res diff = --- tests/ifgoto.c -+++ /tmp/cocci-output-128647-4c9575-ifgoto.c ++++ /tmp/cocci-output-11082-892a40-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) @@ -9502,7 +9538,7 @@ SPECIAL NAMES: adding IFaceVtbl as a type diff = --- tests/ifields.c -+++ /tmp/cocci-output-128647-52e43f-ifields.c ++++ /tmp/cocci-output-11082-8c8512-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; @@ -9525,7 +9561,7 @@ ifif.res diff = --- tests/ifif.c -+++ /tmp/cocci-output-128647-7683fa-ifif.c ++++ /tmp/cocci-output-11082-8f425c-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 @@ -9543,7 +9579,7 @@ ifreturn.res diff = --- tests/ifreturn.c -+++ /tmp/cocci-output-128647-08bf6e-ifreturn.c ++++ /tmp/cocci-output-11082-fa7705-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { @@ -9605,7 +9641,7 @@ ifreturn3.res diff = --- tests/ifreturn3.c -+++ /tmp/cocci-output-128647-60a740-ifreturn3.c ++++ /tmp/cocci-output-11082-7fed5a-ifreturn3.c @@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code) if(iFlag_Code==OK) { return OK; @@ -9631,7 +9667,7 @@ ifreturn4.res diff = --- tests/ifreturn4.c -+++ /tmp/cocci-output-128647-1354f7-ifreturn4.c ++++ /tmp/cocci-output-11082-9480a3-ifreturn4.c @@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { @@ -9655,7 +9691,7 @@ ifreturn6.res diff = --- tests/ifreturn6.c -+++ /tmp/cocci-output-128647-7fadd3-ifreturn6.c ++++ /tmp/cocci-output-11082-2b6f3a-ifreturn6.c @@ -3,7 +3,8 @@ int main () { blah(); goto end; @@ -9669,7 +9705,7 @@ ifzer.res diff = --- tests/ifzer.c -+++ /tmp/cocci-output-128647-7e92a0-ifzer.c ++++ /tmp/cocci-output-11082-9e86fa-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). */ @@ -9680,7 +9716,7 @@ ifzz.res diff = --- tests/ifzz.c -+++ /tmp/cocci-output-128647-65e87c-ifzz.c ++++ /tmp/cocci-output-11082-f3f774-ifzz.c @@ -2,9 +2,9 @@ if 0 char c; #endif @@ -9696,7 +9732,7 @@ inc.res diff = --- tests/inc.c -+++ /tmp/cocci-output-128647-0c4b75-inc.c ++++ /tmp/cocci-output-11082-1de47a-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 @@ -9705,7 +9741,7 @@ incl.res diff = --- tests/incl.c -+++ /tmp/cocci-output-128647-9f2bc5-incl.c ++++ /tmp/cocci-output-11082-68de85-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include @@ -9718,7 +9754,7 @@ incl2.res diff = --- tests/incl2.c -+++ /tmp/cocci-output-128647-f7a11c-incl2.c ++++ /tmp/cocci-output-11082-b5de62-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include @@ -9727,7 +9763,7 @@ inclifdef.res diff = --- tests/inclifdef.c -+++ /tmp/cocci-output-128647-9b3f50-inclifdef.c ++++ /tmp/cocci-output-11082-3b6454-inclifdef.c @@ -1,4 +1,5 @@ #include +#include @@ -9737,7 +9773,7 @@ include.res diff = --- tests/include.c -+++ /tmp/cocci-output-128647-1d1856-include.c ++++ /tmp/cocci-output-11082-5b4a61-include.c @@ -1,8 +1,6 @@ #include @@ -9750,7 +9786,7 @@ incompatible_value.res diff = --- tests/incompatible_value.c -+++ /tmp/cocci-output-128647-37bc1c-incompatible_value.c ++++ /tmp/cocci-output-11082-ad3495-incompatible_value.c @@ -4,6 +4,6 @@ int main() { } @@ -9767,7 +9803,7 @@ inh1.res diff = --- tests/inh1.cpp -+++ /tmp/cocci-output-128647-365513-inh1.cpp ++++ /tmp/cocci-output-11082-a168e5-inh1.cpp @@ -1,6 +1,7 @@ // emits warning on c++ file: 5: list of length 3 or 4 expected #include @@ -9779,7 +9815,7 @@ inherited.res diff = --- tests/inherited.c -+++ /tmp/cocci-output-128647-d051fe-inherited.c ++++ /tmp/cocci-output-11082-8c96fc-inherited.c @@ -6,5 +6,5 @@ void main(int i) { h(2); h2(2); @@ -9790,7 +9826,7 @@ inherited_ver1.res diff = --- tests/inherited_ver1.c -+++ /tmp/cocci-output-128647-739d0e-inherited_ver1.c ++++ /tmp/cocci-output-11082-ba579f-inherited_ver1.c @@ -3,8 +3,8 @@ void main(int i) { //g(1); f(2); @@ -9806,7 +9842,7 @@ inhmet.res diff = --- tests/inhmet.c -+++ /tmp/cocci-output-128647-f24d77-inhmet.c ++++ /tmp/cocci-output-11082-41abe6-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; @@ -9815,7 +9851,7 @@ inhpos.res diff = --- tests/inhpos.c -+++ /tmp/cocci-output-128647-8ab04c-inhpos.c ++++ /tmp/cocci-output-11082-340db8-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); @@ -9823,7 +9859,7 @@ init3tst.res diff = --- tests/init3tst.cpp -+++ /tmp/cocci-output-128647-5f3664-init3tst.cpp ++++ /tmp/cocci-output-11082-225cc5-init3tst.cpp @@ -1,4 +1,4 @@ class TestUpperTriangle { public: @@ -9834,7 +9870,7 @@ warning: line 5: should var be a metavariable? diff = --- tests/initializer.c -+++ /tmp/cocci-output-128647-ccd623-initializer.c ++++ /tmp/cocci-output-11082-c67e5c-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, @@ -9850,14 +9886,14 @@ inline.res diff = --- tests/inline.c -+++ /tmp/cocci-output-128647-970ad2-inline.c ++++ /tmp/cocci-output-11082-ee0d61-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c -+++ /tmp/cocci-output-128647-81986c-insdef.c ++++ /tmp/cocci-output-11082-b1dec7-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include @@ -9865,7 +9901,7 @@ instruct.res diff = --- tests/instruct.cpp -+++ /tmp/cocci-output-128647-9d0832-instruct.cpp ++++ /tmp/cocci-output-11082-6480eb-instruct.cpp @@ -1,9 +1,7 @@ struct i { - using namespace foo; @@ -9886,7 +9922,7 @@ SPECIAL NAMES: adding u32 as a type diff = --- tests/int2bool-local.c -+++ /tmp/cocci-output-128647-26ea6e-int2bool-local.c ++++ /tmp/cocci-output-11082-5e3cf0-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; @@ -9929,7 +9965,7 @@ introbrace.res diff = --- tests/introbrace.c -+++ /tmp/cocci-output-128647-d3dbf9-introbrace.c ++++ /tmp/cocci-output-11082-8e272e-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) @@ -9948,7 +9984,7 @@ invert.res diff = --- tests/invert.c -+++ /tmp/cocci-output-128647-1f0af7-invert.c ++++ /tmp/cocci-output-11082-145223-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; @@ -9957,7 +9993,7 @@ ip.res diff = --- tests/ip.c -+++ /tmp/cocci-output-128647-bca98b-ip.c ++++ /tmp/cocci-output-11082-322f2c-ip.c @@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo) { if(sNoFo == 1) @@ -9986,7 +10022,7 @@ ip2.res diff = --- tests/ip2.c -+++ /tmp/cocci-output-128647-e6aaf1-ip2.c ++++ /tmp/cocci-output-11082-3447f5-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { @@ -10011,7 +10047,7 @@ isococci.res diff = --- tests/isococci.c -+++ /tmp/cocci-output-128647-75c1a2-isococci.c ++++ /tmp/cocci-output-11082-0c69c7-isococci.c @@ -1,6 +1,3 @@ void f(int i) { @@ -10024,7 +10060,7 @@ warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c -+++ /tmp/cocci-output-128647-6ea598-isoif.c ++++ /tmp/cocci-output-11082-e84ad0-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); @@ -10033,7 +10069,7 @@ isotest.res diff = --- tests/isotest.c -+++ /tmp/cocci-output-128647-1cfe2f-isotest.c ++++ /tmp/cocci-output-11082-f0ca7c-isotest.c @@ -1,7 +1,6 @@ void main(int i) { @@ -10045,7 +10081,7 @@ isotest2.res diff = --- tests/isotest2.c -+++ /tmp/cocci-output-128647-2024f7-isotest2.c ++++ /tmp/cocci-output-11082-127e3a-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { @@ -10066,7 +10102,7 @@ SPECIAL NAMES: adding list_for_each as a iterator diff = --- tests/iterator.c -+++ /tmp/cocci-output-128647-4db286-iterator.c ++++ /tmp/cocci-output-11082-b6da78-iterator.c @@ -2,9 +2,5 @@ void pcibios_report_status(u_int status_ { struct list_head *l; @@ -10082,7 +10118,7 @@ SPECIAL NAMES: adding for_each_set_bit as a iterator diff = --- tests/iterprint.c -+++ /tmp/cocci-output-128647-9dc768-iterprint.c ++++ /tmp/cocci-output-11082-f93677-iterprint.c @@ -1,6 +1,4 @@ int main () { - for(bit = 0; bit < size; bit++) { @@ -10097,7 +10133,7 @@ julia10.res diff = --- tests/julia10.c -+++ /tmp/cocci-output-128647-e575f6-julia10.c ++++ /tmp/cocci-output-11082-4f9d27-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); @@ -10109,7 +10145,7 @@ julia7.res diff = --- tests/julia7.c -+++ /tmp/cocci-output-128647-9d4e31-julia7.c ++++ /tmp/cocci-output-11082-60da73-julia7.c @@ -1,7 +1,6 @@ int main(int x) { foo(); @@ -10122,7 +10158,7 @@ justremove.res diff = --- tests/justremove.c -+++ /tmp/cocci-output-128647-d6d69e-justremove.c ++++ /tmp/cocci-output-11082-834245-justremove.c @@ -1,17 +1,6 @@ int main () { - if (x) { @@ -10144,7 +10180,7 @@ keep_comma.res diff = --- tests/keep_comma.c -+++ /tmp/cocci-output-128647-ab8b3e-keep_comma.c ++++ /tmp/cocci-output-11082-494b8d-keep_comma.c @@ -1,4 +1,4 @@ int main () { - foo(); @@ -10154,7 +10190,7 @@ km.res diff = --- tests/km.c -+++ /tmp/cocci-output-128647-ae19ec-km.c ++++ /tmp/cocci-output-11082-20395e-km.c @@ -1,5 +1,4 @@ int main() { - int *data = kmalloc(element->string.length + 1, GFP_KERNEL); @@ -10165,7 +10201,7 @@ kmalloc.res diff = --- tests/kmalloc.c -+++ /tmp/cocci-output-128647-5a1e19-kmalloc.c ++++ /tmp/cocci-output-11082-337ac3-kmalloc.c @@ -1,9 +1,7 @@ int main() { struct bar *y; @@ -10183,7 +10219,7 @@ warning: r: metavariable S not used in the - or context code diff = --- tests/kmc.c -+++ /tmp/cocci-output-128647-5a16dd-kmc.c ++++ /tmp/cocci-output-11082-a53301-kmc.c @@ -10,5 +10,4 @@ dmabounce_register_dev(struct device *de err_destroy: @@ -10193,7 +10229,7 @@ kmtest4.res diff = --- tests/kmtest4.c -+++ /tmp/cocci-output-128647-2d67bd-kmtest4.c ++++ /tmp/cocci-output-11082-696945-kmtest4.c @@ -1,4 +1,4 @@ int main () { x = kzalloc(3); @@ -10206,7 +10242,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/ktype.c -+++ /tmp/cocci-output-128647-ef2bbe-ktype.c ++++ /tmp/cocci-output-11082-070664-ktype.c @@ -3,8 +3,6 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -10222,7 +10258,7 @@ warning: r: metavariable T not used in the - or context code diff = --- tests/ktype2.c -+++ /tmp/cocci-output-128647-d5f4d2-ktype2.c ++++ /tmp/cocci-output-11082-dba229-ktype2.c @@ -3,11 +3,8 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -10239,7 +10275,7 @@ labels_metastatement.res diff = --- tests/labels_metastatement.c -+++ /tmp/cocci-output-128647-c6be73-labels_metastatement.c ++++ /tmp/cocci-output-11082-787f2c-labels_metastatement.c @@ -1,9 +1,15 @@ int foo(int i) { @@ -10262,7 +10298,7 @@ labels_metastatement_ver1.res diff = --- tests/labels_metastatement_ver1.c -+++ /tmp/cocci-output-128647-a829ab-labels_metastatement_ver1.c ++++ /tmp/cocci-output-11082-89cc97-labels_metastatement_ver1.c @@ -1,5 +1,9 @@ int foo(int i) { @@ -10277,7 +10313,7 @@ lessone.res diff = --- tests/lessone.c -+++ /tmp/cocci-output-128647-72a731-lessone.c ++++ /tmp/cocci-output-11082-72a6cd-lessone.c @@ -1,4 +1,4 @@ int min() { - return 2.56 < 1; @@ -10291,7 +10327,7 @@ lid.res diff = --- tests/lid.c -+++ /tmp/cocci-output-128647-155719-lid.c ++++ /tmp/cocci-output-11082-2939f1-lid.c @@ -1,6 +1,6 @@ int main () { int a; @@ -10303,7 +10339,7 @@ line_before_last.res diff = --- tests/line_before_last.c -+++ /tmp/cocci-output-128647-f757d0-line_before_last.c ++++ /tmp/cocci-output-11082-0b2e4e-line_before_last.c @@ -1,17 +1,13 @@ int main () { - foo(); @@ -10325,7 +10361,7 @@ lineseq.res diff = --- tests/lineseq.c -+++ /tmp/cocci-output-128647-0c6582-lineseq.c ++++ /tmp/cocci-output-11082-f17af1-lineseq.c @@ -1,6 +1,4 @@ int main () { - one(); @@ -10338,7 +10374,7 @@ list_initialization.res diff = --- tests/list_initialization.cpp -+++ /tmp/cocci-output-128647-6e68b4-list_initialization.cpp ++++ /tmp/cocci-output-11082-91624b-list_initialization.cpp @@ -1,4 +1,3 @@ int main() { @@ -10368,7 +10404,7 @@ warning: line 86: should b be a metavariable? diff = --- tests/list_test.c -+++ /tmp/cocci-output-128647-7650f7-list_test.c ++++ /tmp/cocci-output-11082-d829e7-list_test.c @@ -1,55 +1,53 @@ int main () { - f(a); @@ -10567,14 +10603,14 @@ local.res diff = --- tests/local.c -+++ /tmp/cocci-output-128647-6ad766-local.c ++++ /tmp/cocci-output-11082-013069-local.c @@ -1 +1 @@ -int f(int xx, int yy) { return 0; } +int f(int a, int b, int yy) { return 0; } local_macro_fn_def_and_call.res diff = --- tests/local_macro_fn_def_and_call.cpp -+++ /tmp/cocci-output-128647-2e36af-local_macro_fn_def_and_call.cpp ++++ /tmp/cocci-output-11082-b0490a-local_macro_fn_def_and_call.cpp @@ -1,11 +1,9 @@ void f(void) { #define SEMICOLON() ; @@ -10590,7 +10626,7 @@ localglobal.res diff = --- tests/localglobal.c -+++ /tmp/cocci-output-128647-749ec4-localglobal.c ++++ /tmp/cocci-output-11082-abe45a-localglobal.c @@ -3,5 +3,5 @@ int a; int main(int b) { int c; @@ -10601,7 +10637,7 @@ localid.res diff = --- tests/localid.c -+++ /tmp/cocci-output-128647-e1d27e-localid.c ++++ /tmp/cocci-output-11082-761c9c-localid.c @@ -2,8 +2,7 @@ int c; int main () { @@ -10616,7 +10652,7 @@ localmacroparams.res diff = --- tests/localmacroparams.c -+++ /tmp/cocci-output-128647-87a78f-localmacroparams.c ++++ /tmp/cocci-output-11082-df0ed4-localmacroparams.c @@ -1,2 +1,2 @@ -#define fn1(x) f(x) -#define fn2(x) f(y) @@ -10625,7 +10661,7 @@ log.res diff = --- tests/log.c -+++ /tmp/cocci-output-128647-a750b7-log.c ++++ /tmp/cocci-output-11082-6a63c0-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { @@ -10635,7 +10671,7 @@ long.res diff = --- tests/long.c -+++ /tmp/cocci-output-128647-4bb181-long.c ++++ /tmp/cocci-output-11082-46bdd2-long.c @@ -1,4 +1,4 @@ int main () { - hello_world("this is a very long sentence. this is a very long sentence. ", @@ -10646,7 +10682,7 @@ longconst.res diff = --- tests/longconst.c -+++ /tmp/cocci-output-128647-9ba488-longconst.c ++++ /tmp/cocci-output-11082-747826-longconst.c @@ -2,18 +2,18 @@ long function1() { long a; @@ -10683,7 +10719,7 @@ warning: line 5: should a be a metavariable? diff = --- tests/longline2.c -+++ /tmp/cocci-output-128647-d9cd41-longline2.c ++++ /tmp/cocci-output-11082-46719f-longline2.c @@ -1,8 +1,16 @@ int main() { - f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a,shdkjsdsdhkjsa,x,y,z); @@ -10708,7 +10744,7 @@ longlong.res diff = --- tests/longlong.c -+++ /tmp/cocci-output-128647-b8d6ec-longlong.c ++++ /tmp/cocci-output-11082-4f44e4-longlong.c @@ -1,6 +1,6 @@ -long long a; +int a; @@ -10721,7 +10757,7 @@ longlongint.res diff = --- tests/longlongint.c -+++ /tmp/cocci-output-128647-fc7269-longlongint.c ++++ /tmp/cocci-output-11082-cbbd56-longlongint.c @@ -1,9 +1,3 @@ int main() { - unsigned int x; @@ -10735,7 +10771,7 @@ loop.res diff = --- tests/loop.c -+++ /tmp/cocci-output-128647-e189ec-loop.c ++++ /tmp/cocci-output-11082-538d1d-loop.c @@ -1,5 +1,3 @@ int main() { - f(); @@ -10746,7 +10782,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/lvalue.c -+++ /tmp/cocci-output-128647-fbf759-lvalue.c ++++ /tmp/cocci-output-11082-ba656a-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; @@ -10758,7 +10794,7 @@ SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/macro.c -+++ /tmp/cocci-output-128647-0d75c8-macro.c ++++ /tmp/cocci-output-11082-de96ec-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))) @@ -10770,7 +10806,7 @@ macro_before_bool.res diff = --- tests/macro_before_bool.c -+++ /tmp/cocci-output-128647-6c35e8-macro_before_bool.c ++++ /tmp/cocci-output-11082-e74024-macro_before_bool.c @@ -1,4 +1,5 @@ static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) { @@ -10780,7 +10816,7 @@ macro_int16.res diff = --- tests/macro_int16.c -+++ /tmp/cocci-output-128647-74acad-macro_int16.c ++++ /tmp/cocci-output-11082-5ef908-macro_int16.c @@ -4,6 +4,6 @@ void main(void) { @@ -10792,7 +10828,7 @@ macro_params.res diff = --- tests/macro_params.c -+++ /tmp/cocci-output-128647-2f9bbd-macro_params.c ++++ /tmp/cocci-output-11082-c782ed-macro_params.c @@ -5,9 +5,9 @@ int main(int argc, char **argv) { @@ -10808,7 +10844,7 @@ macro_stmt_when_fn_type.res diff = --- tests/macro_stmt_when_fn_type.cpp -+++ /tmp/cocci-output-128647-a8caec-macro_stmt_when_fn_type.cpp ++++ /tmp/cocci-output-11082-da9d63-macro_stmt_when_fn_type.cpp @@ -1,4 +1,3 @@ -#define APPLY_FOR_ROLE return; #define APPLY_FOR_ROLE_HINT MACROSTATEMENT @@ -10817,7 +10853,7 @@ match_init.res diff = --- tests/match_init.c -+++ /tmp/cocci-output-128647-e8c65e-match_init.c ++++ /tmp/cocci-output-11082-79e3b8-match_init.c @@ -1,15 +1,15 @@ int probably_works () { - int x = 3; @@ -10840,7 +10876,7 @@ match_no_meta.res diff = --- tests/match_no_meta.c -+++ /tmp/cocci-output-128647-cae297-match_no_meta.c ++++ /tmp/cocci-output-11082-6e7c47-match_no_meta.c @@ -2,6 +2,4 @@ void main(int i) { foo(1); @@ -10853,7 +10889,7 @@ warning: line 14: should i be a metavariable? diff = --- tests/max.c -+++ /tmp/cocci-output-128647-44ad4d-max.c ++++ /tmp/cocci-output-11082-415313-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; @@ -10862,7 +10898,7 @@ md1.res diff = --- tests/md1.c -+++ /tmp/cocci-output-128647-01b6d7-md1.c ++++ /tmp/cocci-output-11082-382a37-md1.c @@ -1,9 +1,11 @@ struct main { - int a; @@ -10883,7 +10919,7 @@ md2.res diff = --- tests/md2.c -+++ /tmp/cocci-output-128647-bb8edc-md2.c ++++ /tmp/cocci-output-11082-0d035e-md2.c @@ -1,11 +1,13 @@ int main() { - int a; @@ -10906,7 +10942,7 @@ md3.res diff = --- tests/md3.c -+++ /tmp/cocci-output-128647-6cf4d8-md3.c ++++ /tmp/cocci-output-11082-c2df04-md3.c @@ -1,5 +1,5 @@ struct s_t { - double one[3]; @@ -10917,7 +10953,7 @@ mdadd.res diff = --- tests/mdadd.c -+++ /tmp/cocci-output-128647-61bd8a-mdadd.c ++++ /tmp/cocci-output-11082-e6dfbb-mdadd.c @@ -1,3 +1,5 @@ int main () { - int a,b,c; @@ -10928,7 +10964,7 @@ mdec.res diff = --- tests/mdec.c -+++ /tmp/cocci-output-128647-2fe49b-mdec.c ++++ /tmp/cocci-output-11082-70fe18-mdec.c @@ -1,23 +1,26 @@ int main () { - int a, b, c, d; @@ -10993,7 +11029,7 @@ mdeclrep.res diff = --- tests/mdeclrep.c -+++ /tmp/cocci-output-128647-92cf6e-mdeclrep.c ++++ /tmp/cocci-output-11082-15b164-mdeclrep.c @@ -1,19 +1,22 @@ int main () { - int a,x,c; @@ -11024,7 +11060,7 @@ mdindex.res diff = --- tests/mdindex.c -+++ /tmp/cocci-output-128647-8b9546-mdindex.c ++++ /tmp/cocci-output-11082-c34851-mdindex.c @@ -1,5 +1,5 @@ int main() { @@ -11036,7 +11072,7 @@ memory.res diff = --- tests/memory.c -+++ /tmp/cocci-output-128647-27678b-memory.c ++++ /tmp/cocci-output-11082-dd0f5e-memory.c @@ -2,6 +2,5 @@ int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) @@ -11053,7 +11089,7 @@ SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/metaattr.c -+++ /tmp/cocci-output-128647-09fd9c-metaattr.c ++++ /tmp/cocci-output-11082-e7de48-metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; @@ -11066,7 +11102,7 @@ warning: line 43: x, previously declared as a metavariable, is used as an identifier diff = --- tests/metaline.c -+++ /tmp/cocci-output-128647-c3cb41-metaline.c ++++ /tmp/cocci-output-11082-57b6be-metaline.c @@ -1,9 +1,8 @@ int main () { - static int x; @@ -11084,7 +11120,7 @@ metaops.res diff = --- tests/metaops.c -+++ /tmp/cocci-output-128647-99f476-metaops.c ++++ /tmp/cocci-output-11082-4a4ce4-metaops.c @@ -2,24 +2,24 @@ int p1() { int x = 0; int y = 1; @@ -11160,7 +11196,7 @@ metaops0.res diff = --- tests/metaops0.c -+++ /tmp/cocci-output-128647-432f32-metaops0.c ++++ /tmp/cocci-output-11082-f9156b-metaops0.c @@ -1,44 +1,11 @@ int p1() { - int x = 0; @@ -11209,7 +11245,7 @@ metaruleelem.res diff = --- tests/metaruleelem.c -+++ /tmp/cocci-output-128647-0f6269-metaruleelem.c ++++ /tmp/cocci-output-11082-498d74-metaruleelem.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -11222,7 +11258,7 @@ metastatement2.res diff = --- tests/metastatement2.c -+++ /tmp/cocci-output-128647-d321f6-metastatement2.c ++++ /tmp/cocci-output-11082-827217-metastatement2.c @@ -1,6 +1,5 @@ void main(int i) { @@ -11233,7 +11269,7 @@ metastatement_for.res diff = --- tests/metastatement_for.c -+++ /tmp/cocci-output-128647-f4812d-metastatement_for.c ++++ /tmp/cocci-output-11082-499997-metastatement_for.c @@ -1,9 +1,6 @@ void main(void) { @@ -11247,7 +11283,7 @@ metastatement_if.res diff = --- tests/metastatement_if.c -+++ /tmp/cocci-output-128647-0dd526-metastatement_if.c ++++ /tmp/cocci-output-11082-0389e6-metastatement_if.c @@ -5,8 +5,4 @@ void main(void) printf("%d", i); } @@ -11260,7 +11296,7 @@ mincom.res diff = --- tests/mincom.c -+++ /tmp/cocci-output-128647-a7811a-mincom.c ++++ /tmp/cocci-output-11082-f8be27-mincom.c @@ -1,5 +1,7 @@ int main () { - if (rc == LS_NONE_FIRST_DE) @@ -11274,14 +11310,14 @@ minenum.res diff = --- tests/minenum.c -+++ /tmp/cocci-output-128647-5a7242-minenum.c ++++ /tmp/cocci-output-11082-282ff7-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-128647-04b0e2-minenum1.c ++++ /tmp/cocci-output-11082-070088-minenum1.c @@ -1,2 +1,2 @@ -enum h { x, a, z, +enum h { x, qq, @@ -11289,7 +11325,7 @@ minfn.res diff = --- tests/minfn.c -+++ /tmp/cocci-output-128647-a76503-minfn.c ++++ /tmp/cocci-output-11082-6a161b-minfn.c @@ -1,13 +1,5 @@ int main () { return first; } @@ -11307,7 +11343,7 @@ mini_null_ref.res diff = --- tests/mini_null_ref.c -+++ /tmp/cocci-output-128647-d38766-mini_null_ref.c ++++ /tmp/cocci-output-11082-89f3cb-mini_null_ref.c @@ -2,11 +2,12 @@ static int __devinit w90p910_keypad_prob { const struct w90p910_keypad_platform_data *pdata = @@ -11325,7 +11361,7 @@ miniclass.res diff = --- tests/miniclass.cpp -+++ /tmp/cocci-output-128647-186a1c-miniclass.cpp ++++ /tmp/cocci-output-11082-aa57de-miniclass.cpp @@ -1,28 +1,28 @@ class foo { @@ -11371,7 +11407,7 @@ miniswap.res diff = --- tests/miniswap.c -+++ /tmp/cocci-output-128647-80ea46-miniswap.c ++++ /tmp/cocci-output-11082-5df2d0-miniswap.c @@ -1,5 +1,5 @@ static void swap_refcount_rec(void *a, void *b, int size) { @@ -11382,7 +11418,7 @@ minstruct.res diff = --- tests/minstruct.c -+++ /tmp/cocci-output-128647-54ae73-minstruct.c ++++ /tmp/cocci-output-11082-8c9285-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", @@ -11395,7 +11431,7 @@ minusdots.res diff = --- tests/minusdots.c -+++ /tmp/cocci-output-128647-496792-minusdots.c ++++ /tmp/cocci-output-11082-4cfcfa-minusdots.c @@ -1,9 +1,2 @@ void main(int i) { - @@ -11409,7 +11445,7 @@ minusdots_ver1.res diff = --- tests/minusdots_ver1.c -+++ /tmp/cocci-output-128647-76e3cf-minusdots_ver1.c ++++ /tmp/cocci-output-11082-6cd776-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - @@ -11420,7 +11456,7 @@ move_type.res diff = --- tests/move_type.c -+++ /tmp/cocci-output-128647-333a85-move_type.c ++++ /tmp/cocci-output-11082-75d55f-move_type.c @@ -1,6 +1,6 @@ int main() { - int x; @@ -11432,7 +11468,7 @@ multi.res diff = --- tests/multi.c -+++ /tmp/cocci-output-128647-7f1731-multi.c ++++ /tmp/cocci-output-11082-888183-multi.c @@ -3,4 +3,5 @@ int main() { g(1); g(1); @@ -11449,7 +11485,7 @@ warning: line 4: should ab be a metavariable? diff = --- tests/multichars.c -+++ /tmp/cocci-output-128647-ac2088-multichars.c ++++ /tmp/cocci-output-11082-20d911-multichars.c @@ -1,5 +1,5 @@ int main () { - f('XYZ',ab); @@ -11462,7 +11498,7 @@ multidec.res diff = --- tests/multidec.c -+++ /tmp/cocci-output-128647-53e4c7-multidec.c ++++ /tmp/cocci-output-11082-0c430e-multidec.c @@ -1,11 +1,6 @@ int main () { int x = 3,z; @@ -11479,7 +11515,7 @@ multidecl3.res diff = --- tests/multidecl3.c -+++ /tmp/cocci-output-128647-d05716-multidecl3.c ++++ /tmp/cocci-output-11082-6b273d-multidecl3.c @@ -1,17 +1,13 @@ int main () { - int *i, i[12], i, k, r; @@ -11503,7 +11539,7 @@ multipath.res diff = --- tests/multipath.c -+++ /tmp/cocci-output-128647-1b8b79-multipath.c ++++ /tmp/cocci-output-11082-8709bc-multipath.c @@ -2,8 +2,8 @@ static void multipathd(struct md_thread { for (;;) { @@ -11519,7 +11555,7 @@ warning: rule starting on line 3: metavariable T not used in the - or context code diff = --- tests/multiplus.c -+++ /tmp/cocci-output-128647-2f30fb-multiplus.c ++++ /tmp/cocci-output-11082-541d03-multiplus.c @@ -1,4 +1,4 @@ -static void xm_link_timer(void *arg) +static void xm_link_timer(struct work_struct *work) @@ -11529,7 +11565,7 @@ multiremove.res diff = --- tests/multiremove.c -+++ /tmp/cocci-output-128647-b600ef-multiremove.c ++++ /tmp/cocci-output-11082-198cdf-multiremove.c @@ -1,8 +1,5 @@ int main () { if (x) { xyz1(); } @@ -11542,7 +11578,7 @@ multistruct.res diff = --- tests/multistruct.c -+++ /tmp/cocci-output-128647-aaa27d-multistruct.c ++++ /tmp/cocci-output-11082-dbda50-multistruct.c @@ -1,5 +1,3 @@ -struct one x; @@ -11552,7 +11588,7 @@ multitype.res diff = --- tests/multitype.c -+++ /tmp/cocci-output-128647-efa519-multitype.c ++++ /tmp/cocci-output-11082-eab95b-multitype.c @@ -3,5 +3,5 @@ typedef struct foo { int a; } foo_t; int main() { foo_t * x; @@ -11564,7 +11600,7 @@ warning: non_delayed_fn: metavariable T not used in the - or context code diff = --- tests/multitypedef.c -+++ /tmp/cocci-output-128647-d872ea-multitypedef.c ++++ /tmp/cocci-output-11082-55bbed-multitypedef.c @@ -5,5 +5,5 @@ typedef struct HYSDN_CARD { int ergo_inithardware(hysdn_card * card) @@ -11575,7 +11611,7 @@ multivars.res diff = --- tests/multivars.c -+++ /tmp/cocci-output-128647-150a37-multivars.c ++++ /tmp/cocci-output-11082-c94c21-multivars.c @@ -1,5 +1,5 @@ void main(int i) { @@ -11590,7 +11626,7 @@ warning: line 4: should kfree be a metavariable? diff = --- tests/mv.c -+++ /tmp/cocci-output-128647-d2b7d9-mv.c ++++ /tmp/cocci-output-11082-ff756b-mv.c @@ -1,4 +1,4 @@ int main() { - u8 *xxx __free(kfree); @@ -11600,7 +11636,7 @@ na.res diff = --- tests/na.c -+++ /tmp/cocci-output-128647-437622-na.c ++++ /tmp/cocci-output-11082-daa5b4-na.c @@ -4,10 +4,10 @@ void foo() { int i; @@ -11619,7 +11655,7 @@ nameless.res diff = --- tests/nameless.c -+++ /tmp/cocci-output-128647-b4ec13-nameless.c ++++ /tmp/cocci-output-11082-602c71-nameless.c @@ -1,6 +1,6 @@ typedef union { int foo; @@ -11637,7 +11673,7 @@ warning: rule starting on line 12, node 14: statement[1,2,4,5,7] in info_func may be inconsistently modified warning: rule starting on line 12, node 13: statement[1,2,4,5,6] in info_func may be inconsistently modified --- tests/nest.c -+++ /tmp/cocci-output-128647-508e4a-nest.c ++++ /tmp/cocci-output-11082-bcda6b-nest.c @@ -1,7 +1,7 @@ void info_func(int i) { foo(); @@ -11651,7 +11687,7 @@ nestadd.res diff = --- tests/nestadd.c -+++ /tmp/cocci-output-128647-168679-nestadd.c ++++ /tmp/cocci-output-11082-289c40-nestadd.c @@ -1,3 +1,12 @@ int main() { foo(); @@ -11669,7 +11705,7 @@ warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c -+++ /tmp/cocci-output-128647-565891-nestone.c ++++ /tmp/cocci-output-11082-f657f5-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} @@ -11678,7 +11714,7 @@ nestseq.res diff = --- tests/nestseq.c -+++ /tmp/cocci-output-128647-587c39-nestseq.c ++++ /tmp/cocci-output-11082-d4c6b2-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); @@ -11688,7 +11724,7 @@ neststruct.res diff = --- tests/neststruct.c -+++ /tmp/cocci-output-128647-9e58a5-neststruct.c ++++ /tmp/cocci-output-11082-f37b98-neststruct.c @@ -8,6 +8,6 @@ struct usb_hub { static int hub_configure(struct usb_hub *hub) @@ -11702,7 +11738,7 @@ newsimple.res diff = --- tests/newsimple.cpp -+++ /tmp/cocci-output-128647-d440fc-newsimple.cpp ++++ /tmp/cocci-output-11082-9dc357-newsimple.cpp @@ -1,6 +1,6 @@ int main() { @@ -11715,7 +11751,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/nl.c -+++ /tmp/cocci-output-128647-e65e2c-nl.c ++++ /tmp/cocci-output-11082-6f5c3f-nl.c @@ -1,4 +1,4 @@ int main() { - if (x) return; @@ -11726,7 +11762,7 @@ noa.res diff = --- tests/noa.c -+++ /tmp/cocci-output-128647-df589c-noa.c ++++ /tmp/cocci-output-11082-b98d96-noa.c @@ -2,6 +2,6 @@ int main () { if (x) { a(); } else { a(); } } @@ -11739,7 +11775,7 @@ SPECIAL NAMES: adding gfp_t as a type diff = --- tests/nocast.c -+++ /tmp/cocci-output-128647-763505-nocast.c ++++ /tmp/cocci-output-11082-d91fce-nocast.c @@ -1,4 +1,4 @@ -int main (unsigned int __nocast gfp_mask, int x) { +int main (gfp_t gfp_mask, int x) { @@ -11749,7 +11785,7 @@ noexcept.res diff = --- tests/noexcept.cpp -+++ /tmp/cocci-output-128647-1a7b7b-noexcept.cpp ++++ /tmp/cocci-output-11082-c28d7a-noexcept.cpp @@ -1,9 +1,9 @@ -void foo() noexcept {} +void bar() noexcept {} @@ -11766,7 +11802,7 @@ noret.res diff = --- tests/noret.c -+++ /tmp/cocci-output-128647-49ae92-noret.c ++++ /tmp/cocci-output-11082-ff0f8e-noret.c @@ -1,18 +1,18 @@ -main (int x); -static xmain (int x); @@ -11798,7 +11834,7 @@ not.res diff = --- tests/not.c -+++ /tmp/cocci-output-128647-d43573-not.c ++++ /tmp/cocci-output-11082-d91ff8-not.c @@ -1,9 +1,9 @@ int main() { int x; @@ -11815,7 +11851,7 @@ notest.res diff = --- tests/notest.c -+++ /tmp/cocci-output-128647-317d16-notest.c ++++ /tmp/cocci-output-11082-ea1300-notest.c @@ -1,6 +1,6 @@ int main() { struct foo *x; @@ -11829,7 +11865,7 @@ warning: line 6: should false be a metavariable? diff = --- tests/notnot.c -+++ /tmp/cocci-output-128647-356b59-notnot.c ++++ /tmp/cocci-output-11082-38557a-notnot.c @@ -1,4 +1,4 @@ bool foo(int bar) { @@ -11839,7 +11875,7 @@ notpp.res diff = --- tests/notpp.cpp -+++ /tmp/cocci-output-128647-3fe89d-notpp.cpp ++++ /tmp/cocci-output-11082-974f8a-notpp.cpp @@ -1,4 +1,4 @@ void main () { - if (not m2n->usesTwoLevelInitialization()) @@ -11849,7 +11885,7 @@ noty.res diff = --- tests/noty.c -+++ /tmp/cocci-output-128647-bc31bd-noty.c ++++ /tmp/cocci-output-11082-e24d38-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } @@ -11858,7 +11894,7 @@ noty2.res diff = --- tests/noty2.c -+++ /tmp/cocci-output-128647-1351a8-noty2.c ++++ /tmp/cocci-output-11082-4ca4f5-noty2.c @@ -1,14 +1,11 @@ main () { - foo(); @@ -11878,7 +11914,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/null_bool.c -+++ /tmp/cocci-output-128647-0ce6fe-null_bool.c ++++ /tmp/cocci-output-11082-4edae1-null_bool.c @@ -1,8 +1,8 @@ int main () { - if (x != NULL) return; @@ -11895,7 +11931,7 @@ null_type.res diff = --- tests/null_type.c -+++ /tmp/cocci-output-128647-1a5cbe-null_type.c ++++ /tmp/cocci-output-11082-f9b9bf-null_type.c @@ -2,7 +2,7 @@ int main(int i) { int *x; @@ -11910,7 +11946,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/oddifdef.c -+++ /tmp/cocci-output-128647-80cdd4-oddifdef.c ++++ /tmp/cocci-output-11082-0fc5b1-oddifdef.c @@ -7,9 +7,7 @@ void one () { a = 5; @@ -11943,7 +11979,7 @@ of.res diff = --- tests/of.c -+++ /tmp/cocci-output-128647-bc6966-of.c ++++ /tmp/cocci-output-11082-365237-of.c @@ -1,16 +1,20 @@ static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { @@ -11970,7 +12006,7 @@ oneline.res diff = --- tests/oneline.c -+++ /tmp/cocci-output-128647-73f952-oneline.c ++++ /tmp/cocci-output-11082-1ce5d5-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); @@ -11981,7 +12017,7 @@ op.res diff = --- tests/op.c -+++ /tmp/cocci-output-128647-ae0cb8-op.c ++++ /tmp/cocci-output-11082-8284c6-op.c @@ -1,5 +1,4 @@ int main () { - return 3; @@ -11992,7 +12028,7 @@ opt.res diff = --- tests/opt.c -+++ /tmp/cocci-output-128647-bd4726-opt.c ++++ /tmp/cocci-output-11082-2c7734-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); @@ -12000,7 +12036,7 @@ optional_qualifier.res diff = --- tests/optional_qualifier.c -+++ /tmp/cocci-output-128647-7de2a3-optional_qualifier.c ++++ /tmp/cocci-output-11082-fc6ad9-optional_qualifier.c @@ -1,2 +1,2 @@ -int a; +const int a; @@ -12008,7 +12044,7 @@ optional_storage.res diff = --- tests/optional_storage.c -+++ /tmp/cocci-output-128647-cba3b8-optional_storage.c ++++ /tmp/cocci-output-11082-7e3db0-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) @@ -12018,7 +12054,7 @@ orexp.res diff = --- tests/orexp.c -+++ /tmp/cocci-output-128647-1c90b2-orexp.c ++++ /tmp/cocci-output-11082-37cb72-orexp.c @@ -1,3 +1,3 @@ int main() { - bar(12+12); @@ -12033,7 +12069,7 @@ warning: xxx: metavariable f not used in the - or context code diff = --- tests/overshoot.c -+++ /tmp/cocci-output-128647-83ba74-overshoot.c ++++ /tmp/cocci-output-11082-a5cbe2-overshoot.c @@ -1,9 +1,8 @@ int main () { a(); @@ -12053,7 +12089,7 @@ warning: line 20: should errp be a metavariable? diff = --- tests/p1p2.c -+++ /tmp/cocci-output-128647-53bc63-p1p2.c ++++ /tmp/cocci-output-11082-7e48e9-p1p2.c @@ -1,3 +1,3 @@ -int main(int x, Error **errp); +int __attribute__((nonnull(1))) main(int x, Error **errp); @@ -12063,7 +12099,7 @@ p9.res diff = --- tests/p9.c -+++ /tmp/cocci-output-128647-0f0788-p9.c ++++ /tmp/cocci-output-11082-42c1cb-p9.c @@ -1,3 +1,3 @@ -int f(int, int, int x) { +int f(int v0, int v1, int x) { @@ -12072,7 +12108,7 @@ pa.res diff = --- tests/pa.c -+++ /tmp/cocci-output-128647-0b3f25-pa.c ++++ /tmp/cocci-output-11082-1b9956-pa.c @@ -4,7 +4,8 @@ char *parse_args(const char *doing, unsigned num, s16 min_level, @@ -12087,7 +12123,7 @@ param.res diff = --- tests/param.c -+++ /tmp/cocci-output-128647-a0b85f-param.c ++++ /tmp/cocci-output-11082-66e3f3-param.c @@ -1 +1 @@ -void foo() { return; } + @@ -12096,7 +12132,7 @@ warning: line 14: should y be a metavariable? diff = --- tests/param_end.c -+++ /tmp/cocci-output-128647-354d8c-param_end.c ++++ /tmp/cocci-output-11082-17e481-param_end.c @@ -1,15 +1,15 @@ -int one (int x) { return; } +int one () { return; } @@ -12124,7 +12160,7 @@ param_to_exp.res diff = --- tests/param_to_exp.c -+++ /tmp/cocci-output-128647-1984f8-param_to_exp.c ++++ /tmp/cocci-output-11082-75a74f-param_to_exp.c @@ -1,3 +1,4 @@ int main (int x, int y) { + foo(x, y); @@ -12133,14 +12169,14 @@ param_ver1.res diff = --- tests/param_ver1.c -+++ /tmp/cocci-output-128647-7832a6-param_ver1.c ++++ /tmp/cocci-output-11082-281852-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c -+++ /tmp/cocci-output-128647-412ab7-parameters_dots.c ++++ /tmp/cocci-output-11082-592530-parameters_dots.c @@ -1,7 +1,3 @@ void main(int i) { - @@ -12152,7 +12188,7 @@ parenmac.res diff = --- tests/parenmac.c -+++ /tmp/cocci-output-128647-924d32-parenmac.c ++++ /tmp/cocci-output-11082-abe0ab-parenmac.c @@ -1 +1 @@ -#define TXSSZ(val) (val<<4) +#define TXSSZ(val) ((val)<<4) @@ -12160,7 +12196,7 @@ warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/partial.c -+++ /tmp/cocci-output-128647-1c9f8b-partial.c ++++ /tmp/cocci-output-11082-affefa-partial.c @@ -1,3 +1,3 @@ #define CS_THIS_MODULE THIS_MODULE, #define CS_OWNER owner: @@ -12169,7 +12205,7 @@ partialmd.res diff = --- tests/partialmd.c -+++ /tmp/cocci-output-128647-ba25f5-partialmd.c ++++ /tmp/cocci-output-11082-e268e2-partialmd.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12179,7 +12215,7 @@ partialmd2.res diff = --- tests/partialmd2.c -+++ /tmp/cocci-output-128647-9036c5-partialmd2.c ++++ /tmp/cocci-output-11082-c677fb-partialmd2.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12189,7 +12225,7 @@ partialmd3.res diff = --- tests/partialmd3.c -+++ /tmp/cocci-output-128647-4f4ecc-partialmd3.c ++++ /tmp/cocci-output-11082-0c2275-partialmd3.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12200,7 +12236,7 @@ warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type.c -+++ /tmp/cocci-output-128647-0c68b6-pb_distribute_type.c ++++ /tmp/cocci-output-11082-eb6c80-pb_distribute_type.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12224,7 +12260,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2.c -+++ /tmp/cocci-output-128647-ebd6a0-pb_distribute_type2.c ++++ /tmp/cocci-output-11082-54f110-pb_distribute_type2.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12251,7 +12287,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c -+++ /tmp/cocci-output-128647-48bff2-pb_distribute_type4.c ++++ /tmp/cocci-output-11082-12cbe0-pb_distribute_type4.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12275,7 +12311,7 @@ warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c -+++ /tmp/cocci-output-128647-06ddab-pb_params_iso.c ++++ /tmp/cocci-output-11082-87e16d-pb_params_iso.c @@ -1,17 +1,17 @@ -int f(bool a, int i, bool b) { @@ -12301,7 +12337,7 @@ pb_parsing_macro.res diff = --- tests/pb_parsing_macro.c -+++ /tmp/cocci-output-128647-99f31b-pb_parsing_macro.c ++++ /tmp/cocci-output-11082-4ce3c9-pb_parsing_macro.c @@ -1,4 +1,4 @@ #define FOO_METH_TEST(a) prefix_##a void FOO_METH_TEST(foo)(int x){ @@ -12311,7 +12347,7 @@ pb_tag_symbols.res diff = --- tests/pb_tag_symbols.c -+++ /tmp/cocci-output-128647-4435d9-pb_tag_symbols.c ++++ /tmp/cocci-output-11082-f454be-pb_tag_symbols.c @@ -1,5 +1,3 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -12321,7 +12357,7 @@ pcim.res diff = --- tests/pcim.c -+++ /tmp/cocci-output-128647-0b2119-pcim.c ++++ /tmp/cocci-output-11082-9fac21-pcim.c @@ -1,5 +1,6 @@ int main () { - ctx->sensePA = pci_map_single(adapter->dev, cmd->sense_buffer, @@ -12334,7 +12370,7 @@ pcomma.res diff = --- tests/pcomma.c -+++ /tmp/cocci-output-128647-5e51ff-pcomma.c ++++ /tmp/cocci-output-11082-6fd53e-pcomma.c @@ -1,14 +1,14 @@ -int main (int x) {} +int main (char c, int x) {} @@ -12361,7 +12397,7 @@ pif.res diff = --- tests/pif.c -+++ /tmp/cocci-output-128647-123b16-pif.c ++++ /tmp/cocci-output-11082-b322c2-pif.c @@ -1,5 +1 @@ -void f(void) -{ @@ -12372,14 +12408,14 @@ plus33.res diff = --- tests/plus33.c -+++ /tmp/cocci-output-128647-d943ff-plus33.c ++++ /tmp/cocci-output-11082-b16c44-plus33.c @@ -1 +1,2 @@ +typedef double double3x3[3][3]; int x; pmac.res diff = --- tests/pmac.c -+++ /tmp/cocci-output-128647-4c6b01-pmac.c ++++ /tmp/cocci-output-11082-b63b7b-pmac.c @@ -4,7 +4,5 @@ #include #endif @@ -12395,7 +12431,7 @@ posiso.res diff = --- tests/posiso.c -+++ /tmp/cocci-output-128647-036a42-posiso.c ++++ /tmp/cocci-output-11082-db6121-posiso.c @@ -1,9 +1,7 @@ int main () { int *x; @@ -12409,7 +12445,7 @@ positionc.res diff = --- tests/positionc.c -+++ /tmp/cocci-output-128647-b41b03-positionc.c ++++ /tmp/cocci-output-11082-f98be8-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; @@ -12422,7 +12458,7 @@ post.res diff = --- tests/post.c -+++ /tmp/cocci-output-128647-4ead7d-post.c ++++ /tmp/cocci-output-11082-8031b4-post.c @@ -1,8 +1,6 @@ int main() { - f(3, foo + bar, 5); @@ -12435,7 +12471,7 @@ pragma2.res diff = --- tests/pragma2.c -+++ /tmp/cocci-output-128647-46cb6b-pragma2.c ++++ /tmp/cocci-output-11082-27efdf-pragma2.c @@ -4,7 +4,7 @@ int main() int n = 3; // FIXME: problem: uncommenting this breaks matching @@ -12450,7 +12486,7 @@ warning: rule starting on line 1: metavariable i not used in the - or context code diff = --- tests/pragma3.c -+++ /tmp/cocci-output-128647-a4c994-pragma3.c ++++ /tmp/cocci-output-11082-63ad83-pragma3.c @@ -1,8 +1,4 @@ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" /* for gtest under clang (yes, with '#pragma GCC') */ @@ -12463,7 +12499,7 @@ pragmatest1.res diff = --- tests/pragmatest1.c -+++ /tmp/cocci-output-128647-8d9970-pragmatest1.c ++++ /tmp/cocci-output-11082-69c480-pragmatest1.c @@ -1,3 +1 @@ -#pragma xxx a b c @@ -12478,7 +12514,7 @@ warning: rule starting on line 1: metavariable E not used in the - or context code diff = --- tests/print_return.c -+++ /tmp/cocci-output-128647-30d027-print_return.c ++++ /tmp/cocci-output-11082-5bfda3-print_return.c @@ -1,4 +1,3 @@ int config(struct pcmcia_device *link) { - bar(); @@ -12488,7 +12524,7 @@ proto.res diff = --- tests/proto.c -+++ /tmp/cocci-output-128647-649047-proto.c ++++ /tmp/cocci-output-11082-2a7324-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); @@ -12503,7 +12539,7 @@ proto2.res diff = --- tests/proto2.c -+++ /tmp/cocci-output-128647-11d7ab-proto2.c ++++ /tmp/cocci-output-11082-6f302d-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); @@ -12520,7 +12556,7 @@ proto_ver1.res diff = --- tests/proto_ver1.c -+++ /tmp/cocci-output-128647-af0246-proto_ver1.c ++++ /tmp/cocci-output-11082-c25af3-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); @@ -12535,7 +12571,7 @@ proto_ver2.res diff = --- tests/proto_ver2.c -+++ /tmp/cocci-output-128647-2bd1e0-proto_ver2.c ++++ /tmp/cocci-output-11082-1a8e33-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); @@ -12564,7 +12600,7 @@ protoassert.res diff = --- tests/protoassert.c -+++ /tmp/cocci-output-128647-92a3d8-protoassert.c ++++ /tmp/cocci-output-11082-892569-protoassert.c @@ -1,6 +1,8 @@ static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); @@ -12578,7 +12614,7 @@ protocpp.res diff = --- tests/protocpp.cpp -+++ /tmp/cocci-output-128647-563406-protocpp.cpp ++++ /tmp/cocci-output-11082-e1739d-protocpp.cpp @@ -1 +1 @@ -int mm_write_banner(std::ofstream &ofs, MM_typecode matcode); +int mm_write_banner(std::ofstream &ofs, MM_typecode xxx); @@ -12587,7 +12623,7 @@ ptrar.res diff = --- tests/ptrar.c -+++ /tmp/cocci-output-128647-b719f4-ptrar.c ++++ /tmp/cocci-output-11082-892c3d-ptrar.c @@ -1,8 +1,8 @@ int main () { struct foo *x; @@ -12604,7 +12640,7 @@ ptrconstptr.res diff = --- tests/ptrconstptr.c -+++ /tmp/cocci-output-128647-0701bf-ptrconstptr.c ++++ /tmp/cocci-output-11082-d105d9-ptrconstptr.c @@ -1,3 +1,3 @@ void main() { - const char * const * x; @@ -12616,7 +12652,7 @@ warning: rule starting on line 12: metavariable S not used in the - or context code diff = --- tests/putloop.c -+++ /tmp/cocci-output-128647-33eb0a-putloop.c ++++ /tmp/cocci-output-11082-dc9a2c-putloop.c @@ -4,13 +4,11 @@ static int atmel_pctl_dt_node_to_map(str unsigned int *num_maps) { @@ -12646,7 +12682,7 @@ qual.res diff = --- tests/qual.cpp -+++ /tmp/cocci-output-128647-3503c5-qual.cpp ++++ /tmp/cocci-output-11082-ba2703-qual.cpp @@ -1,3 +1,3 @@ int main () { - return std::isspace(text[index]); @@ -12655,7 +12691,7 @@ qualclass.res diff = --- tests/qualclass.cpp -+++ /tmp/cocci-output-128647-0c4176-qualclass.cpp ++++ /tmp/cocci-output-11082-fa023e-qualclass.cpp @@ -1,3 +1,3 @@ class ResidualNorm : public ::testing::Test { - int x; @@ -12665,7 +12701,7 @@ SPECIAL NAMES: adding survived_r1 as a type diff = --- tests/qualifier.c -+++ /tmp/cocci-output-128647-6c1d94-qualifier.c ++++ /tmp/cocci-output-11082-9514e2-qualifier.c @@ -1,11 +1,11 @@ int *foo(const int *i) { @@ -12703,7 +12739,7 @@ range.res diff = --- tests/range.c -+++ /tmp/cocci-output-128647-898386-range.c ++++ /tmp/cocci-output-11082-d2e541-range.c @@ -1,17 +1,8 @@ int main() { - f(1); @@ -12726,7 +12762,7 @@ SPECIAL NAMES: adding RB_DECLARE_CALLBACKS_MAX as a declarer diff = --- tests/rb.c -+++ /tmp/cocci-output-128647-2ff5bd-rb.c ++++ /tmp/cocci-output-11082-4657de-rb.c @@ -1,2 +1 @@ -RB_DECLARE_CALLBACKS_MAX(static, augment_callbacks, struct drbd_interval, -rb, sector_t, end, NODE_END); @@ -12734,7 +12770,7 @@ rcu3.res diff = --- tests/rcu3.c -+++ /tmp/cocci-output-128647-7cfa1b-rcu3.c ++++ /tmp/cocci-output-11082-592dff-rcu3.c @@ -3,6 +3,6 @@ static struct mtd_chip_driver *get_mtd_c struct list_head *pos; struct mtd_chip_driver *this; @@ -12747,7 +12783,7 @@ refl.res diff = --- tests/refl.c -+++ /tmp/cocci-output-128647-00230d-refl.c ++++ /tmp/cocci-output-11082-2a6f68-refl.c @@ -1,5 +1,3 @@ int main () { int x; @@ -12757,7 +12793,7 @@ regesc.res diff = --- tests/regesc.c -+++ /tmp/cocci-output-128647-015b5f-regesc.c ++++ /tmp/cocci-output-11082-15ff7f-regesc.c @@ -1,5 +1,5 @@ int main () { - f(".foo"); @@ -12769,7 +12805,7 @@ regexp.res diff = --- tests/regexp.c -+++ /tmp/cocci-output-128647-a1c1e6-regexp.c ++++ /tmp/cocci-output-11082-981a74-regexp.c @@ -1,9 +1,23 @@ int main(void) { @@ -12797,7 +12833,7 @@ regexp2.res diff = --- tests/regexp2.c -+++ /tmp/cocci-output-128647-4f3a0e-regexp2.c ++++ /tmp/cocci-output-11082-e8b17e-regexp2.c @@ -2,9 +2,23 @@ int main(void) { @@ -12825,7 +12861,7 @@ regexp3.res diff = --- tests/regexp3.c -+++ /tmp/cocci-output-128647-4801b3-regexp3.c ++++ /tmp/cocci-output-11082-a571e2-regexp3.c @@ -2,10 +2,27 @@ int main(void) { @@ -12861,7 +12897,7 @@ rem1.res diff = --- tests/rem1.c -+++ /tmp/cocci-output-128647-de9cc4-rem1.c ++++ /tmp/cocci-output-11082-fb8ae3-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -12871,7 +12907,7 @@ rem2.res diff = --- tests/rem2.c -+++ /tmp/cocci-output-128647-18962a-rem2.c ++++ /tmp/cocci-output-11082-cbf2d0-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -12881,7 +12917,7 @@ remaft.res diff = --- tests/remaft.c -+++ /tmp/cocci-output-128647-4426f5-remaft.c ++++ /tmp/cocci-output-11082-a10c26-remaft.c @@ -1,8 +1,6 @@ int main() { #ifdef BLAH @@ -12894,7 +12930,7 @@ remcom.res diff = --- tests/remcom.c -+++ /tmp/cocci-output-128647-873fea-remcom.c ++++ /tmp/cocci-output-11082-231bb9-remcom.c @@ -3,20 +3,12 @@ asyncmeta_retry( Operation *op ) { @@ -12922,7 +12958,7 @@ remcom2.res diff = --- tests/remcom2.c -+++ /tmp/cocci-output-128647-399f7e-remcom2.c ++++ /tmp/cocci-output-11082-06b539-remcom2.c @@ -2,7 +2,5 @@ int fn() { if (y) { @@ -12934,7 +12970,7 @@ remodif.res diff = --- tests/remodif.c -+++ /tmp/cocci-output-128647-cdca1b-remodif.c ++++ /tmp/cocci-output-11082-0ba299-remodif.c @@ -5,7 +5,7 @@ static int hexium_attach(struct saa7146_ DEB_EE("\n"); @@ -12947,7 +12983,7 @@ remove-code-in-branch1.res diff = --- tests/remove-code-in-branch1.c -+++ /tmp/cocci-output-128647-7e8f75-remove-code-in-branch1.c ++++ /tmp/cocci-output-11082-de0297-remove-code-in-branch1.c @@ -1,7 +1,7 @@ int main(void) { @@ -12960,7 +12996,7 @@ remove_call.res diff = --- tests/remove_call.c -+++ /tmp/cocci-output-128647-fed6c6-remove_call.c ++++ /tmp/cocci-output-11082-552a75-remove_call.c @@ -1,6 +1,2 @@ int main () { - int x = 3 + FN() + FN(); @@ -12972,7 +13008,7 @@ SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/remove_cast_attr.c -+++ /tmp/cocci-output-128647-9368ad-remove_cast_attr.c ++++ /tmp/cocci-output-11082-240da2-remove_cast_attr.c @@ -2,9 +2,9 @@ int func() @@ -12989,7 +13025,7 @@ remove_cast_attr_allminus.res diff = --- tests/remove_cast_attr_allminus.c -+++ /tmp/cocci-output-128647-e2c32d-remove_cast_attr_allminus.c ++++ /tmp/cocci-output-11082-fea11f-remove_cast_attr_allminus.c @@ -2,9 +2,9 @@ int func() @@ -13010,7 +13046,7 @@ SPECIAL NAMES: adding __macro_attr as a attribute diff = --- tests/remove_macrodecl_attr.c -+++ /tmp/cocci-output-128647-ab32b0-remove_macrodecl_attr.c ++++ /tmp/cocci-output-11082-774c8b-remove_macrodecl_attr.c @@ -1,3 +1,3 @@ #define __macro_attr MACROANNOTATION @@ -13020,7 +13056,7 @@ SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/remove_metaattr.c -+++ /tmp/cocci-output-128647-117e5f-remove_metaattr.c ++++ /tmp/cocci-output-11082-7fb8f3-remove_metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; @@ -13032,7 +13068,7 @@ SPECIAL NAMES: adding __nocast as a attribute diff = --- tests/remove_param_attrs.c -+++ /tmp/cocci-output-128647-141fa1-remove_param_attrs.c ++++ /tmp/cocci-output-11082-53d75a-remove_param_attrs.c @@ -6,15 +6,15 @@ int func2(int x, int __nocast y) { return 0; } @@ -13056,7 +13092,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr.c -+++ /tmp/cocci-output-128647-818a30-remove_struct_endattr.c ++++ /tmp/cocci-output-11082-c92df2-remove_struct_endattr.c @@ -4,4 +4,4 @@ struct abcd { int a; int b; @@ -13067,7 +13103,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr_allminus.c -+++ /tmp/cocci-output-128647-0eb73b-remove_struct_endattr_allminus.c ++++ /tmp/cocci-output-11082-2b14bb-remove_struct_endattr_allminus.c @@ -1,13 +1 @@ #define __struct_endattr MACROANNOTATION - @@ -13085,7 +13121,7 @@ remparam.res diff = --- tests/remparam.c -+++ /tmp/cocci-output-128647-6fb1ff-remparam.c ++++ /tmp/cocci-output-11082-4ceb36-remparam.c @@ -1,14 +1,14 @@ static irqreturn_t -snd_ad1889_interrupt(void *dev_id, int x, @@ -13108,7 +13144,7 @@ rems.res diff = --- tests/rems.c -+++ /tmp/cocci-output-128647-d7efc9-rems.c ++++ /tmp/cocci-output-11082-f5ae13-rems.c @@ -1,5 +1,4 @@ int main () { x(); @@ -13118,7 +13154,7 @@ rems1.res diff = --- tests/rems1.c -+++ /tmp/cocci-output-128647-f6cf43-rems1.c ++++ /tmp/cocci-output-11082-539c53-rems1.c @@ -1,5 +1,4 @@ int main () { x(); @@ -13130,7 +13166,7 @@ warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct.c -+++ /tmp/cocci-output-128647-7be783-remstruct.c ++++ /tmp/cocci-output-11082-5b6618-remstruct.c @@ -1,13 +1,4 @@ -static struct irqchip mpuio_irq_chip = { - .ack = mpuio_ack_irq, @@ -13148,7 +13184,7 @@ remu.res diff = --- tests/remu.c -+++ /tmp/cocci-output-128647-97ce4b-remu.c ++++ /tmp/cocci-output-11082-e2a9fc-remu.c @@ -1,5 +1,4 @@ struct anon_vma { int x; @@ -13158,7 +13194,7 @@ replace_typedef.res diff = --- tests/replace_typedef.c -+++ /tmp/cocci-output-128647-e967e5-replace_typedef.c ++++ /tmp/cocci-output-11082-a744cb-replace_typedef.c @@ -3,8 +3,8 @@ typedef struct foo { int x; } foo_t; typedef int int_t; @@ -13173,7 +13209,7 @@ replacement3.res diff = --- tests/replacement3.c -+++ /tmp/cocci-output-128647-e1a690-replacement3.c ++++ /tmp/cocci-output-11082-0e6e69-replacement3.c @@ -1,6 +1,5 @@ int main() { - int *i; @@ -13185,7 +13221,7 @@ reserved.res diff = --- tests/reserved.c -+++ /tmp/cocci-output-128647-1576df-reserved.c ++++ /tmp/cocci-output-11082-68c1ce-reserved.c @@ -1,7 +1,4 @@ int main() { - f(1,1); @@ -13197,7 +13233,7 @@ retest.res diff = --- tests/retest.c -+++ /tmp/cocci-output-128647-a44044-retest.c ++++ /tmp/cocci-output-11082-4479db-retest.c @@ -1,6 +1,6 @@ int main () { foo(); @@ -13209,7 +13245,7 @@ retmacro.res diff = --- tests/retmacro.c -+++ /tmp/cocci-output-128647-e19963-retmacro.c ++++ /tmp/cocci-output-11082-3570ae-retmacro.c @@ -1,6 +1,6 @@ #define REG_PATTERN_TEST(R, M, W) \ { \ @@ -13232,7 +13268,7 @@ warning: rule starting on line 18: metavariable S not used in the - or context code diff = --- tests/return.c -+++ /tmp/cocci-output-128647-a02239-return.c ++++ /tmp/cocci-output-11082-2a0521-return.c @@ -1,6 +1,9 @@ void foo(int y) { int x; @@ -13248,7 +13284,7 @@ return_implicit.res diff = --- tests/return_implicit.c -+++ /tmp/cocci-output-128647-b6d34f-return_implicit.c ++++ /tmp/cocci-output-11082-788932-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { @@ -13258,7 +13294,7 @@ retval.res diff = --- tests/retval.c -+++ /tmp/cocci-output-128647-95f214-retval.c ++++ /tmp/cocci-output-11082-f1a11b-retval.c @@ -1,21 +1,15 @@ int main () { if (retval1) { @@ -13288,7 +13324,7 @@ retval2.res diff = --- tests/retval2.c -+++ /tmp/cocci-output-128647-ba96f9-retval2.c ++++ /tmp/cocci-output-11082-82d591-retval2.c @@ -11,7 +11,7 @@ int getlen(int *input, size_t maxlen, in return -1; } @@ -13302,7 +13338,7 @@ warning: rule starting on line 8: metavariable p1 not used in the - or context code diff = --- tests/reusevar.c -+++ /tmp/cocci-output-128647-421f8a-reusevar.c ++++ /tmp/cocci-output-11082-e8a310-reusevar.c @@ -1,8 +1,5 @@ int main () { - f(x); @@ -13320,7 +13356,7 @@ SPECIAL NAMES: adding __ro_after_init as a attribute diff = --- tests/roa.c -+++ /tmp/cocci-output-128647-444287-roa.c ++++ /tmp/cocci-output-11082-f19d83-roa.c @@ -1,10 +1,10 @@ -struct arm_delay_ops arm_delay_ops __ro_after_init = { +struct found used __ro_after_init = { @@ -13338,7 +13374,7 @@ rptr.res diff = --- tests/rptr.c -+++ /tmp/cocci-output-128647-a19139-rptr.c ++++ /tmp/cocci-output-11082-9ad1ed-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { @@ -13351,7 +13387,7 @@ same_expr.res diff = --- tests/same_expr.c -+++ /tmp/cocci-output-128647-9b1b77-same_expr.c ++++ /tmp/cocci-output-11082-1b5021-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { @@ -13362,7 +13398,7 @@ sbef.res diff = --- tests/sbef.c -+++ /tmp/cocci-output-128647-34db1b-sbef.c ++++ /tmp/cocci-output-11082-3818c7-sbef.c @@ -2,6 +2,5 @@ int main () { { a(); @@ -13373,7 +13409,7 @@ sbef2.res diff = --- tests/sbef2.c -+++ /tmp/cocci-output-128647-680918-sbef2.c ++++ /tmp/cocci-output-11082-17bf5d-sbef2.c @@ -1,5 +1,4 @@ int main() { f(12); @@ -13383,7 +13419,7 @@ scope_problem.res diff = --- tests/scope_problem.c -+++ /tmp/cocci-output-128647-1c0eb8-scope_problem.c ++++ /tmp/cocci-output-11082-f1e558-scope_problem.c @@ -1,15 +1,7 @@ void main(int i) { - @@ -13405,7 +13441,7 @@ SPECIAL NAMES: adding MyFloat as a type diff = --- tests/sd_2.c -+++ /tmp/cocci-output-128647-5b30d6-sd_2.c ++++ /tmp/cocci-output-11082-66771e-sd_2.c @@ -1 +1 @@ - struct particle_data_extra { MyFloat Mass; }; + struct particle_data_extra { MyFloat *Mass; }; @@ -13416,7 +13452,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/shared_brace.c -+++ /tmp/cocci-output-128647-490e98-shared_brace.c ++++ /tmp/cocci-output-11082-5b8c25-shared_brace.c @@ -1,9 +1,7 @@ int __init ixj_init(void) @@ -13437,7 +13473,7 @@ warning: line 23: should p be a metavariable? diff = --- tests/signed.c -+++ /tmp/cocci-output-128647-4edbaf-signed.c ++++ /tmp/cocci-output-11082-b3370d-signed.c @@ -1,5 +1,5 @@ -int main(signed *m, unsigned *p) { - signed x; @@ -13452,7 +13488,7 @@ SPECIAL NAMES: adding DEFINE_MUTEX as a declarer diff = --- tests/sis.c -+++ /tmp/cocci-output-128647-caea21-sis.c ++++ /tmp/cocci-output-11082-8cfb33-sis.c @@ -1,4 +1,4 @@ -DECLARE_MUTEX(disconnect_sem); +DEFINE_MUTEX(disconnect_sem); @@ -13462,7 +13498,7 @@ sizeof.res diff = --- tests/sizeof.c -+++ /tmp/cocci-output-128647-25b55e-sizeof.c ++++ /tmp/cocci-output-11082-6fa3cd-sizeof.c @@ -1,7 +1,7 @@ int main (int param) { @@ -13476,7 +13512,7 @@ sizeof_julia.res diff = --- tests/sizeof_julia.c -+++ /tmp/cocci-output-128647-81f3b3-sizeof_julia.c ++++ /tmp/cocci-output-11082-338916-sizeof_julia.c @@ -1,5 +1,5 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) @@ -13487,7 +13523,7 @@ sizeptr.res diff = --- tests/sizeptr.c -+++ /tmp/cocci-output-128647-9626f0-sizeptr.c ++++ /tmp/cocci-output-11082-b8c416-sizeptr.c @@ -5,7 +5,7 @@ int main () { ssize_t b; ptrdiff_t c; @@ -13502,7 +13538,7 @@ sizestar.res diff = --- tests/sizestar.c -+++ /tmp/cocci-output-128647-d23abc-sizestar.c ++++ /tmp/cocci-output-11082-28fe65-sizestar.c @@ -1,7 +1,7 @@ int main () { max = num_var_ranges; @@ -13515,7 +13551,7 @@ sizet.res diff = --- tests/sizet.cpp -+++ /tmp/cocci-output-128647-c76ec4-sizet.cpp ++++ /tmp/cocci-output-11082-a9ba71-sizet.cpp @@ -1,3 +1,2 @@ int main() { - size_t x; @@ -13523,7 +13559,7 @@ sizet1.res diff = --- tests/sizet1.c -+++ /tmp/cocci-output-128647-d1c8f2-sizet1.c ++++ /tmp/cocci-output-11082-7027bf-sizet1.c @@ -1,3 +1,2 @@ int main() { - size_t x; @@ -13531,7 +13567,7 @@ skip.res diff = --- tests/skip.c -+++ /tmp/cocci-output-128647-265501-skip.c ++++ /tmp/cocci-output-11082-5c1392-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); @@ -13542,7 +13578,7 @@ sl2.res diff = --- tests/sl2.c -+++ /tmp/cocci-output-128647-a9e9dc-sl2.c ++++ /tmp/cocci-output-11082-bd2091-sl2.c @@ -1,11 +1,14 @@ int main () { + something(); @@ -13568,7 +13604,7 @@ smallfn.res diff = --- tests/smallfn.c -+++ /tmp/cocci-output-128647-084ed5-smallfn.c ++++ /tmp/cocci-output-11082-faab8d-smallfn.c @@ -1,30 +1,65 @@ int main () { if (y) { @@ -13648,7 +13684,7 @@ snip_field.res diff = --- tests/snip_field.cpp -+++ /tmp/cocci-output-128647-b29d6a-snip_field.cpp ++++ /tmp/cocci-output-11082-19f211-snip_field.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; @@ -13661,7 +13697,7 @@ snprintf.res diff = --- tests/snprintf.c -+++ /tmp/cocci-output-128647-9ea3fa-snprintf.c ++++ /tmp/cocci-output-11082-6d3d01-snprintf.c @@ -1,4 +1,4 @@ static ssize_t idletimer_tg_show(char *buf) { @@ -13671,7 +13707,7 @@ sp.res diff = --- tests/sp.c -+++ /tmp/cocci-output-128647-63c79c-sp.c ++++ /tmp/cocci-output-11082-3e380c-sp.c @@ -1,4 +1,4 @@ -typedef struct { +struct name { @@ -13683,7 +13719,7 @@ spacing.res diff = --- tests/spacing.c -+++ /tmp/cocci-output-128647-8c8a15-spacing.c ++++ /tmp/cocci-output-11082-944622-spacing.c @@ -1,8 +1,21 @@ typedef int *foo; @@ -13709,7 +13745,7 @@ spl.res diff = --- tests/spl.c -+++ /tmp/cocci-output-128647-5b2d35-spl.c ++++ /tmp/cocci-output-11082-761175-spl.c @@ -2,11 +2,13 @@ int main() { spin_lock(&isp116x->lock); /* take idle endpoints out of the schedule */ @@ -13727,7 +13763,7 @@ split_funcall1.res diff = --- tests/split_funcall1.c -+++ /tmp/cocci-output-128647-3c9b8b-split_funcall1.c ++++ /tmp/cocci-output-11082-e76c11-split_funcall1.c @@ -1,4 +1,4 @@ int main(void) { @@ -13737,7 +13773,7 @@ split_funcall2.res diff = --- tests/split_funcall2.c -+++ /tmp/cocci-output-128647-f36c1f-split_funcall2.c ++++ /tmp/cocci-output-11082-51b4f5-split_funcall2.c @@ -1,4 +1,4 @@ int main(void) { @@ -13747,7 +13783,7 @@ square.res diff = --- tests/square.c -+++ /tmp/cocci-output-128647-ed039a-square.c ++++ /tmp/cocci-output-11082-3ea566-square.c @@ -2,7 +2,7 @@ int two() { return 2; } int main() { int a[3]; @@ -13763,7 +13799,7 @@ SPECIAL NAMES: adding LPINT as a type diff = --- tests/starprint.c -+++ /tmp/cocci-output-128647-0184f4-starprint.c ++++ /tmp/cocci-output-11082-be72ab-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; @@ -13775,7 +13811,7 @@ static.res diff = --- tests/static.c -+++ /tmp/cocci-output-128647-1e4e75-static.c ++++ /tmp/cocci-output-11082-ea1d78-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { @@ -13786,7 +13822,7 @@ stm10.res diff = --- tests/stm10.c -+++ /tmp/cocci-output-128647-a2ff22-stm10.c ++++ /tmp/cocci-output-11082-5362c9-stm10.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -13798,7 +13834,7 @@ stm10_ver1.res diff = --- tests/stm10_ver1.c -+++ /tmp/cocci-output-128647-f76cdc-stm10_ver1.c ++++ /tmp/cocci-output-11082-54b0f6-stm10_ver1.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13809,7 +13845,7 @@ stm2.res diff = --- tests/stm2.c -+++ /tmp/cocci-output-128647-9737a1-stm2.c ++++ /tmp/cocci-output-11082-eac2d3-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); @@ -13819,7 +13855,7 @@ stm3.res diff = --- tests/stm3.c -+++ /tmp/cocci-output-128647-9a54a3-stm3.c ++++ /tmp/cocci-output-11082-cf6b4e-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); @@ -13830,7 +13866,7 @@ stm4.res diff = --- tests/stm4.c -+++ /tmp/cocci-output-128647-af9924-stm4.c ++++ /tmp/cocci-output-11082-ada5c1-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); @@ -13840,7 +13876,7 @@ stm5.res diff = --- tests/stm5.c -+++ /tmp/cocci-output-128647-e407a5-stm5.c ++++ /tmp/cocci-output-11082-e67ab0-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); @@ -13852,7 +13888,7 @@ stm6.res diff = --- tests/stm6.c -+++ /tmp/cocci-output-128647-fc99a3-stm6.c ++++ /tmp/cocci-output-11082-30d67e-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13865,7 +13901,7 @@ stm8.res diff = --- tests/stm8.c -+++ /tmp/cocci-output-128647-89d9b6-stm8.c ++++ /tmp/cocci-output-11082-9d1813-stm8.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13876,7 +13912,7 @@ stm_exp.res diff = --- tests/stm_exp.c -+++ /tmp/cocci-output-128647-2c2f2d-stm_exp.c ++++ /tmp/cocci-output-11082-5f149e-stm_exp.c @@ -1,7 +1,5 @@ int main() { - abs(); @@ -13888,7 +13924,7 @@ stmt.res diff = --- tests/stmt.c -+++ /tmp/cocci-output-128647-494df1-stmt.c ++++ /tmp/cocci-output-11082-26c18b-stmt.c @@ -1,4 +1,5 @@ int f() { int x; @@ -13898,7 +13934,7 @@ stmt_removed_and_added.res diff = --- tests/stmt_removed_and_added.c -+++ /tmp/cocci-output-128647-da45bb-stmt_removed_and_added.c ++++ /tmp/cocci-output-11082-f5ee0f-stmt_removed_and_added.c @@ -1,6 +1,6 @@ void main() { @@ -13911,7 +13947,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/str_init.c -+++ /tmp/cocci-output-128647-db38f9-str_init.c ++++ /tmp/cocci-output-11082-b4d7d4-str_init.c @@ -1,7 +1,3 @@ struct foo x = { - .aaa = 5, @@ -13924,7 +13960,7 @@ warning: rule starting on line 1: metavariable f not used in the - or context code diff = --- tests/strangeorder.c -+++ /tmp/cocci-output-128647-1da237-strangeorder.c ++++ /tmp/cocci-output-11082-0d2bbc-strangeorder.c @@ -4,8 +4,10 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_client *client; @@ -13940,7 +13976,7 @@ strid.res diff = --- tests/strid.c -+++ /tmp/cocci-output-128647-e98fdf-strid.c ++++ /tmp/cocci-output-11082-6bbe0a-strid.c @@ -1,4 +1,4 @@ int main () { struct foo *a; @@ -13950,7 +13986,7 @@ strid2.res diff = --- tests/strid2.c -+++ /tmp/cocci-output-128647-6b9fbe-strid2.c ++++ /tmp/cocci-output-11082-2101ee-strid2.c @@ -3,8 +3,8 @@ int main () { enum foo1 *b; struct foo a1; @@ -13966,7 +14002,7 @@ strtest.res diff = --- tests/strtest.c -+++ /tmp/cocci-output-128647-376b51-strtest.c ++++ /tmp/cocci-output-11082-eda762-strtest.c @@ -1,3 +1,3 @@ int main() { - printf("hello\n"); @@ -13975,7 +14011,7 @@ struct.res diff = --- tests/struct.c -+++ /tmp/cocci-output-128647-7ac87d-struct.c ++++ /tmp/cocci-output-11082-1d4061-struct.c @@ -8,7 +8,5 @@ struct foo { int main() { @@ -13987,7 +14023,7 @@ struct_metavar.res diff = --- tests/struct_metavar.c -+++ /tmp/cocci-output-128647-0c4ff9-struct_metavar.c ++++ /tmp/cocci-output-11082-affb0a-struct_metavar.c @@ -9,9 +9,6 @@ struct foo { int main() { struct foo *a; @@ -14001,7 +14037,7 @@ struct_typedef.res diff = --- tests/struct_typedef.c -+++ /tmp/cocci-output-128647-b559f5-struct_typedef.c ++++ /tmp/cocci-output-11082-c65ceb-struct_typedef.c @@ -1,5 +1,5 @@ -typedef struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -14015,7 +14051,7 @@ warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c -+++ /tmp/cocci-output-128647-e04122-structfoo.c ++++ /tmp/cocci-output-11082-b7fdd9-structfoo.c @@ -1,4 +1 @@ -struct foo my_foo[] = { -.a = 1, @@ -14025,7 +14061,7 @@ structptr_func.res diff = --- tests/structptr_func.c -+++ /tmp/cocci-output-128647-dc6de9-structptr_func.c ++++ /tmp/cocci-output-11082-f7315f-structptr_func.c @@ -1,5 +1,6 @@ void func(struct socket *sock, struct sockaddr *uaddr, int peer) { @@ -14037,7 +14073,7 @@ substruct.res diff = --- tests/substruct.c -+++ /tmp/cocci-output-128647-bbfa99-substruct.c ++++ /tmp/cocci-output-11082-cf64eb-substruct.c @@ -1,5 +1,5 @@ struct a { int a; } x[2] = { @@ -14049,14 +14085,14 @@ sw.res diff = --- tests/sw.c -+++ /tmp/cocci-output-128647-dc802f-sw.c ++++ /tmp/cocci-output-11082-716ce1-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c -+++ /tmp/cocci-output-128647-afd856-swap3.c ++++ /tmp/cocci-output-11082-06022b-swap3.c @@ -2,7 +2,7 @@ static void __ar955x_tx_iq_cal_sort(stru struct coeff *coeff, int i, int nmeasurement) @@ -14069,7 +14105,7 @@ switch.res diff = --- tests/switch.c -+++ /tmp/cocci-output-128647-f705da-switch.c ++++ /tmp/cocci-output-11082-f73d48-switch.c @@ -3,6 +3,5 @@ int main () { default: break; @@ -14081,7 +14117,7 @@ warning: switch_1: metavariable S_1 not used in the - or context code diff = --- tests/switchdecl.c -+++ /tmp/cocci-output-128647-9a5dbc-switchdecl.c ++++ /tmp/cocci-output-11082-1ab053-switchdecl.c @@ -4,7 +4,7 @@ switch (2) { int x; @@ -14095,7 +14131,7 @@ warning: line 12: should g be a metavariable? diff = --- tests/symbol.c -+++ /tmp/cocci-output-128647-fe5af2-symbol.c ++++ /tmp/cocci-output-11082-ba06bf-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; @@ -14107,7 +14143,7 @@ td.res diff = --- tests/td.c -+++ /tmp/cocci-output-128647-339188-td.c ++++ /tmp/cocci-output-11082-fc243b-td.c @@ -1,5 +1,5 @@ -struct foo {int a;}; +struct foo {int b;}; @@ -14120,7 +14156,7 @@ tdnl.res diff = --- tests/tdnl.c -+++ /tmp/cocci-output-128647-1f9e10-tdnl.c ++++ /tmp/cocci-output-11082-25ba4f-tdnl.c @@ -4,5 +4,4 @@ void main() { @@ -14130,7 +14166,7 @@ tdplus.res diff = --- tests/tdplus.c -+++ /tmp/cocci-output-128647-e62a91-tdplus.c ++++ /tmp/cocci-output-11082-ebdabd-tdplus.c @@ -1 +1 @@ -typedef int (*filler_t)(int, int); +typedef int (*filler_t)(int, struct address_space *, int); @@ -14139,7 +14175,7 @@ SPECIAL NAMES: adding abc as a type diff = --- tests/template_test.cpp -+++ /tmp/cocci-output-128647-bd9762-template_test.cpp ++++ /tmp/cocci-output-11082-04262c-template_test.cpp @@ -1,5 +1,6 @@ int min() { int x; @@ -14150,7 +14186,7 @@ templates1.res diff = --- tests/templates1.cpp -+++ /tmp/cocci-output-128647-547696-templates1.cpp ++++ /tmp/cocci-output-11082-0d55f7-templates1.cpp @@ -1,9 +1,9 @@ -template +template @@ -14166,7 +14202,7 @@ tern.res diff = --- tests/tern.c -+++ /tmp/cocci-output-128647-be7094-tern.c ++++ /tmp/cocci-output-11082-190566-tern.c @@ -1,4 +1,4 @@ int main () { - return (wc >= 0 && wc <= 0x7f ? wc : 0x7f); @@ -14176,7 +14212,7 @@ test0.res diff = --- tests/test0.c -+++ /tmp/cocci-output-128647-e98295-test0.c ++++ /tmp/cocci-output-11082-2a2e3b-test0.c @@ -1,5 +1,3 @@ int main(int i) { - f(1); @@ -14186,7 +14222,7 @@ test1.res diff = --- tests/test1.c -+++ /tmp/cocci-output-128647-724805-test1.c ++++ /tmp/cocci-output-11082-1961fd-test1.c @@ -6,9 +6,9 @@ void main(int foo) { x(); if(1) { @@ -14203,7 +14239,7 @@ test10_ver1.res diff = --- tests/test10_ver1.c -+++ /tmp/cocci-output-128647-2f1744-test10_ver1.c ++++ /tmp/cocci-output-11082-34edbd-test10_ver1.c @@ -3,7 +3,7 @@ void main(int i) { f(1); g(1); @@ -14217,7 +14253,7 @@ test11_ver1.res diff = --- tests/test11_ver1.c -+++ /tmp/cocci-output-128647-ef061f-test11_ver1.c ++++ /tmp/cocci-output-11082-adbe50-test11_ver1.c @@ -2,6 +2,6 @@ void main(int i) { f(1); g(1); @@ -14229,7 +14265,7 @@ test12.res diff = --- tests/test12.c -+++ /tmp/cocci-output-128647-8bf112-test12.c ++++ /tmp/cocci-output-11082-d0f12a-test12.c @@ -1,6 +1,6 @@ void main(int foo) { @@ -14241,7 +14277,7 @@ test2.res diff = --- tests/test2.c -+++ /tmp/cocci-output-128647-c45f13-test2.c ++++ /tmp/cocci-output-11082-ccefaa-test2.c @@ -2,7 +2,7 @@ void main() { f(1,2,3); @@ -14255,7 +14291,7 @@ test3.res diff = --- tests/test3.c -+++ /tmp/cocci-output-128647-67a307-test3.c ++++ /tmp/cocci-output-11082-334ba8-test3.c @@ -4,7 +4,7 @@ void main() f(3); @@ -14269,7 +14305,7 @@ test4.res diff = --- tests/test4.c -+++ /tmp/cocci-output-128647-267f86-test4.c ++++ /tmp/cocci-output-11082-03e9d3-test4.c @@ -1,7 +1,6 @@ void main() { @@ -14281,7 +14317,7 @@ test5.res diff = --- tests/test5.c -+++ /tmp/cocci-output-128647-d913bc-test5.c ++++ /tmp/cocci-output-11082-7eac35-test5.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -14297,7 +14333,7 @@ test5_ver1.res diff = --- tests/test5_ver1.c -+++ /tmp/cocci-output-128647-c4651a-test5_ver1.c ++++ /tmp/cocci-output-11082-d72a20-test5_ver1.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -14313,7 +14349,7 @@ test6.res diff = --- tests/test6.c -+++ /tmp/cocci-output-128647-558706-test6.c ++++ /tmp/cocci-output-11082-bbf996-test6.c @@ -4,13 +4,13 @@ void main() { /* a comment */ @@ -14344,7 +14380,7 @@ test7.res diff = --- tests/test7.c -+++ /tmp/cocci-output-128647-7b6572-test7.c ++++ /tmp/cocci-output-11082-7dd538-test7.c @@ -2,10 +2,12 @@ void main() { @@ -14363,7 +14399,7 @@ test8.res diff = --- tests/test8.c -+++ /tmp/cocci-output-128647-2c6260-test8.c ++++ /tmp/cocci-output-11082-a84d7b-test8.c @@ -1,7 +1,6 @@ -void main(int foo) { +void main(char i, int foo) { @@ -14376,7 +14412,7 @@ test9.res diff = --- tests/test9.c -+++ /tmp/cocci-output-128647-df5be6-test9.c ++++ /tmp/cocci-output-11082-9f5b69-test9.c @@ -4,9 +4,9 @@ void main(int foo) { // f(1); // if uncomment then problems g(2); @@ -14392,7 +14428,7 @@ test_s.res diff = --- tests/test_s.c -+++ /tmp/cocci-output-128647-80cf69-test_s.c ++++ /tmp/cocci-output-11082-213d43-test_s.c @@ -2,7 +2,7 @@ int main () { if (x-one) { one(); @@ -14420,7 +14456,7 @@ warning: line 39: should y be a metavariable? diff = --- tests/test_unsigned_meta.c -+++ /tmp/cocci-output-128647-9b0a85-test_unsigned_meta.c ++++ /tmp/cocci-output-11082-255408-test_unsigned_meta.c @@ -1,8 +1,12 @@ int main () { - unsigned int x; @@ -14440,7 +14476,7 @@ testand.res diff = --- tests/testand.c -+++ /tmp/cocci-output-128647-21edcc-testand.c ++++ /tmp/cocci-output-11082-b427b9-testand.c @@ -1,5 +1,5 @@ int main () { f(1,2,3,4); @@ -14452,7 +14488,7 @@ testand2.res diff = --- tests/testand2.c -+++ /tmp/cocci-output-128647-a8c90e-testand2.c ++++ /tmp/cocci-output-11082-bb87e3-testand2.c @@ -1,6 +1,6 @@ int main () { f(1,2,3,4); @@ -14464,7 +14500,7 @@ three_types.res diff = --- tests/three_types.c -+++ /tmp/cocci-output-128647-4e451e-three_types.c ++++ /tmp/cocci-output-11082-d3f86a-three_types.c @@ -7,5 +7,5 @@ via_init_dmablit(drm_device_t *dev) { drm_via_blitq_t *blitq; @@ -14475,7 +14511,7 @@ threea.res diff = --- tests/threea.c -+++ /tmp/cocci-output-128647-9384a0-threea.c ++++ /tmp/cocci-output-11082-91c99f-threea.c @@ -1,4 +1,3 @@ int main() { f(12); @@ -14484,7 +14520,7 @@ tloop.res diff = --- tests/tloop.c -+++ /tmp/cocci-output-128647-40f995-tloop.c ++++ /tmp/cocci-output-11082-d2b649-tloop.c @@ -1,6 +1,5 @@ int foo(void) { @@ -14495,7 +14531,7 @@ tmpinit.res diff = --- tests/tmpinit.cpp -+++ /tmp/cocci-output-128647-79e4b3-tmpinit.cpp ++++ /tmp/cocci-output-11082-216259-tmpinit.cpp @@ -1,3 +1,3 @@ class TestSymmetricCoo: public ::testing::Test { - const std::vector VA { std::vector(nnzA,4) }; @@ -14509,7 +14545,7 @@ SPECIAL NAMES: adding module_param as a declarer diff = --- tests/top.c -+++ /tmp/cocci-output-128647-0311e6-top.c ++++ /tmp/cocci-output-11082-7b6fab-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); @@ -14517,7 +14553,7 @@ SPECIAL NAMES: adding LIST_HEAD as a declarer diff = --- tests/topdec.c -+++ /tmp/cocci-output-128647-429843-topdec.c ++++ /tmp/cocci-output-11082-d6a1fb-topdec.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ @@ -14527,7 +14563,7 @@ topdec_ver1.res diff = --- tests/topdec_ver1.c -+++ /tmp/cocci-output-128647-4d866f-topdec_ver1.c ++++ /tmp/cocci-output-11082-19d633-topdec_ver1.c @@ -4,4 +4,4 @@ static int debug; /* Network device part of the driver */ @@ -14537,7 +14573,7 @@ topdec_ver2.res diff = --- tests/topdec_ver2.c -+++ /tmp/cocci-output-128647-4722dd-topdec_ver2.c ++++ /tmp/cocci-output-11082-6bf759-topdec_ver2.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ @@ -14547,7 +14583,7 @@ topdecl.res diff = --- tests/topdecl.c -+++ /tmp/cocci-output-128647-3b1a8b-topdecl.c ++++ /tmp/cocci-output-11082-db76e3-topdecl.c @@ -1,3 +1,3 @@ int main () { - int x = foo(); @@ -14558,7 +14594,7 @@ SPECIAL NAMES: adding module_param as a declarer diff = --- tests/toplevel_macrostmt.c -+++ /tmp/cocci-output-128647-7b2206-toplevel_macrostmt.c ++++ /tmp/cocci-output-11082-45eb47-toplevel_macrostmt.c @@ -2,7 +2,7 @@ void main(int i) { } @@ -14572,7 +14608,7 @@ warning: line 5: should usb_stor_host_template be a metavariable? diff = --- tests/toplevel_struct.c -+++ /tmp/cocci-output-128647-d76291-toplevel_struct.c ++++ /tmp/cocci-output-11082-fb0bed-toplevel_struct.c @@ -3,6 +3,7 @@ struct SHT usb_stor_host_template = { .name = "usb-storage", .proc_name = "usb-storage", @@ -14598,7 +14634,7 @@ triplet.res diff = --- tests/triplet.c -+++ /tmp/cocci-output-128647-0d6a34-triplet.c ++++ /tmp/cocci-output-11082-66fe89-triplet.c @@ -1,5 +1,6 @@ typedef double dtriplet_t[3] ; // FIXME: such code would not be parsed on cocci side @@ -14609,7 +14645,7 @@ try_catch.res diff = --- tests/try_catch.cpp -+++ /tmp/cocci-output-128647-c489d6-try_catch.cpp ++++ /tmp/cocci-output-11082-061a14-try_catch.cpp @@ -1,5 +1,6 @@ int main() { @@ -14623,7 +14659,7 @@ warning: rule starting on line 10: metavariable B not used in the - or context code diff = --- tests/tup.c -+++ /tmp/cocci-output-128647-35be92-tup.c ++++ /tmp/cocci-output-11082-0b4777-tup.c @@ -1,7 +1,7 @@ static int cm206_block_ioctl(struct inode *inode, struct file *file, unsigned cmd, unsigned long arg) @@ -14636,7 +14672,7 @@ twomatch.res diff = --- tests/twomatch.c -+++ /tmp/cocci-output-128647-c5f1bf-twomatch.c ++++ /tmp/cocci-output-11082-2feaad-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); @@ -14648,7 +14684,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/twoproto.c -+++ /tmp/cocci-output-128647-0f4cea-twoproto.c ++++ /tmp/cocci-output-11082-76342c-twoproto.c @@ -1,11 +1,9 @@ static void tc574_config(dev_link_t *link); @@ -14666,7 +14702,7 @@ ty.res diff = --- tests/ty.c -+++ /tmp/cocci-output-128647-a90602-ty.c ++++ /tmp/cocci-output-11082-d63cda-ty.c @@ -1,4 +1,4 @@ int main () { - struct foo x; @@ -14677,7 +14713,7 @@ warning: line 7: should x be a metavariable? diff = --- tests/ty1.c -+++ /tmp/cocci-output-128647-8fe9b4-ty1.c ++++ /tmp/cocci-output-11082-497c1a-ty1.c @@ -1,4 +1,3 @@ int fn(int y) { char x; @@ -14686,7 +14722,7 @@ ty_tyexp.res diff = --- tests/ty_tyexp.c -+++ /tmp/cocci-output-128647-26bc5d-ty_tyexp.c ++++ /tmp/cocci-output-11082-f56327-ty_tyexp.c @@ -1,11 +1,11 @@ void main(double z) { @@ -14708,7 +14744,7 @@ SPECIAL NAMES: adding uint64_t as a type diff = --- tests/tydisj.c -+++ /tmp/cocci-output-128647-be000d-tydisj.c ++++ /tmp/cocci-output-11082-7a0fe1-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(); @@ -14719,7 +14755,7 @@ SPECIAL NAMES: adding Location as a type diff = --- tests/tyex.c -+++ /tmp/cocci-output-128647-cce664-tyex.c ++++ /tmp/cocci-output-11082-7b0e5c-tyex.c @@ -1,12 +1,15 @@ typedef struct { double x; @@ -14741,7 +14777,7 @@ type.res diff = --- tests/type.c -+++ /tmp/cocci-output-128647-f8599a-type.c ++++ /tmp/cocci-output-11082-2fcc11-type.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -14752,7 +14788,7 @@ type1.res diff = --- tests/type1.c -+++ /tmp/cocci-output-128647-65c3dc-type1.c ++++ /tmp/cocci-output-11082-8effe7-type1.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -14763,7 +14799,7 @@ type_and_var.res diff = --- tests/type_and_var.c -+++ /tmp/cocci-output-128647-6c4688-type_and_var.c ++++ /tmp/cocci-output-11082-25f120-type_and_var.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; @@ -14800,7 +14836,7 @@ type_and_var2.res diff = --- tests/type_and_var2.c -+++ /tmp/cocci-output-128647-e40a68-type_and_var2.c ++++ /tmp/cocci-output-11082-ede2ac-type_and_var2.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; @@ -14837,7 +14873,7 @@ type_annotated.res diff = --- tests/type_annotated.c -+++ /tmp/cocci-output-128647-e41d75-type_annotated.c ++++ /tmp/cocci-output-11082-e2e657-type_annotated.c @@ -4,7 +4,7 @@ void f1(int z) { struct foo2 j; int k; @@ -14858,7 +14894,7 @@ type_constraints.res diff = --- tests/type_constraints.c -+++ /tmp/cocci-output-128647-329827-type_constraints.c ++++ /tmp/cocci-output-11082-5bd161-type_constraints.c @@ -1,9 +1,9 @@ void f(void) { int i; @@ -14875,7 +14911,7 @@ type_ver1.res diff = --- tests/type_ver1.c -+++ /tmp/cocci-output-128647-8bc7a8-type_ver1.c ++++ /tmp/cocci-output-11082-a73af2-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; @@ -14886,7 +14922,7 @@ type_ver2.res diff = --- tests/type_ver2.c -+++ /tmp/cocci-output-128647-90d97f-type_ver2.c ++++ /tmp/cocci-output-11082-be8dcc-type_ver2.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; @@ -14898,7 +14934,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef.c -+++ /tmp/cocci-output-128647-76956e-typedef.c ++++ /tmp/cocci-output-11082-c21d71-typedef.c @@ -1,15 +1,15 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -14922,7 +14958,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef3.c -+++ /tmp/cocci-output-128647-54adf8-typedef3.c ++++ /tmp/cocci-output-11082-cce6c4-typedef3.c @@ -1,5 +1,5 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -14941,7 +14977,7 @@ typeof.res diff = --- tests/typeof.c -+++ /tmp/cocci-output-128647-295f81-typeof.c ++++ /tmp/cocci-output-11082-17072a-typeof.c @@ -1,6 +1,4 @@ int main() { int x; @@ -14952,7 +14988,7 @@ typeof_expr.res diff = --- tests/typeof_expr.c -+++ /tmp/cocci-output-128647-80d406-typeof_expr.c ++++ /tmp/cocci-output-11082-0989e5-typeof_expr.c @@ -1,4 +1,4 @@ int main () { int x = 0; @@ -14962,7 +14998,7 @@ typin.res diff = --- tests/typin.c -+++ /tmp/cocci-output-128647-168ee1-typin.c ++++ /tmp/cocci-output-11082-2db448-typin.c @@ -2,7 +2,7 @@ int x; char y; @@ -14985,7 +15021,7 @@ warning: rule starting on line 1, node 26: foreach[1,2,12]* in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 320: }2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified --- tests/unbrace.c -+++ /tmp/cocci-output-128647-132cd2-unbrace.c ++++ /tmp/cocci-output-11082-58d542-unbrace.c @@ -5,8 +5,6 @@ static int mlxsw_sp_flower_parse_actions struct netlink_ext_ack *extack) { @@ -15180,7 +15216,7 @@ undref.res diff = --- tests/undref.c -+++ /tmp/cocci-output-128647-043e2e-undref.c ++++ /tmp/cocci-output-11082-d73e7c-undref.c @@ -1,3 +1,3 @@ int main () { - bar(); @@ -15197,7 +15233,7 @@ unelse.res diff = --- tests/unelse.c -+++ /tmp/cocci-output-128647-b12094-unelse.c ++++ /tmp/cocci-output-11082-564860-unelse.c @@ -2,8 +2,6 @@ static short find_control(u16 control_in { if (!*pI) @@ -15212,7 +15248,7 @@ unfree.res diff = --- tests/unfree.c -+++ /tmp/cocci-output-128647-d0e005-unfree.c ++++ /tmp/cocci-output-11082-a83854-unfree.c @@ -2,8 +2,7 @@ static void mppe_free(void *arg) { struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; @@ -15226,7 +15262,7 @@ unl.res diff = --- tests/unl.c -+++ /tmp/cocci-output-128647-b58bec-unl.c ++++ /tmp/cocci-output-11082-9f23c8-unl.c @@ -1,10 +1,10 @@ int main () { - if (new_pe == NULL) { @@ -15243,7 +15279,7 @@ unstruct.res diff = --- tests/unstruct.c -+++ /tmp/cocci-output-128647-7a1d45-unstruct.c ++++ /tmp/cocci-output-11082-0bf377-unstruct.c @@ -1,4 +1,4 @@ -struct foo x __read_mostly = { .a = 12, }; @@ -15254,7 +15290,7 @@ unused.res diff = --- tests/unused.c -+++ /tmp/cocci-output-128647-13f07a-unused.c ++++ /tmp/cocci-output-11082-847f51-unused.c @@ -2,5 +2,5 @@ static int synth_field_string_size(char { char *start; @@ -15265,7 +15301,7 @@ updassign.res diff = --- tests/updassign.c -+++ /tmp/cocci-output-128647-657acf-updassign.c ++++ /tmp/cocci-output-11082-209e24-updassign.c @@ -1,3 +1,3 @@ int main () { - int r = 1 + 2; @@ -15274,7 +15310,7 @@ useless_cast.res diff = --- tests/useless_cast.c -+++ /tmp/cocci-output-128647-ec2020-useless_cast.c ++++ /tmp/cocci-output-11082-1cbc95-useless_cast.c @@ -8,7 +8,7 @@ struct device { struct device *dev; @@ -15288,7 +15324,7 @@ warning: rule starting on line 2: metavariable i not used in the - or context code diff = --- tests/using1.cpp -+++ /tmp/cocci-output-128647-18caca-using1.cpp ++++ /tmp/cocci-output-11082-762a27-using1.cpp @@ -1,5 +1,4 @@ namespace ns {}; int main() @@ -15302,7 +15338,7 @@ warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using3.cpp -+++ /tmp/cocci-output-128647-795ca3-using3.cpp ++++ /tmp/cocci-output-11082-8e4aef-using3.cpp @@ -1,5 +1,4 @@ int main() { @@ -15314,7 +15350,7 @@ warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using4.cpp -+++ /tmp/cocci-output-128647-fc28e6-using4.cpp ++++ /tmp/cocci-output-11082-a7d036-using4.cpp @@ -1,6 +1,6 @@ // TODO: FIXME: will use 'std::vector::value_type;' once template support is improved int main() @@ -15326,7 +15362,7 @@ usingtest.res diff = --- tests/usingtest.cpp -+++ /tmp/cocci-output-128647-50a3bb-usingtest.cpp ++++ /tmp/cocci-output-11082-f9d8eb-usingtest.cpp @@ -18,4 +18,4 @@ class TestSpMM_OfAnyTypeSquare: public S int x[1]; }; @@ -15336,7 +15372,7 @@ usingtype.res diff = --- tests/usingtype.cpp -+++ /tmp/cocci-output-128647-7c40df-usingtype.cpp ++++ /tmp/cocci-output-11082-b39868-usingtype.cpp @@ -1 +1 @@ -using mytime_t = double ; +using mytime_t = int ; @@ -15347,7 +15383,7 @@ warning: line 13: should ty_id be a metavariable? diff = --- tests/varargs.c -+++ /tmp/cocci-output-128647-69f065-varargs.c ++++ /tmp/cocci-output-11082-7e4f04-varargs.c @@ -1,6 +1,7 @@ static void @@ -15361,7 +15397,7 @@ varargs2.res diff = --- tests/varargs2.c -+++ /tmp/cocci-output-128647-7d0d8e-varargs2.c ++++ /tmp/cocci-output-11082-61e590-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { @@ -15370,7 +15406,7 @@ varargs3.res diff = --- tests/varargs3.c -+++ /tmp/cocci-output-128647-8df80c-varargs3.c ++++ /tmp/cocci-output-11082-c97938-varargs3.c @@ -1,4 +1,3 @@ -static int foo(char *fmt, ...) { @@ -15389,7 +15425,7 @@ video1bis.res diff = --- tests/video1bis.c -+++ /tmp/cocci-output-128647-f748e4-video1bis.c ++++ /tmp/cocci-output-11082-3ae582-video1bis.c @@ -3,7 +3,5 @@ void *arg) { if (cmd == VIDIOCGTUNER) { @@ -15401,7 +15437,7 @@ virtual_constructor.res diff = --- tests/virtual_constructor.cpp -+++ /tmp/cocci-output-128647-ad915c-virtual_constructor.cpp ++++ /tmp/cocci-output-11082-dd94f1-virtual_constructor.cpp @@ -4,6 +4,5 @@ class A { virtual ~A(){int i;} // destructors can be declared 'virtual' }; @@ -15412,7 +15448,7 @@ void.res diff = --- tests/void.c -+++ /tmp/cocci-output-128647-0b1323-void.c ++++ /tmp/cocci-output-11082-01ac1e-void.c @@ -2,4 +2,14 @@ int xbar(void) { return; } // this is some info about bar @@ -15431,7 +15467,7 @@ vpos.res diff = --- tests/vpos.c -+++ /tmp/cocci-output-128647-0bda8d-vpos.c ++++ /tmp/cocci-output-11082-3f9451-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); @@ -15448,7 +15484,7 @@ SPECIAL NAMES: adding wchar_t as a type diff = --- tests/wchar.c -+++ /tmp/cocci-output-128647-8b4599-wchar.c ++++ /tmp/cocci-output-11082-15b5dd-wchar.c @@ -1,13 +1,4 @@ #include #include @@ -15466,7 +15502,7 @@ whitespace.res diff = --- tests/whitespace.c -+++ /tmp/cocci-output-128647-620361-whitespace.c ++++ /tmp/cocci-output-11082-69a42c-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); @@ -15475,7 +15511,7 @@ wierd_argument.res diff = --- tests/wierd_argument.c -+++ /tmp/cocci-output-128647-0bcd90-wierd_argument.c ++++ /tmp/cocci-output-11082-a8cce4-wierd_argument.c @@ -1,7 +1,7 @@ static void ewx_i2c_setlines(snd_i2c_bus_t *bus, int clk, int data) { @@ -15491,7 +15527,7 @@ wrongcheck.res diff = --- tests/wrongcheck.c -+++ /tmp/cocci-output-128647-83d315-wrongcheck.c ++++ /tmp/cocci-output-11082-98d296-wrongcheck.c @@ -1,5 +1,3 @@ int main () { - err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, @@ -15502,7 +15538,7 @@ warning: rule starting on line 1: metavariable A not used in the + code diff = --- tests/ws2.c -+++ /tmp/cocci-output-128647-11412e-ws2.c ++++ /tmp/cocci-output-11082-86f502-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) @@ -15515,7 +15551,7 @@ SPECIAL NAMES: adding FOO as a declarer diff = --- tests/xfield.c -+++ /tmp/cocci-output-128647-cc0db7-xfield.c ++++ /tmp/cocci-output-11082-ab87b0-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; @@ -15525,7 +15561,7 @@ y2.res diff = --- tests/y2.c -+++ /tmp/cocci-output-128647-c5795f-y2.c ++++ /tmp/cocci-output-11082-2b50d3-y2.c @@ -1,10 +1,6 @@ static void asuscom_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) @@ -15540,7 +15576,7 @@ zero.res diff = --- tests/zero.c -+++ /tmp/cocci-output-128647-6e00bb-zero.c ++++ /tmp/cocci-output-11082-20cac3-zero.c @@ -1,6 +1,2 @@ int main () { - memset(command, 0, sizeof(struct sbp2_command_info)); @@ -15551,7 +15587,7 @@ zeroline.res diff = --- tests/zeroline.c -+++ /tmp/cocci-output-128647-b7ecb3-zeroline.c ++++ /tmp/cocci-output-11082-219f10-zeroline.c @@ -1,6 +1,7 @@ int main () { - int x; @@ -16407,7 +16443,7 @@ noa.res : CORRECT nocast.res : CORRECT noexcept.res : seems incorrect, but only because of code that was not parsablediff token: args VS abc -File "/tmp/cocci-output-128647-1a7b7b-noexcept.cpp", line 9, column 88, charpos = 245 +File "/tmp/cocci-output-11082-c28d7a-noexcept.cpp", line 9, column 88, charpos = 245 around = 'args', whole content = formatter_type create_formatter(boost::log::attribute_name const &name, args_map const &args) override File "tests/noexcept.res", line 10, column 20, charpos = 249 @@ -16757,7 +16793,7 @@ tdnl.res : CORRECT tdplus.res : CORRECT template_test.res : seems incorrect, but only because of code that was not parsablediff token: vector VS abc -File "/tmp/cocci-output-128647-bd9762-template_test.cpp", line 3, column 2, charpos = 23 +File "/tmp/cocci-output-11082-04262c-template_test.cpp", line 3, column 2, charpos = 23 around = 'vector', whole content = vector d; File "tests/template_test.res", line 3, column 2, charpos = 23 @@ -16928,7 +16964,7 @@ using3.res : CORRECT using4.res : CORRECT usingtest.res : seems incorrect, but only because of code that was not parsablediff token: 1 VS 2 -File "/tmp/cocci-output-128647-50a3bb-usingtest.cpp", line 12, column 104, charpos = 506 +File "/tmp/cocci-output-11082-f9d8eb-usingtest.cpp", line 12, column 104, charpos = 506 around = '1', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<1,TV>>, public ::testing::Test { File "tests/usingtest.res", line 12, column 104, charpos = 506 @@ -17845,16 +17881,16 @@ dh_ocaml W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Parsing_stat -W: coccinelle doesn't resolve dependency on unit Token_views_c +W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit Token_annot W: coccinelle doesn't resolve dependency on unit Cpp_token_c -W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit Lexer_parser +W: coccinelle doesn't resolve dependency on unit Token_views_c dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.2.deb-1_i386.deb'. dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.2.deb-1_all.deb'. +dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.2.deb-1_i386.deb'. dpkg-deb: building package 'coccinelle' in '../coccinelle_1.2.deb-1_i386.deb'. dpkg-genbuildinfo --build=binary -O../coccinelle_1.2.deb-1_i386.buildinfo dpkg-genchanges --build=binary -O../coccinelle_1.2.deb-1_i386.changes @@ -17863,12 +17899,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/47703/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/47703/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/99521 and its subdirectories -I: Current time: Tue Nov 25 05:44:48 -12 2025 -I: pbuilder-time-stamp: 1764092688 +I: removing directory /srv/workspace/pbuilder/47703 and its subdirectories +I: Current time: Thu Oct 24 01:32:34 +14 2024 +I: pbuilder-time-stamp: 1729683154