Diff of the two buildlogs: -- --- b1/build.log 2024-10-23 01:39:59.303517574 +0000 +++ b2/build.log 2024-10-23 01:49:03.268096387 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Oct 22 13:33:19 -12 2024 -I: pbuilder-time-stamp: 1729647199 +I: Current time: Tue Nov 25 22:03:02 +14 2025 +I: pbuilder-time-stamp: 1764057782 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ 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/2799349/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3363804/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Nov 25 08:03 /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/3363804/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3363804/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='0ceceff2dde94542b69e2bb661e16956' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2799349' - PS1='# ' - PS2='> ' + INVOCATION_ID=a1cf1dfcaa10477296135795c1c0a7bd + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=3363804 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.AXTFfe0K/pbuilderrc_GMJ7 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AXTFfe0K/b1 --logfile b1/build.log coccinelle_1.2.deb-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.AXTFfe0K/pbuilderrc_2BF9 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AXTFfe0K/b2 --logfile b2/build.log coccinelle_1.2.deb-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 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.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2799349/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3363804/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -334,7 +366,7 @@ Get: 186 http://deb.debian.org/debian trixie/main amd64 texlive-latex-recommended all 2024.20240829-2 [8845 kB] Get: 187 http://deb.debian.org/debian trixie/main amd64 texlive-pictures all 2024.20240829-2 [17.0 MB] Get: 188 http://deb.debian.org/debian trixie/main amd64 texlive-latex-extra all 2024.20240829-1 [20.9 MB] -Fetched 878 MB in 18s (49.8 MB/s) +Fetched 878 MB in 50s (17.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:amd64. (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 ... 19799 files and directories currently installed.) @@ -958,8 +990,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Oct 23 01:35:01 UTC 2024. -Universal Time is now: Wed Oct 23 01:35:01 UTC 2024. +Local time is now: Tue Nov 25 08:07:42 UTC 2025. +Universal Time is now: Tue Nov 25 08:07:42 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libfontenc1:amd64 (1:1.1.8-1) ... @@ -1156,7 +1188,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/3363804/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3363804/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 @@ -1166,24 +1202,24 @@ debian/rules clean dh clean --with ocaml,python3,autoreconf dh_auto_clean - make -j20 distclean + make -j42 distclean make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' CLEAN commons CLEAN globals CLEAN parsing_cocci -CLEAN parsing_c CLEAN ctl +CLEAN parsing_c CLEAN ocaml CLEAN python CLEAN engine CLEAN popl09 CLEAN extra +CLEAN spatch +CLEAN spgen rm -f coccinelle.cma coccinelle.cmxa coccinelle.a \ coccinelle.cmo coccinelle.cmx coccinelle.o \ coccinelle_modules.cmi coccinelle_modules.cmo \ coccinelle_modules.o coccinelle_modules.cmx -CLEAN spatch -CLEAN spgen CLEAN exposed-module CLEAN .depend CLEAN configure @@ -1208,7 +1244,7 @@ checking whether make supports nested variables... yes configure: determining version suffix checking for date... /usr/bin/date -configure: version suffix set to Tue, 22 Oct 2024 13:37:23 -1200 +configure: version suffix set to Tue, 25 Nov 2025 22:10:01 +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) @@ -1227,7 +1263,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 @@ -4062,7 +4098,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 -j20 + make -j42 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/x86_64-linux-gnu/ocaml/5.2.0/pyml -I /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/parmap -I /usr/lib/x86_64-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 @@ -4142,8 +4178,8 @@ OCAMLDEP parsing_c/cpp_ast_c.mli OCAMLDEP parsing_c/type_c.mli OCAMLDEP parsing_c/unparse_hrule.mli -OCAMLDEP parsing_c/parse_c.mli OCAMLDEP parsing_c/unparse_c.mli +OCAMLDEP parsing_c/parse_c.mli OCAMLDEP parsing_c/danger.mli OCAMLDEP parsing_c/parsing_consistency_c.mli OCAMLDEP parsing_c/parsing_recovery_c.mli @@ -4235,18 +4271,16 @@ OCAMLLEX parsing_cocci/lexer_cocci.mll OCAMLDEP tools/spgen/source/main.ml OCAMLDEP tools/spgen/source/spgen_test.ml -27 states, 322 transitions, table size 1450 bytes -14 states, 681 transitions, table size 2808 bytes OCAMLDEP tools/spgen/source/spgen.ml +27 states, 322 transitions, table size 1450 bytes OCAMLDEP tools/spgen/source/spgen_config.ml +14 states, 681 transitions, table size 2808 bytes OCAMLDEP tools/spgen/source/spgen_interactive.ml OCAMLDEP tools/spgen/source/file_transform.ml OCAMLDEP tools/spgen/source/script_rule.ml -OCAMLDEP tools/spgen/source/rule_header.ml OCAMLDEP tools/spgen/source/context_rule.ml +OCAMLDEP tools/spgen/source/rule_header.ml OCAMLDEP tools/spgen/source/rule_body.ml -143 states, 8123 transitions, table size 33350 bytes -23641 additional bytes used for bindings OCAMLDEP tools/spgen/source/disj_generator.ml OCAMLDEP tools/spgen/source/position_generator.ml OCAMLDEP tools/spgen/source/user_input.ml @@ -4262,20 +4296,18 @@ OCAMLDEP cocci.ml OCAMLDEP flag_cocci.ml OCAMLDEP extra/maintainers.ml -403 states, 8820 transitions, table size 37698 bytes -4123 additional bytes used for bindings OCAMLDEP extra/kbuild.ml OCAMLDEP extra/classic_patch.ml OCAMLDEP popl09/popl.ml OCAMLDEP popl09/popltoctl.ml OCAMLDEP popl09/flag_popl.ml -408 states, 16889 transitions, table size 70004 bytes -10655 additional bytes used for bindings OCAMLDEP popl09/pretty_print_popl.ml OCAMLDEP popl09/insert_quantifiers.ml OCAMLDEP popl09/asttopopl.ml OCAMLDEP popl09/ast_popl.ml OCAMLDEP engine/ctlcocci_integration.ml +143 states, 8123 transitions, table size 33350 bytes +23641 additional bytes used for bindings OCAMLDEP engine/postprocess_transinfo.ml OCAMLDEP engine/ctltotex.ml OCAMLDEP engine/asttoctl2.ml @@ -4288,6 +4320,8 @@ OCAMLDEP engine/check_reachability.ml OCAMLDEP engine/check_exhaustive_pattern.ml OCAMLDEP engine/pretty_print_engine.ml +403 states, 8820 transitions, table size 37698 bytes +4123 additional bytes used for bindings OCAMLDEP engine/lib_engine.ml OCAMLDEP engine/flag_matcher.ml OCAMLDEP python/pycocci.ml @@ -4325,6 +4359,8 @@ OCAMLDEP parsing_c/token_helpers.ml OCAMLDEP parsing_c/parse_string_c.ml OCAMLDEP parsing_c/lexer_parser.ml +408 states, 16889 transitions, table size 70004 bytes +10655 additional bytes used for bindings OCAMLDEP parsing_c/semantic_c.ml OCAMLDEP parsing_c/control_flow_c_build.ml OCAMLDEP parsing_c/pretty_print_c.ml @@ -4348,26 +4384,26 @@ OCAMLDEP parsing_cocci/git_grep.ml OCAMLDEP parsing_cocci/id_utils.ml OCAMLDEP parsing_cocci/get_constants2.ml -OCAMLDEP parsing_cocci/cocci_grep.ml OCAMLDEP parsing_cocci/dpll.ml +OCAMLDEP parsing_cocci/cocci_grep.ml OCAMLDEP parsing_cocci/disjdistr.ml OCAMLDEP parsing_cocci/cleanup_rules.ml OCAMLDEP parsing_cocci/parse_aux.ml OCAMLDEP parsing_cocci/parse_printf.ml OCAMLDEP parsing_cocci/safe_for_multi_decls.ml OCAMLDEP parsing_cocci/check_meta.ml -OCAMLDEP parsing_cocci/free_vars.ml OCAMLDEP parsing_cocci/data.ml +OCAMLDEP parsing_cocci/free_vars.ml OCAMLDEP parsing_cocci/semantic_cocci.ml OCAMLDEP parsing_cocci/function_prototypes.ml OCAMLDEP parsing_cocci/insert_plus.ml -OCAMLDEP parsing_cocci/adjust_pragmas.ml OCAMLDEP parsing_cocci/context_neg.ml -OCAMLDEP parsing_cocci/arity.ml +OCAMLDEP parsing_cocci/adjust_pragmas.ml OCAMLDEP parsing_cocci/index.ml +OCAMLDEP parsing_cocci/arity.ml OCAMLDEP parsing_cocci/unitary_ast0.ml -OCAMLDEP parsing_cocci/type_infer.ml OCAMLDEP parsing_cocci/test_exps.ml +OCAMLDEP parsing_cocci/type_infer.ml OCAMLDEP parsing_cocci/top_level.ml OCAMLDEP parsing_cocci/stmtlist.ml OCAMLDEP parsing_cocci/get_metas.ml @@ -4399,8 +4435,8 @@ OCAMLDEP commons/ocamlextra/dumper.ml OCAMLDEP parsing_c/parser_c.mli OCAMLDEP tools/spgen/source/spgen_lexer.ml -OCAMLDEP parsing_cocci/lexer_script.ml OCAMLDEP parsing_c/lexer_c.ml +OCAMLDEP parsing_cocci/lexer_script.ml OCAMLDEP parsing_cocci/lexer_cli.ml OCAMLDEP parsing_cocci/lexer_cocci.ml OCAMLC commons/ocamlextra/dumper.mli @@ -4408,8 +4444,8 @@ OCAMLC commons/common.mli OCAMLC globals/config.mli OCAMLC globals/flag.mli -OCAMLC globals/regexp_str.mli OCAMLC globals/iteration.mli +OCAMLC globals/regexp_str.mli OCAMLC globals/regexp.mli OCAMLC parsing_cocci/flag_parsing_cocci.mli OCAMLC parsing_cocci/semantic_cocci.mli @@ -4432,25 +4468,24 @@ OCAMLC enter.mli OCAMLC main.mli OCAMLC tools/spgen/source/spgen_lexer.mli -OCAMLC tools/spgen/source/spgen.mli -OCAMLC tools/spgen/source/spgen_test.mli cp globals/regexp.cmi ocaml/regexp.cmi -OCAMLC tools/spgen/source/main.mli +OCAMLC tools/spgen/source/spgen.mli cp globals/config.cmi ocaml/config.cmi +OCAMLC tools/spgen/source/spgen_test.mli 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 +OCAMLC tools/spgen/source/main.mli cp commons/commands.cmi ocaml/commands.cmi cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi OCAMLC globals/regexp.ml OCAMLC globals/config.ml OCAMLC globals/flag.ml -OCAMLC commons/commands.ml OCAMLC commons/ocamlextra/dumper.ml +OCAMLC commons/commands.ml OCAMLOPT commons/ocamlextra/dumper.ml OCAMLOPT commons/commands.ml -OCAMLOPT globals/regexp_str.ml OCAMLOPT globals/config.ml +OCAMLOPT globals/regexp_str.ml OCAMLOPT parsing_cocci/flag_parsing_cocci.ml OCAMLC parsing_cocci/ast_cocci.mli OCAMLOPT parsing_cocci/semantic_cocci.ml @@ -4459,46 +4494,31 @@ OCAMLOPT parsing_c/token_annot.ml OCAMLOPT ctl/flag_ctl.ml OCAMLOPT ctl/ast_ctl.ml -OCAMLOPT engine/flag_matcher.ml OCAMLC ctl/pretty_print_ctl.mli +cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi +OCAMLOPT engine/flag_matcher.ml OCAMLOPT popl09/flag_popl.ml OCAMLOPT flag_cocci.ml -cp commons/common.cmi ocaml/common.cmi OCAMLOPT tools/spgen/source/spgen_lexer.ml cp globals/regexp.cmo ocaml/regexp.cmo -cp globals/config.cmo ocaml/config.cmo -cp globals/flag.cmo ocaml/flag.cmo -OCAMLC parsing_c/flag_parsing_c.ml -OCAMLC globals/iteration.ml cp commons/commands.cmo ocaml/commands.cmo -OCAMLC commons/common.ml cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo -cp globals/config.cmx ocaml/config.cmx -cp commons/commands.cmx ocaml/commands.cmx -cp commons/ocamlextra/dumper.cmx ocaml/dumper.cmx -OCAMLOPT commons/common.ml +cp globals/config.cmo ocaml/config.cmo +cp globals/flag.cmo ocaml/flag.cmo OCAMLC commons/ograph_simple.mli -OCAMLOPT globals/flag.ml OCAMLC commons/ograph_extended.mli -OCAMLOPT globals/regexp.ml OCAMLC parsing_c/parsing_stat.mli OCAMLC parsing_c/token_c.mli OCAMLC parsing_c/semantic_c.mli OCAMLC parsing_c/compare_c.mli OCAMLC parsing_c/test_parsing_c.mli +cp commons/common.cmi ocaml/common.cmi OCAMLC extra/classic_patch.mli OCAMLC extra/kbuild.mli OCAMLC extra/maintainers.mli -cp globals/regexp.cmx ocaml/regexp.cmx -cp parsing_c/token_c.cmi ocaml/token_c.cmi -cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo -cp globals/iteration.cmo ocaml/iteration.cmo -OCAMLC parsing_c/token_c.ml -OCAMLOPT parsing_cocci/parse_printf.ml -OCAMLC ctl/ctl_engine.mli -cp globals/flag.cmx ocaml/flag.cmx -OCAMLC ctl/wrapper_ctl.mli -cp parsing_c/token_c.cmo ocaml/token_c.cmo +OCAMLC parsing_c/flag_parsing_c.ml +OCAMLC globals/iteration.ml +OCAMLC commons/common.ml OCAMLC parsing_cocci/ast0_cocci.mli OCAMLC parsing_cocci/pretty_print_cocci.mli OCAMLC parsing_cocci/visitor_ast.mli @@ -4508,21 +4528,34 @@ OCAMLC parsing_cocci/disjdistr.mli OCAMLC parsing_cocci/get_constants2.mli OCAMLC parsing_cocci/re_constraints.mli -OCAMLC parsing_c/ast_c.mli OCAMLC ocaml/yes_prepare_ocamlcocci.mli OCAMLC ocaml/prepare_ocamlcocci.mli OCAMLC engine/check_exhaustive_pattern.mli OCAMLC popl09/ast_popl.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/globals.mli OCAMLC tools/spgen/source/ast_tostring.mli -cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi +OCAMLC parsing_c/token_c.ml OCAMLC parsing_cocci/ast_cocci.ml +OCAMLC parsing_c/ast_c.mli +cp globals/iteration.cmo ocaml/iteration.cmo +OCAMLC ctl/ctl_engine.mli OCAMLC parsing_cocci/id_utils.mli OCAMLC testing.mli OCAMLC parsing_cocci/free_vars.mli OCAMLC popl09/asttopopl.mli OCAMLC popl09/insert_quantifiers.mli OCAMLC popl09/pretty_print_popl.mli +OCAMLC ctl/wrapper_ctl.mli +cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo +cp parsing_c/token_c.cmo ocaml/token_c.cmo +cp commons/commands.cmx ocaml/commands.cmx +OCAMLOPT globals/flag.ml +cp commons/ocamlextra/dumper.cmx ocaml/dumper.cmx +OCAMLOPT globals/regexp.ml +OCAMLOPT commons/common.ml +cp globals/config.cmx ocaml/config.cmx OCAMLC parsing_cocci/visitor_ast0_types.mli OCAMLC parsing_cocci/ast0toast.mli OCAMLC parsing_cocci/unparse_ast0.mli @@ -4556,8 +4589,8 @@ 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/type_c.mli OCAMLC ocaml/externalanalysis.mli OCAMLC ocaml/ocamlcocci_aux.mli OCAMLC ocaml/run_ocamlcocci.mli @@ -4568,18 +4601,18 @@ OCAMLC tools/spgen/source/detect_patch.mli OCAMLC tools/spgen/source/meta_variable.mli cp parsing_c/ast_c.cmi ocaml/ast_c.cmi -OCAMLC tools/spgen/source/file_transform.mli -cp parsing_c/parser_c.cmi ocaml/parser_c.cmi cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi -cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo +OCAMLC tools/spgen/source/file_transform.mli OCAMLC parsing_c/ast_c.ml OCAMLC parsing_cocci/ast0_cocci.ml -OCAMLC parsing_cocci/visitor_ast0.mli -OCAMLC parsing_cocci/iso_pattern.mli -OCAMLC parsing_cocci/parse_aux.mli -OCAMLC parsing_c/visitor_c.mli -OCAMLC parsing_c/pretty_print_c.mli -OCAMLC parsing_c/control_flow_c_build.mli +cp globals/regexp.cmx ocaml/regexp.cmx +cp globals/flag.cmx ocaml/flag.cmx +OCAMLOPT parsing_cocci/parse_printf.ml +OCAMLC tools/spgen/source/snapshot.mli +cp parsing_c/parser_c.cmi ocaml/parser_c.cmi +OCAMLC tools/spgen/source/rule_body.mli +OCAMLC tools/spgen/source/rule_header.mli +OCAMLC tools/spgen/source/context_rule.mli OCAMLC parsing_c/lexer_c.mli OCAMLC parsing_c/parse_string_c.mli OCAMLC parsing_c/token_helpers.mli @@ -4589,22 +4622,23 @@ OCAMLC engine/lib_engine.mli OCAMLC engine/check_reachability.mli OCAMLC engine/cocci_vs_c.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 -cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi -OCAMLC parsing_c/lexer_c.ml +OCAMLC parsing_cocci/parse_aux.mli +OCAMLC parsing_c/visitor_c.mli +OCAMLC parsing_c/pretty_print_c.mli +OCAMLC parsing_c/control_flow_c_build.mli +OCAMLC parsing_cocci/iso_pattern.mli +OCAMLC parsing_cocci/visitor_ast0.mli +OCAMLC tools/spgen/source/disj_generator.mli +OCAMLC tools/spgen/source/position_generator.mli OCAMLC parsing_c/cpp_token_c.mli OCAMLC tools/spgen/source/script_rule.mli OCAMLC tools/spgen/source/spgen_interactive.mli OCAMLC tools/spgen/source/spgen_config.mli -cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi +cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi +OCAMLC parsing_c/lexer_c.ml +cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo OCAMLC parsing_cocci/iso_compile.mli -MENHIR parsing_cocci/parser_cocci_menhir.mly -OCAMLC tools/spgen/source/position_generator.mli -OCAMLC tools/spgen/source/disj_generator.mli OCAMLC engine/pretty_print_engine.mli OCAMLC engine/pattern_c.mli OCAMLC engine/transformation_c.mli @@ -4612,39 +4646,42 @@ OCAMLC engine/asttoctl2.mli OCAMLC engine/ctltotex.mli OCAMLC engine/postprocess_transinfo.mli -cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi OCAMLC engine/ctlcocci_integration.mli -OCAMLC parsing_c/visitor_c.ml +cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi OCAMLC parsing_c/lib_parsing_c.mli +OCAMLC parsing_c/visitor_c.ml OCAMLC parsing_c/parsing_hacks.mli OCAMLC parsing_c/cpp_analysis_c.mli -cp commons/common.cmo ocaml/common.cmo OCAMLC parsing_c/parse_c.mli +cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi OCAMLC popl09/popltoctl.mli OCAMLC popl09/popl.mli -cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo -cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi -OCAMLC parsing_c/parser_c.ml -cp parsing_c/ast_c.cmo ocaml/ast_c.cmo -OCAMLC parsing_c/pretty_print_c.ml -OCAMLC parsing_c/lib_parsing_c.ml +MENHIR parsing_cocci/parser_cocci_menhir.mly OCAMLC parsing_c/unparse_c.mli OCAMLC parsing_c/cpp_ast_c.mli +cp parsing_c/parse_c.cmi ocaml/parse_c.cmi OCAMLC ocaml/exposed_modules.mli +cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi OCAMLC ocaml/coccilib.mli OCAMLC cocci.mli -cp parsing_c/parse_c.cmi ocaml/parse_c.cmi OCAMLC parsing_c/parse_c.ml -cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo +cp parsing_c/ast_c.cmo ocaml/ast_c.cmo +OCAMLC parsing_c/parser_c.ml +OCAMLC parsing_c/pretty_print_c.ml +OCAMLC parsing_c/lib_parsing_c.ml +cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo cp parsing_c/parse_c.cmo ocaml/parse_c.cmo +cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo +cp commons/common.cmo ocaml/common.cmo cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo cp parsing_c/parser_c.cmo ocaml/parser_c.cmo +OCAMLC python/yes_pycocci.mli OCAMLOPT commons/ograph_simple.ml OCAMLOPT commons/ograph_extended.ml -OCAMLOPT globals/iteration.ml OCAMLOPT parsing_cocci/ast_cocci.ml +OCAMLOPT globals/iteration.ml OCAMLOPT parsing_cocci/cocci_grep.ml OCAMLOPT parsing_cocci/dpll.ml OCAMLOPT parsing_cocci/git_grep.ml @@ -4652,26 +4689,25 @@ OCAMLOPT parsing_cocci/command_line.ml OCAMLOPT parsing_c/flag_parsing_c.ml OCAMLOPT parsing_c/parsing_stat.ml -OCAMLOPT parsing_c/semantic_c.ml OCAMLOPT parsing_c/token_c.ml +OCAMLOPT parsing_c/semantic_c.ml OCAMLOPT ctl/pretty_print_ctl.ml -OCAMLOPT extra/classic_patch.ml OCAMLOPT extra/kbuild.ml +cp commons/common.cmx ocaml/common.cmx +OCAMLOPT extra/classic_patch.ml OCAMLOPT extra/maintainers.ml OCAMLOPT read_options.ml -cp commons/common.cmx ocaml/common.cmx cp parsing_c/token_c.cmx ocaml/token_c.cmx cp globals/iteration.cmx ocaml/iteration.cmx OCAMLOPT -o globals/globals.cmxa cp parsing_c/flag_parsing_c.cmx ocaml/flag_parsing_c.cmx -OCAMLC python/yes_pycocci.mli OCAMLOPT -o extra/extra.cmxa OCAMLOPT -o commons/commons.cmxa OCAMLOPT ctl/ctl_engine.ml OCAMLOPT parsing_cocci/ast0_cocci.ml OCAMLOPT parsing_cocci/pretty_print_cocci.ml -OCAMLOPT parsing_c/ast_c.ml cp parsing_cocci/ast_cocci.cmx ocaml/ast_cocci.cmx +OCAMLOPT parsing_c/ast_c.ml OCAMLOPT popl09/ast_popl.ml OCAMLOPT tools/spgen/source/globals.ml OCAMLOPT tools/spgen/source/ast_tostring.ml @@ -4687,13 +4723,13 @@ OCAMLOPT parsing_c/includes.ml OCAMLOPT parsing_c/control_flow_c.ml OCAMLOPT parsing_c/lexer_parser.ml +cp parsing_c/ast_c.cmx ocaml/ast_c.cmx OCAMLOPT parsing_c/type_c.ml OCAMLOPT ocaml/externalanalysis.ml OCAMLOPT engine/isomorphisms_c_c.ml -cp parsing_c/ast_c.cmx ocaml/ast_c.cmx +OCAMLOPT parsing_cocci/visitor_ast0.ml OCAMLOPT parsing_c/visitor_c.ml OCAMLOPT engine/check_exhaustive_pattern.ml -OCAMLOPT parsing_cocci/visitor_ast0.ml OCAMLOPT popl09/asttopopl.ml OCAMLOPT popl09/pretty_print_popl.ml OCAMLOPT ctl/wrapper_ctl.ml @@ -4704,11 +4740,11 @@ cp parsing_c/visitor_c.cmx ocaml/visitor_c.cmx OCAMLOPT parsing_c/lib_parsing_c.ml OCAMLOPT parsing_c/parsing_consistency_c.ml +cp parsing_c/lib_parsing_c.cmx ocaml/lib_parsing_c.cmx OCAMLOPT parsing_c/includes_cache.ml OCAMLOPT parsing_c/pretty_print_c.ml OCAMLOPT parsing_c/danger.ml OCAMLOPT engine/c_vs_c.ml -cp parsing_c/lib_parsing_c.cmx ocaml/lib_parsing_c.cmx OCAMLOPT parsing_cocci/stmtlist.ml OCAMLOPT parsing_cocci/free_vars.ml OCAMLOPT parsing_cocci/safe_for_multi_decls.ml @@ -4717,14 +4753,14 @@ OCAMLOPT parsing_cocci/get_constants2.ml OCAMLOPT parsing_cocci/re_constraints.ml OCAMLOPT engine/asttomember.ml +OCAMLOPT parsing_cocci/id_utils.ml OCAMLOPT parsing_c/control_flow_c_build.ml OCAMLOPT parsing_c/parser_c.ml OCAMLOPT ocaml/ocamlcocci_aux.ml -OCAMLOPT parsing_c/unparse_cocci.ml +cp parsing_c/pretty_print_c.cmx ocaml/pretty_print_c.cmx OCAMLOPT python/pycocci_aux.ml +OCAMLOPT parsing_c/unparse_cocci.ml OCAMLOPT engine/pretty_print_engine.ml -cp parsing_c/pretty_print_c.cmx ocaml/pretty_print_c.cmx -OCAMLOPT parsing_cocci/id_utils.ml OCAMLOPT engine/asttoctl2.ml OCAMLOPT parsing_cocci/ast0toast.ml OCAMLOPT parsing_cocci/iso_compile.ml @@ -4732,43 +4768,43 @@ OCAMLOPT parsing_cocci/get_metas.ml OCAMLOPT parsing_cocci/test_exps.ml OCAMLOPT parsing_cocci/unitary_ast0.ml -OCAMLOPT parsing_cocci/check_meta.ml OCAMLOPT parsing_cocci/adjust_pragmas.ml +OCAMLOPT parsing_cocci/check_meta.ml OCAMLOPT parsing_cocci/adjacency.ml OCAMLOPT parsing_cocci/commas_on_lists.ml OCAMLOPT tools/spgen/source/detect_patch.ml OCAMLOPT tools/spgen/source/snapshot.ml -OCAMLOPT parsing_c/unparse_hrule.ml OCAMLOPT tools/spgen/source/position_generator.ml +OCAMLOPT parsing_c/unparse_hrule.ml +OCAMLOPT tools/spgen/source/disj_generator.ml OCAMLOPT parsing_cocci/unparse_ast0.ml OCAMLOPT parsing_cocci/unify_ast.ml OCAMLOPT parsing_cocci/type_infer.ml OCAMLOPT tools/spgen/source/meta_variable.ml -OCAMLOPT tools/spgen/source/disj_generator.ml -OCAMLOPT parsing_c/lexer_c.ml +OCAMLOPT tools/spgen/source/rule_body.ml cp parsing_c/parser_c.cmx ocaml/parser_c.cmx +OCAMLOPT parsing_c/lexer_c.ml OCAMLOPT parsing_c/parse_string_c.ml OCAMLOPT parsing_c/token_helpers.ml -OCAMLOPT tools/spgen/source/rule_body.ml OCAMLOPT tools/spgen/source/user_input.ml OCAMLOPT tools/spgen/source/rule_header.ml -OCAMLOPT popl09/popltoctl.ml +OCAMLOPT tools/spgen/source/context_rule.ml +OCAMLOPT tools/spgen/source/file_transform.ml OCAMLOPT tools/spgen/source/script_rule.ml OCAMLOPT tools/spgen/source/spgen_interactive.ml OCAMLOPT tools/spgen/source/spgen_config.ml -OCAMLOPT tools/spgen/source/file_transform.ml -OCAMLOPT tools/spgen/source/context_rule.ml -OCAMLOPT popl09/popl.ml -OCAMLOPT parsing_cocci/parse_aux.ml -OCAMLOPT -o popl09/popl09.cmxa -OCAMLOPT parsing_cocci/iso_pattern.ml +OCAMLOPT popl09/popltoctl.ml OCAMLOPT parsing_cocci/comm_assoc.ml OCAMLOPT parsing_cocci/context_neg.ml OCAMLOPT parsing_c/token_views_c.ml OCAMLOPT parsing_c/parsing_recovery_c.ml OCAMLOPT parsing_c/unparse_c.ml OCAMLOPT parsing_c/comment_annotater_c.ml +OCAMLOPT parsing_cocci/iso_pattern.ml +OCAMLOPT parsing_cocci/parse_aux.ml +OCAMLOPT popl09/popl.ml cp parsing_c/lexer_c.cmx ocaml/lexer_c.cmx +OCAMLOPT -o popl09/popl09.cmxa OCAMLOPT parsing_c/cpp_token_c.ml OCAMLOPT parsing_c/parsing_hacks.ml OCAMLOPT parsing_cocci/insert_plus.ml @@ -4782,22 +4818,22 @@ OCAMLOPT parsing_cocci/single_statement.ml OCAMLOPT parsing_cocci/function_prototypes.ml OCAMLOPT parsing_c/cpp_ast_c.ml -OCAMLOPT parsing_c/type_annoter_c.ml cp parsing_c/parse_c.cmx ocaml/parse_c.cmx +OCAMLOPT parsing_c/type_annoter_c.ml OCAMLOPT parsing_c/compare_c.ml OCAMLOPT ocaml/exposed_modules.ml OCAMLOPT parsing_c/test_parsing_c.ml OCAMLOPT ocaml/coccilib.ml OCAMLOPT -o parsing_c/parsing_c.cmxa OCAMLOPT ocaml/yes_prepare_ocamlcocci.ml -OCAMLOPT ocaml/run_ocamlcocci.ml OCAMLOPT python/yes_pycocci.ml +OCAMLOPT ocaml/run_ocamlcocci.ml OCAMLOPT python/pycocci.ml OCAMLOPT ocaml/prepare_ocamlcocci.ml OCAMLOPT -o ocaml/ocaml.cmxa OCAMLOPT -o python/python.cmxa -OCAMLOPT engine/postprocess_transinfo.ml OCAMLOPT engine/cocci_vs_c.ml +OCAMLOPT engine/postprocess_transinfo.ml OCAMLOPT parsing_cocci/parser_cocci_menhir.ml OCAMLOPT engine/pattern_c.ml OCAMLOPT engine/transformation_c.ml @@ -4811,8 +4847,8 @@ OCAMLOPT tools/spgen/source/spgen.ml OCAMLOPT tools/spgen/source/spgen_test.ml OCAMLOPT tools/spgen/source/main.ml -OCAMLOPT -o tools/spgen/source/spgen.opt OCAMLOPT testing.ml +OCAMLOPT -o tools/spgen/source/spgen.opt OCAMLOPT enter.ml OCAMLOPT main.ml OCAMLOPT -o spatch.opt @@ -4826,7 +4862,7 @@ 62.res diff = --- tests/62.c -+++ /tmp/cocci-output-2824563-90e927-62.c ++++ /tmp/cocci-output-3568883-774abc-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, @@ -4844,7 +4880,7 @@ a3.res diff = --- tests/a3.c -+++ /tmp/cocci-output-2824563-ccc0fe-a3.c ++++ /tmp/cocci-output-3568883-0262b5-a3.c @@ -1,5 +1,5 @@ static void a3d_connect() { @@ -4855,7 +4891,7 @@ a3d.res diff = --- tests/a3d.c -+++ /tmp/cocci-output-2824563-72079a-a3d.c ++++ /tmp/cocci-output-3568883-9527c2-a3d.c @@ -6,13 +6,13 @@ struct a3d { static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { @@ -4877,7 +4913,7 @@ a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c -+++ /tmp/cocci-output-2824563-5f98df-a_and_e_ver1.c ++++ /tmp/cocci-output-3568883-0b568f-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { @@ -4889,7 +4925,7 @@ ab.res diff = --- tests/ab.c -+++ /tmp/cocci-output-2824563-07a8ea-ab.c ++++ /tmp/cocci-output-3568883-033f0c-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; @@ -4900,7 +4936,7 @@ action.res diff = --- tests/action.c -+++ /tmp/cocci-output-2824563-067aa9-action.c ++++ /tmp/cocci-output-3568883-6e549c-action.c @@ -1,10 +1,8 @@ void work() { @@ -4918,7 +4954,7 @@ SPECIAL NAMES: adding list_for_each_entry as a iterator diff = --- tests/add1.c -+++ /tmp/cocci-output-2824563-748a22-add1.c ++++ /tmp/cocci-output-3568883-234489-add1.c @@ -7,6 +7,9 @@ static int create_scheduling_groups(void ret = build_groups(sd, i); } @@ -4945,7 +4981,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-2824563-df18a3-addaft.c ++++ /tmp/cocci-output-3568883-c77aa8-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); @@ -4969,7 +5005,7 @@ addafterdecl.res diff = --- tests/addafterdecl.c -+++ /tmp/cocci-output-2824563-17b2a3-addafterdecl.c ++++ /tmp/cocci-output-3568883-8666e6-addafterdecl.c @@ -1,4 +1,5 @@ int main () { int x; @@ -4979,7 +5015,7 @@ addbefore.res diff = --- tests/addbefore.c -+++ /tmp/cocci-output-2824563-99234e-addbefore.c ++++ /tmp/cocci-output-3568883-05775e-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { @@ -4990,7 +5026,7 @@ addbeforeafter.res diff = --- tests/addbeforeafter.c -+++ /tmp/cocci-output-2824563-c78e4b-addbeforeafter.c ++++ /tmp/cocci-output-3568883-cb920a-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { @@ -5003,7 +5039,7 @@ addcomm.res diff = --- tests/addcomm.c -+++ /tmp/cocci-output-2824563-cb62da-addcomm.c ++++ /tmp/cocci-output-3568883-06706b-addcomm.c @@ -1,5 +1,9 @@ int main() { - foo(); @@ -5019,7 +5055,7 @@ addelse.res diff = --- tests/addelse.c -+++ /tmp/cocci-output-2824563-cb2db9-addelse.c ++++ /tmp/cocci-output-3568883-94b39c-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; @@ -5027,7 +5063,7 @@ addes.res diff = --- tests/addes.c -+++ /tmp/cocci-output-2824563-cb5ee0-addes.c ++++ /tmp/cocci-output-3568883-f24dfe-addes.c @@ -1 +1,3 @@ int i; +struct foo { @@ -5035,7 +5071,7 @@ addfield.res diff = --- tests/addfield.c -+++ /tmp/cocci-output-2824563-0421d4-addfield.c ++++ /tmp/cocci-output-3568883-59f201-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, @@ -5047,7 +5083,7 @@ addfield2.res diff = --- tests/addfield2.c -+++ /tmp/cocci-output-2824563-868611-addfield2.c ++++ /tmp/cocci-output-3568883-da524c-addfield2.c @@ -1,17 +1,21 @@ struct foo { + int roto; @@ -5073,7 +5109,7 @@ addif.res diff = --- tests/addif.c -+++ /tmp/cocci-output-2824563-953073-addif.c ++++ /tmp/cocci-output-3568883-1fc5a5-addif.c @@ -1,7 +1,21 @@ +#ifdef FOO +/* some comment */ @@ -5099,7 +5135,7 @@ addif1.res diff = --- tests/addif1.c -+++ /tmp/cocci-output-2824563-65ba6a-addif1.c ++++ /tmp/cocci-output-3568883-1b642d-addif1.c @@ -1,7 +1,17 @@ +#ifdef FOO +int xxx() { @@ -5121,7 +5157,7 @@ addif2.res diff = --- tests/addif2.c -+++ /tmp/cocci-output-2824563-31ef33-addif2.c ++++ /tmp/cocci-output-3568883-f2f537-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; @@ -5139,7 +5175,7 @@ addifdef.res diff = --- tests/addifdef.c -+++ /tmp/cocci-output-2824563-34fdd1-addifdef.c ++++ /tmp/cocci-output-3568883-19af0f-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) @@ -5158,7 +5194,7 @@ addifelse.res diff = --- tests/addifelse.c -+++ /tmp/cocci-output-2824563-504719-addifelse.c ++++ /tmp/cocci-output-3568883-b26aa6-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) @@ -5177,7 +5213,7 @@ addifelse2.res diff = --- tests/addifelse2.c -+++ /tmp/cocci-output-2824563-d8f078-addifelse2.c ++++ /tmp/cocci-output-3568883-8e2047-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) { @@ -5197,7 +5233,7 @@ addinc.res diff = --- tests/addinc.c -+++ /tmp/cocci-output-2824563-4c7bbc-addinc.c ++++ /tmp/cocci-output-3568883-3851c2-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO @@ -5207,7 +5243,7 @@ addnl.res diff = --- tests/addnl.c -+++ /tmp/cocci-output-2824563-35d92c-addnl.c ++++ /tmp/cocci-output-3568883-c4ee00-addnl.c @@ -1,5 +1,6 @@ int main () { xxx(); @@ -5220,7 +5256,7 @@ addtoo.res diff = --- tests/addtoo.c -+++ /tmp/cocci-output-2824563-5a35f4-addtoo.c ++++ /tmp/cocci-output-3568883-a37848-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { @@ -5244,7 +5280,7 @@ addtrace.res diff = --- tests/addtrace.c -+++ /tmp/cocci-output-2824563-576985-addtrace.c ++++ /tmp/cocci-output-3568883-899dad-addtrace.c @@ -2,13 +2,24 @@ short VerDate(char *pcDate) { short sRetour = 0; @@ -5277,7 +5313,7 @@ after_if.res diff = --- tests/after_if.c -+++ /tmp/cocci-output-2824563-20959c-after_if.c ++++ /tmp/cocci-output-3568883-7baec5-after_if.c @@ -1,4 +1,4 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); @@ -5289,7 +5325,7 @@ allex.res diff = --- tests/allex.c -+++ /tmp/cocci-output-2824563-88c4b9-allex.c ++++ /tmp/cocci-output-3568883-1bc135-allex.c @@ -6,7 +6,7 @@ int main () { goto out; } @@ -5302,7 +5338,7 @@ allex2.res diff = --- tests/allex2.c -+++ /tmp/cocci-output-2824563-6214af-allex2.c ++++ /tmp/cocci-output-3568883-b2e8e9-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; @@ -5313,7 +5349,7 @@ allex3.res diff = --- tests/allex3.c -+++ /tmp/cocci-output-2824563-dd7939-allex3.c ++++ /tmp/cocci-output-3568883-db3c66-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; @@ -5323,7 +5359,7 @@ andid.res diff = --- tests/andid.c -+++ /tmp/cocci-output-2824563-de2ca1-andid.c ++++ /tmp/cocci-output-3568883-f88efa-andid.c @@ -1,5 +1,5 @@ int main () { - int frontandback = 12; @@ -5334,7 +5370,7 @@ anon.res diff = --- tests/anon.c -+++ /tmp/cocci-output-2824563-d98cf3-anon.c ++++ /tmp/cocci-output-3568883-c3f94d-anon.c @@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_ void (*done) (struct scsi_cmnd *)) { @@ -5345,7 +5381,7 @@ anonfield.res diff = --- tests/anonfield.c -+++ /tmp/cocci-output-2824563-bba1e1-anonfield.c ++++ /tmp/cocci-output-3568883-b203c5-anonfield.c @@ -1,3 +1,3 @@ struct { - int; @@ -5354,7 +5390,7 @@ ar.res diff = --- tests/ar.c -+++ /tmp/cocci-output-2824563-666ef9-ar.c ++++ /tmp/cocci-output-3568883-192c14-ar.c @@ -4,9 +4,4 @@ int main() { struct foo *x; struct bar *y; @@ -5368,7 +5404,7 @@ arg.res diff = --- tests/arg.c -+++ /tmp/cocci-output-2824563-1ec50b-arg.c ++++ /tmp/cocci-output-3568883-f2a6f8-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); @@ -5383,7 +5419,7 @@ argument.res diff = --- tests/argument.c -+++ /tmp/cocci-output-2824563-a86c5f-argument.c ++++ /tmp/cocci-output-3568883-f4de14-argument.c @@ -1,8 +1,5 @@ void main(int i){ @@ -5397,7 +5433,7 @@ arparam.res diff = --- tests/arparam.c -+++ /tmp/cocci-output-2824563-f50370-arparam.c ++++ /tmp/cocci-output-3568883-6a6f61-arparam.c @@ -1,3 +1,8 @@ +int g(int q[1024]) +{ @@ -5411,7 +5447,7 @@ SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/array_init.c -+++ /tmp/cocci-output-2824563-6c89b6-array_init.c ++++ /tmp/cocci-output-3568883-9fd808-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"); @@ -5419,7 +5455,7 @@ array_size.res diff = --- tests/array_size.c -+++ /tmp/cocci-output-2824563-9ad793-array_size.c ++++ /tmp/cocci-output-3568883-1e2de9-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) @@ -5427,7 +5463,7 @@ arraysz.res diff = --- tests/arraysz.c -+++ /tmp/cocci-output-2824563-64011e-arraysz.c ++++ /tmp/cocci-output-3568883-0953e6-arraysz.c @@ -7,4 +7,4 @@ typedef struct signature { static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ @@ -5437,7 +5473,7 @@ as_stm.res diff = --- tests/as_stm.c -+++ /tmp/cocci-output-2824563-dceba0-as_stm.c ++++ /tmp/cocci-output-3568883-4d2097-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE @@ -5454,7 +5490,7 @@ SPECIAL NAMES: adding aarg4 as a attribute diff = --- tests/attr_with_arguments.c -+++ /tmp/cocci-output-2824563-54d0c9-attr_with_arguments.c ++++ /tmp/cocci-output-3568883-cb4826-attr_with_arguments.c @@ -1,9 +1,9 @@ -aarg(1,2) int func() { - int id aarg3(1,2); @@ -5488,7 +5524,7 @@ attradd.res diff = --- tests/attradd.c -+++ /tmp/cocci-output-2824563-b735bc-attradd.c ++++ /tmp/cocci-output-3568883-429144-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; @@ -5502,7 +5538,7 @@ SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attribute_order.c -+++ /tmp/cocci-output-2824563-be1148-attribute_order.c ++++ /tmp/cocci-output-3568883-c24f1d-attribute_order.c @@ -1,3 +1,3 @@ -int __att1 * __att2 * __att3 foo() { return 0; } + @@ -5512,7 +5548,7 @@ warning: line 5: should variable be a metavariable? diff = --- tests/attributeb.c -+++ /tmp/cocci-output-2824563-b19543-attributeb.c ++++ /tmp/cocci-output-3568883-5606a2-attributeb.c @@ -1,3 +1,3 @@ int main(){ - [[lucky]] int variable; @@ -5521,7 +5557,7 @@ attributeu.res diff = --- tests/attributeu.cpp -+++ /tmp/cocci-output-2824563-dc3983-attributeu.cpp ++++ /tmp/cocci-output-3568883-0263a8-attributeu.cpp @@ -1,3 +1,3 @@ int main(){ - [[using GCC : lucky]] int variable; @@ -5533,7 +5569,7 @@ SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attrreplace.c -+++ /tmp/cocci-output-2824563-12438c-attrreplace.c ++++ /tmp/cocci-output-3568883-e3b52d-attrreplace.c @@ -1,4 +1,7 @@ -int __att1 * __att2 * __att3 foo() { aaa(0); } -int __att1 * __att2 * __att3 bar() { return 0; } @@ -5551,7 +5587,7 @@ SPECIAL NAMES: adding BUG as a declarer diff = --- tests/attrs2groups.c -+++ /tmp/cocci-output-2824563-6f7de8-attrs2groups.c ++++ /tmp/cocci-output-3568883-27c5b8-attrs2groups.c @@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic { return 42; @@ -5586,7 +5622,7 @@ b1.res diff = --- tests/b1.c -+++ /tmp/cocci-output-2824563-c780f3-b1.c ++++ /tmp/cocci-output-3568883-afd51b-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { @@ -5603,7 +5639,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-2824563-5d47bf-b2.c ++++ /tmp/cocci-output-3568883-f4c24b-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { @@ -5622,7 +5658,7 @@ bad_kfree.res diff = --- tests/bad_kfree.c -+++ /tmp/cocci-output-2824563-71973e-bad_kfree.c ++++ /tmp/cocci-output-3568883-ef10cb-bad_kfree.c @@ -14,7 +14,7 @@ int bad () { kfree(itv[i]); print("foo",itv[i]); @@ -5635,7 +5671,7 @@ bad_ptr_print.res diff = --- tests/bad_ptr_print.c -+++ /tmp/cocci-output-2824563-3ac672-bad_ptr_print.c ++++ /tmp/cocci-output-3568883-1c8336-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { @@ -5645,7 +5681,7 @@ bad_typedef.res diff = --- tests/bad_typedef.c -+++ /tmp/cocci-output-2824563-423069-bad_typedef.c ++++ /tmp/cocci-output-3568883-7d73c7-bad_typedef.c @@ -4,7 +4,7 @@ typedef struct { @@ -5665,7 +5701,7 @@ badcfg.res diff = --- tests/badcfg.c -+++ /tmp/cocci-output-2824563-4ea710-badcfg.c ++++ /tmp/cocci-output-3568883-e272fe-badcfg.c @@ -3,7 +3,7 @@ const char *netdev_cmd_to_name(enum netd #define N(val) \ case NETDEV_##val: \ @@ -5678,7 +5714,7 @@ badexp.res diff = --- tests/badexp.c -+++ /tmp/cocci-output-2824563-d8aa59-badexp.c ++++ /tmp/cocci-output-3568883-81d29a-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); @@ -5705,7 +5741,7 @@ badtypedef.res diff = --- tests/badtypedef.c -+++ /tmp/cocci-output-2824563-ed0747-badtypedef.c ++++ /tmp/cocci-output-3568883-3682b4-badtypedef.c @@ -5,7 +5,7 @@ int main() { foo_t *b; foo_t *c; @@ -5719,7 +5755,7 @@ badwhen.res diff = --- tests/badwhen.c -+++ /tmp/cocci-output-2824563-0f7557-badwhen.c ++++ /tmp/cocci-output-3568883-faa925-badwhen.c @@ -4,7 +4,5 @@ int main () { g(); } @@ -5731,7 +5767,7 @@ badzero.res diff = --- tests/badzero.c -+++ /tmp/cocci-output-2824563-98899a-badzero.c ++++ /tmp/cocci-output-3568883-65a7e8-badzero.c @@ -4,7 +4,7 @@ int main () { int z; if (y - x == 0) return; @@ -5748,7 +5784,7 @@ befS.res diff = --- tests/befS.c -+++ /tmp/cocci-output-2824563-b7dc4a-befS.c ++++ /tmp/cocci-output-3568883-a3824a-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); @@ -5787,7 +5823,7 @@ before.res diff = --- tests/before.c -+++ /tmp/cocci-output-2824563-9045b5-before.c ++++ /tmp/cocci-output-3568883-8435e4-before.c @@ -1,4 +1,6 @@ int main () { + blah(); @@ -5798,7 +5834,7 @@ befored.res diff = --- tests/befored.c -+++ /tmp/cocci-output-2824563-6592d0-befored.c ++++ /tmp/cocci-output-3568883-128496-befored.c @@ -1,4 +1,8 @@ int main() { + foo(); @@ -5813,7 +5849,7 @@ SPECIAL NAMES: adding GTypeInfo as a type diff = --- tests/ben.c -+++ /tmp/cocci-output-2824563-2d687d-ben.c ++++ /tmp/cocci-output-3568883-492702-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { @@ -5853,7 +5889,7 @@ bigin.res diff = --- tests/bigin.c -+++ /tmp/cocci-output-2824563-d2b068-bigin.c ++++ /tmp/cocci-output-3568883-72782f-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) @@ -5864,7 +5900,7 @@ bigrepl.res diff = --- tests/bigrepl.c -+++ /tmp/cocci-output-2824563-dcd761-bigrepl.c ++++ /tmp/cocci-output-3568883-0cd3f2-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), @@ -5881,7 +5917,7 @@ binop.res diff = --- tests/binop.c -+++ /tmp/cocci-output-2824563-e4e421-binop.c ++++ /tmp/cocci-output-3568883-db690d-binop.c @@ -2,10 +2,12 @@ void main() { int i = 0; int j = 0; @@ -5902,7 +5938,7 @@ warning: rule starting on line 11: metavariable v not used in the - or context code diff = --- tests/bitfield.c -+++ /tmp/cocci-output-2824563-c2fa20-bitfield.c ++++ /tmp/cocci-output-3568883-3ca72a-bitfield.c @@ -1,15 +1,15 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -5933,7 +5969,7 @@ bool1.res diff = --- tests/bool1.cpp -+++ /tmp/cocci-output-2824563-a29477-bool1.cpp ++++ /tmp/cocci-output-3568883-91e2d8-bool1.cpp @@ -1,3 +1,3 @@ atype f::g() { - return 0; @@ -5944,7 +5980,7 @@ (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c -+++ /tmp/cocci-output-2824563-8a6eb1-boolr.c ++++ /tmp/cocci-output-3568883-25991c-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; @@ -5953,7 +5989,7 @@ bracebraceline.res diff = --- tests/bracebraceline.c -+++ /tmp/cocci-output-2824563-224d7b-bracebraceline.c ++++ /tmp/cocci-output-3568883-f5f8d1-bracebraceline.c @@ -1,6 +1,5 @@ int main () { if (x) { @@ -5965,7 +6001,7 @@ braceline.res diff = --- tests/braceline.c -+++ /tmp/cocci-output-2824563-812c18-braceline.c ++++ /tmp/cocci-output-3568883-3e552d-braceline.c @@ -1,6 +1,3 @@ int main () { - if (x) { @@ -5977,7 +6013,7 @@ braces.res diff = --- tests/braces.c -+++ /tmp/cocci-output-2824563-529e4f-braces.c ++++ /tmp/cocci-output-3568883-63e490-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); @@ -5995,7 +6031,7 @@ bracket.res diff = --- tests/bracket.cpp -+++ /tmp/cocci-output-2824563-1a9550-bracket.cpp ++++ /tmp/cocci-output-3568883-16ff50-bracket.cpp @@ -1,3 +1,3 @@ int main () { - rsb_flags_t flags{flags_}; @@ -6004,7 +6040,7 @@ branchparen.res diff = --- tests/branchparen.c -+++ /tmp/cocci-output-2824563-15baef-branchparen.c ++++ /tmp/cocci-output-3568883-0b18e5-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) @@ -6021,7 +6057,7 @@ break.res diff = --- tests/break.c -+++ /tmp/cocci-output-2824563-b7550c-break.c ++++ /tmp/cocci-output-3568883-c8daf9-break.c @@ -5,8 +5,10 @@ int main () { x = 15; if (x > 1 ) { foo(); break; } @@ -6049,7 +6085,7 @@ bug1.res diff = --- tests/bug1.c -+++ /tmp/cocci-output-2824563-7e6df5-bug1.c ++++ /tmp/cocci-output-3568883-d36b42-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, @@ -6062,7 +6098,7 @@ bugon.res diff = --- tests/bugon.c -+++ /tmp/cocci-output-2824563-e92b7f-bugon.c ++++ /tmp/cocci-output-3568883-cfa5a9-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { @@ -6073,7 +6109,7 @@ bus.res diff = --- tests/bus.c -+++ /tmp/cocci-output-2824563-ab68e8-bus.c ++++ /tmp/cocci-output-3568883-79be3c-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; @@ -6086,7 +6122,7 @@ SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/cards.c -+++ /tmp/cocci-output-2824563-99e500-cards.c ++++ /tmp/cocci-output-3568883-d19513-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + @@ -6095,7 +6131,7 @@ caseprint.res diff = --- tests/caseprint.c -+++ /tmp/cocci-output-2824563-42f814-caseprint.c ++++ /tmp/cocci-output-3568883-10ea59-caseprint.c @@ -3,4 +3,10 @@ int f() { case 12: return 0; case 1: return 2; @@ -6110,7 +6146,7 @@ cast.res diff = --- tests/cast.c -+++ /tmp/cocci-output-2824563-9036cb-cast.c ++++ /tmp/cocci-output-3568883-657d8b-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; @@ -6118,7 +6154,7 @@ cast_iso.res diff = --- tests/cast_iso.c -+++ /tmp/cocci-output-2824563-3d80f1-cast_iso.c ++++ /tmp/cocci-output-3568883-d3c0fc-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { @@ -6131,7 +6167,7 @@ castdecl.res diff = --- tests/castdecl.c -+++ /tmp/cocci-output-2824563-819dcc-castdecl.c ++++ /tmp/cocci-output-3568883-389c05-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; @@ -6150,7 +6186,7 @@ cdstr.res diff = --- tests/cdstr.cpp -+++ /tmp/cocci-output-2824563-89c877-cdstr.cpp ++++ /tmp/cocci-output-3568883-6c8a50-cdstr.cpp @@ -2,11 +2,11 @@ class X @@ -6168,7 +6204,7 @@ cex_snip_field_bad.res diff = --- tests/cex_snip_field_bad.cpp -+++ /tmp/cocci-output-2824563-b5edd6-cex_snip_field_bad.cpp ++++ /tmp/cocci-output-3568883-93ce4c-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; }; @@ -6181,7 +6217,7 @@ cex_snip_field_ok.res diff = --- tests/cex_snip_field_ok.c -+++ /tmp/cocci-output-2824563-fdf988-cex_snip_field_ok.c ++++ /tmp/cocci-output-3568883-632b43-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; }; @@ -6194,7 +6230,7 @@ cex_wishlist_complex1.res diff = --- tests/cex_wishlist_complex1.c -+++ /tmp/cocci-output-2824563-2f168a-cex_wishlist_complex1.c ++++ /tmp/cocci-output-3568883-6cad85-cex_wishlist_complex1.c @@ -1,6 +1,6 @@ #include int main() { @@ -6206,7 +6242,7 @@ cex_wishlist_complex2.res diff = --- tests/cex_wishlist_complex2.c -+++ /tmp/cocci-output-2824563-11f02b-cex_wishlist_complex2.c ++++ /tmp/cocci-output-3568883-29cec9-cex_wishlist_complex2.c @@ -2,7 +2,7 @@ int main() { double d; @@ -6219,7 +6255,7 @@ cex_wishlist_complex3.res diff = --- tests/cex_wishlist_complex3.c -+++ /tmp/cocci-output-2824563-313a35-cex_wishlist_complex3.c ++++ /tmp/cocci-output-3568883-5671f9-cex_wishlist_complex3.c @@ -2,7 +2,7 @@ int main() { double d; @@ -6233,7 +6269,7 @@ change.res diff = --- tests/change.c -+++ /tmp/cocci-output-2824563-52afbc-change.c ++++ /tmp/cocci-output-3568883-1e8c8c-change.c @@ -1,5 +1,6 @@ int main () { foo(); @@ -6244,7 +6280,7 @@ change_type.res diff = --- tests/change_type.c -+++ /tmp/cocci-output-2824563-f054fe-change_type.c ++++ /tmp/cocci-output-3568883-396835-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; @@ -6254,7 +6290,7 @@ changei.res diff = --- tests/changei.c -+++ /tmp/cocci-output-2824563-a6ea67-changei.c ++++ /tmp/cocci-output-3568883-a164ff-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; @@ -6271,7 +6307,7 @@ cocci_args.res diff = --- tests/cocci_args.c -+++ /tmp/cocci-output-2824563-769846-cocci_args.c ++++ /tmp/cocci-output-3568883-340df2-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); @@ -6280,7 +6316,7 @@ com.res diff = --- tests/com.c -+++ /tmp/cocci-output-2824563-55fd15-com.c ++++ /tmp/cocci-output-3568883-5e2393-com.c @@ -1,8 +1,3 @@ int main() { - foo(); @@ -6293,7 +6329,7 @@ comadd.res diff = --- tests/comadd.c -+++ /tmp/cocci-output-2824563-f98877-comadd.c ++++ /tmp/cocci-output-3568883-5cd4a2-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment @@ -6303,7 +6339,7 @@ comj.res diff = --- tests/comj.c -+++ /tmp/cocci-output-2824563-d36bfc-comj.c ++++ /tmp/cocci-output-3568883-9777d6-comj.c @@ -2,6 +2,8 @@ int foo(int bar) { int i, j; @@ -6320,7 +6356,7 @@ comma_call.res diff = --- tests/comma_call.c -+++ /tmp/cocci-output-2824563-453f4b-comma_call.c ++++ /tmp/cocci-output-3568883-304802-comma_call.c @@ -1,10 +1,13 @@ int main() { - if (x) @@ -6342,7 +6378,7 @@ comma_if.res diff = --- tests/comma_if.c -+++ /tmp/cocci-output-2824563-388240-comma_if.c ++++ /tmp/cocci-output-3568883-b98a78-comma_if.c @@ -1,13 +1,19 @@ int main() { - if (uffdio_zeropage.zeropage == -EEXIST) @@ -6372,7 +6408,7 @@ comment_brace.res diff = --- tests/comment_brace.c -+++ /tmp/cocci-output-2824563-3a8e0d-comment_brace.c ++++ /tmp/cocci-output-3568883-0779d9-comment_brace.c @@ -1,7 +1,10 @@ int main () { @@ -6387,7 +6423,7 @@ comment_brace2.res diff = --- tests/comment_brace2.c -+++ /tmp/cocci-output-2824563-25ced1-comment_brace2.c ++++ /tmp/cocci-output-3568883-4cbd72-comment_brace2.c @@ -1,7 +1,10 @@ int main () { @@ -6412,7 +6448,7 @@ commentend.res diff = --- tests/commentend.c -+++ /tmp/cocci-output-2824563-cba960-commentend.c ++++ /tmp/cocci-output-3568883-a4d726-commentend.c @@ -1,5 +1,4 @@ int main () { foo(); @@ -6422,7 +6458,7 @@ comments.res diff = --- tests/comments.c -+++ /tmp/cocci-output-2824563-f134f8-comments.c ++++ /tmp/cocci-output-3568883-0d1681-comments.c @@ -1,5 +1,16 @@ int main() { @@ -6444,7 +6480,7 @@ SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/compare.c -+++ /tmp/cocci-output-2824563-3653e2-compare.c ++++ /tmp/cocci-output-3568883-b78c57-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { @@ -6458,7 +6494,7 @@ compare_const.res diff = --- tests/compare_const.c -+++ /tmp/cocci-output-2824563-500189-compare_const.c ++++ /tmp/cocci-output-3568883-74f27a-compare_const.c @@ -1,3 +1,3 @@ int main () { - return 0 == x; @@ -6467,7 +6503,7 @@ compare_const2.res diff = --- tests/compare_const2.c -+++ /tmp/cocci-output-2824563-97f19e-compare_const2.c ++++ /tmp/cocci-output-3568883-8493d1-compare_const2.c @@ -1,6 +1,6 @@ int main () { // int i,o; @@ -6480,7 +6516,7 @@ complexcpp.res diff = --- tests/complexcpp.cpp -+++ /tmp/cocci-output-2824563-6cda9a-complexcpp.cpp ++++ /tmp/cocci-output-3568883-c03f04-complexcpp.cpp @@ -1,3 +1,3 @@ int main() { - std::complex x; @@ -6489,7 +6525,7 @@ comreturn.res diff = --- tests/comreturn.c -+++ /tmp/cocci-output-2824563-ef82af-comreturn.c ++++ /tmp/cocci-output-3568883-c0843f-comreturn.c @@ -1,10 +1,14 @@ int main() { a(); @@ -6508,7 +6544,7 @@ condexp.res diff = --- tests/condexp.c -+++ /tmp/cocci-output-2824563-126f78-condexp.c ++++ /tmp/cocci-output-3568883-5acbfe-condexp.c @@ -5,7 +5,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay (displayname); if (!dpy) { @@ -6521,7 +6557,7 @@ const.res diff = --- tests/const.c -+++ /tmp/cocci-output-2824563-9c5e3c-const.c ++++ /tmp/cocci-output-3568883-f483a4-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); @@ -6530,7 +6566,7 @@ const1bis.res diff = --- tests/const1bis.c -+++ /tmp/cocci-output-2824563-e09a1c-const1bis.c ++++ /tmp/cocci-output-3568883-bb27d9-const1bis.c @@ -1,25 +1,25 @@ void foo(int j) { - const int i; @@ -6566,7 +6602,7 @@ const_adding.res diff = --- tests/const_adding.c -+++ /tmp/cocci-output-2824563-bdedd7-const_adding.c ++++ /tmp/cocci-output-3568883-ba2f9f-const_adding.c @@ -2,6 +2,6 @@ void main(int i) { @@ -6578,7 +6614,7 @@ const_array.res diff = --- tests/const_array.c -+++ /tmp/cocci-output-2824563-135c6c-const_array.c ++++ /tmp/cocci-output-3568883-181e68-const_array.c @@ -24,9 +24,9 @@ static const struct foo *r128_family4[] }; @@ -6597,7 +6633,7 @@ const_implicit_iso.res diff = --- tests/const_implicit_iso.c -+++ /tmp/cocci-output-2824563-9f7ea4-const_implicit_iso.c ++++ /tmp/cocci-output-3568883-f39e0d-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; @@ -6607,7 +6643,7 @@ constptr.res diff = --- tests/constptr.c -+++ /tmp/cocci-output-2824563-c8d2bc-constptr.c ++++ /tmp/cocci-output-3568883-fdd32b-constptr.c @@ -1,7 +1,7 @@ int main() { @@ -6623,7 +6659,7 @@ constraints.res diff = --- tests/constraints.c -+++ /tmp/cocci-output-2824563-8d87e5-constraints.c ++++ /tmp/cocci-output-3568883-c5dab7-constraints.c @@ -1,23 +1,23 @@ void f() @@ -6657,7 +6693,7 @@ constrem.res diff = --- tests/constrem.c -+++ /tmp/cocci-output-2824563-5ed73c-constrem.c ++++ /tmp/cocci-output-3568883-fc13ba-constrem.c @@ -1,3 +1 @@ -static const int a; @@ -6665,7 +6701,7 @@ constructor.res diff = --- tests/constructor.c -+++ /tmp/cocci-output-2824563-112a9a-constructor.c ++++ /tmp/cocci-output-3568883-3b2705-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, @@ -6677,7 +6713,7 @@ constty.res diff = --- tests/constty.c -+++ /tmp/cocci-output-2824563-3b69aa-constty.c ++++ /tmp/cocci-output-3568883-d52ab1-constty.c @@ -1,7 +1,6 @@ int main () { const int x; @@ -6689,7 +6725,7 @@ constx.res diff = --- tests/constx.c -+++ /tmp/cocci-output-2824563-ade3d9-constx.c ++++ /tmp/cocci-output-3568883-359890-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); @@ -6713,14 +6749,14 @@ cptr.res diff = --- tests/cptr.c -+++ /tmp/cocci-output-2824563-e960c7-cptr.c ++++ /tmp/cocci-output-3568883-22e198-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c -+++ /tmp/cocci-output-2824563-a510a5-cr.c ++++ /tmp/cocci-output-3568883-bfebcb-cr.c @@ -1,7 +1,6 @@ int main(void) { @@ -6736,7 +6772,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-2824563-516740-cr1a.c ++++ /tmp/cocci-output-3568883-537793-cr1a.c @@ -6,14 +6,17 @@ int __init probe_base_port(int base) if (base) b = e = base; @@ -6761,7 +6797,7 @@ warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c -+++ /tmp/cocci-output-2824563-bf4434-cs_check.c ++++ /tmp/cocci-output-3568883-a2a784-cs_check.c @@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re static void nsp_cs_config(dev_link_t *link) { @@ -6774,7 +6810,7 @@ cst.res diff = --- tests/cst.c -+++ /tmp/cocci-output-2824563-54c874-cst.c ++++ /tmp/cocci-output-3568883-db195d-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); @@ -6785,7 +6821,7 @@ cst_null.res diff = --- tests/cst_null.c -+++ /tmp/cocci-output-2824563-739f44-cst_null.c ++++ /tmp/cocci-output-3568883-823680-cst_null.c @@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; @@ -6827,7 +6863,7 @@ warning: line 4: should foo be a metavariable? diff = --- tests/cststr.c -+++ /tmp/cocci-output-2824563-d73694-cststr.c ++++ /tmp/cocci-output-3568883-569fb4-cststr.c @@ -1,3 +1,3 @@ int main () { - foo((ptr_t)"blah"); @@ -6837,7 +6873,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/csw.c -+++ /tmp/cocci-output-2824563-b2a0ea-csw.c ++++ /tmp/cocci-output-3568883-4e3e44-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { @@ -6858,7 +6894,7 @@ warning: line 6: should blockDim be a metavariable? diff = --- tests/cuda.cpp -+++ /tmp/cocci-output-2824563-15e796-cuda.cpp ++++ /tmp/cocci-output-3568883-a3bd41-cuda.cpp @@ -15,6 +15,7 @@ int main() { dim3 blockDim(16, 16, 1); @@ -6870,7 +6906,7 @@ cuda1.res diff = --- tests/cuda1.cpp -+++ /tmp/cocci-output-2824563-e05b01-cuda1.cpp ++++ /tmp/cocci-output-3568883-1b7a87-cuda1.cpp @@ -1,4 +1,4 @@ int main() { @@ -6880,7 +6916,7 @@ cuda_noattr.res diff = --- tests/cuda_noattr.cpp -+++ /tmp/cocci-output-2824563-223c69-cuda_noattr.cpp ++++ /tmp/cocci-output-3568883-00d305-cuda_noattr.cpp @@ -1,6 +1,7 @@ __global__ void kernel_2(int i) @@ -6892,7 +6928,7 @@ dbg.res diff = --- tests/dbg.c -+++ /tmp/cocci-output-2824563-7ea04f-dbg.c ++++ /tmp/cocci-output-3568883-02d725-dbg.c @@ -5,4 +5,6 @@ static inline void alloc_resource(struct if (pr) @@ -6903,7 +6939,7 @@ dbg1.res diff = --- tests/dbg1.c -+++ /tmp/cocci-output-2824563-cad5bc-dbg1.c ++++ /tmp/cocci-output-3568883-148356-dbg1.c @@ -2,4 +2,5 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { @@ -6913,7 +6949,7 @@ dc_close.res diff = --- tests/dc_close.c -+++ /tmp/cocci-output-2824563-a9a541-dc_close.c ++++ /tmp/cocci-output-3568883-4b24ba-dc_close.c @@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs) INIT_WORK(&cs->work, icc_bh, cs); @@ -6925,7 +6961,7 @@ debug.res diff = --- tests/debug.c -+++ /tmp/cocci-output-2824563-74fda8-debug.c ++++ /tmp/cocci-output-3568883-24f775-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { @@ -6935,7 +6971,7 @@ dec.res diff = --- tests/dec.c -+++ /tmp/cocci-output-2824563-6708c8-dec.c ++++ /tmp/cocci-output-3568883-34bed0-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; @@ -6947,7 +6983,7 @@ SPECIAL NAMES: adding __cb as a attribute diff = --- tests/decadd.c -+++ /tmp/cocci-output-2824563-9ad428-decadd.c ++++ /tmp/cocci-output-3568883-306f59-decadd.c @@ -1,3 +1,3 @@ struct x { - DECL(x); @@ -6957,7 +6993,7 @@ decdup2.res diff = --- tests/decdup2.c -+++ /tmp/cocci-output-2824563-24a497-decdup2.c ++++ /tmp/cocci-output-3568883-393b67-decdup2.c @@ -1,2 +1,3 @@ +int www; BTF_ID_LIST_SINGLE(bpf_ima_inode_hash_btf_ids, struct, inode) @@ -6967,7 +7003,7 @@ decl.res diff = --- tests/decl.c -+++ /tmp/cocci-output-2824563-562433-decl.c ++++ /tmp/cocci-output-3568883-144785-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -6979,7 +7015,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/decl2.c -+++ /tmp/cocci-output-2824563-3e0984-decl2.c ++++ /tmp/cocci-output-3568883-623255-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -6993,7 +7029,7 @@ warning: line 4: should v be a metavariable? diff = --- tests/decl_and_ref.cpp -+++ /tmp/cocci-output-2824563-3fb8f2-decl_and_ref.cpp ++++ /tmp/cocci-output-3568883-97baad-decl_and_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; @@ -7004,7 +7040,7 @@ warning: line 4: should b be a metavariable? diff = --- tests/decl_andand_ref.cpp -+++ /tmp/cocci-output-2824563-6892c4-decl_andand_ref.cpp ++++ /tmp/cocci-output-3568883-59ef24-decl_andand_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; @@ -7016,7 +7052,7 @@ warning: line 4: should v be a metavariable? diff = --- tests/decl_ptr_ref.cpp -+++ /tmp/cocci-output-2824563-2d5479-decl_ptr_ref.cpp ++++ /tmp/cocci-output-3568883-4dacb1-decl_ptr_ref.cpp @@ -3,5 +3,6 @@ int main() int v = 0; int a = 0; @@ -7027,7 +7063,7 @@ decl_space.res diff = --- tests/decl_space.c -+++ /tmp/cocci-output-2824563-91bee4-decl_space.c ++++ /tmp/cocci-output-3568883-19d021-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; @@ -7039,7 +7075,7 @@ decl_star.res diff = --- tests/decl_star.c -+++ /tmp/cocci-output-2824563-86cddc-decl_star.c ++++ /tmp/cocci-output-3568883-857e30-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; @@ -7051,7 +7087,7 @@ declend.res diff = --- tests/declend.c -+++ /tmp/cocci-output-2824563-c05cf6-declend.c ++++ /tmp/cocci-output-3568883-92ffcc-declend.c @@ -1,6 +1,5 @@ int x; @@ -7062,7 +7098,7 @@ declmeta.res diff = --- tests/declmeta.c -+++ /tmp/cocci-output-2824563-9a9765-declmeta.c ++++ /tmp/cocci-output-3568883-c9d76f-declmeta.c @@ -1,7 +1,7 @@ -int b,c; +int c; @@ -7077,7 +7113,7 @@ decltype.res diff = --- tests/decltype.cpp -+++ /tmp/cocci-output-2824563-0ef69e-decltype.cpp ++++ /tmp/cocci-output-3568883-87e6f5-decltype.cpp @@ -3,5 +3,5 @@ int expr; int main () { decltype(expr) expr2; @@ -7088,13 +7124,13 @@ defe.res diff = --- tests/defe.c -+++ /tmp/cocci-output-2824563-d53f34-defe.c ++++ /tmp/cocci-output-3568883-358998-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c -+++ /tmp/cocci-output-2824563-0589ee-define_exp.c ++++ /tmp/cocci-output-3568883-92b102-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) @@ -7105,7 +7141,7 @@ define_param.res diff = --- tests/define_param.c -+++ /tmp/cocci-output-2824563-13b51f-define_param.c ++++ /tmp/cocci-output-3568883-db3253-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + @@ -7122,7 +7158,7 @@ definedots.res diff = --- tests/definedots.c -+++ /tmp/cocci-output-2824563-78c1db-definedots.c ++++ /tmp/cocci-output-3568883-e7d213-definedots.c @@ -1,3 +1,3 @@ -#define a(x,y...) 3 -#define a(x,...) 3 @@ -7133,7 +7169,7 @@ defineinit.res diff = --- tests/defineinit.c -+++ /tmp/cocci-output-2824563-2e4378-defineinit.c ++++ /tmp/cocci-output-3568883-daa3c7-defineinit.c @@ -1,3 +1,3 @@ #define MYMACRO(adsf) { \ - .foo = (asdf),\ @@ -7143,7 +7179,7 @@ del2.res diff = --- tests/del2.c -+++ /tmp/cocci-output-2824563-f738b2-del2.c ++++ /tmp/cocci-output-3568883-fb1f17-del2.c @@ -4,8 +4,5 @@ int my_test_allocate_components(void) if (result != X_SUCCESS) return result; @@ -7156,7 +7192,7 @@ delete.res diff = --- tests/delete.cpp -+++ /tmp/cocci-output-2824563-5633a0-delete.cpp ++++ /tmp/cocci-output-3568883-52fa30-delete.cpp @@ -1,6 +1,5 @@ int main() { @@ -7167,7 +7203,7 @@ delete_array.res diff = --- tests/delete_array.cpp -+++ /tmp/cocci-output-2824563-4f2723-delete_array.cpp ++++ /tmp/cocci-output-3568883-757707-delete_array.cpp @@ -2,5 +2,4 @@ int main() { int * a; @@ -7177,7 +7213,7 @@ delete_function.res diff = --- tests/delete_function.c -+++ /tmp/cocci-output-2824563-556e9c-delete_function.c ++++ /tmp/cocci-output-3568883-79cc22-delete_function.c @@ -2,12 +2,6 @@ int first () { return 0; } @@ -7194,7 +7230,7 @@ delp.res diff = --- tests/delp.c -+++ /tmp/cocci-output-2824563-3e96e7-delp.c ++++ /tmp/cocci-output-3568883-84a25c-delp.c @@ -1,4 +1,4 @@ int main () { return @@ -7204,7 +7240,7 @@ depfail.res diff = --- tests/depfail.c -+++ /tmp/cocci-output-2824563-9de6af-depfail.c ++++ /tmp/cocci-output-3568883-a2e876-depfail.c @@ -1,5 +1,4 @@ int main(void) { @@ -7214,7 +7250,7 @@ deref.res diff = --- tests/deref.c -+++ /tmp/cocci-output-2824563-474b31-deref.c ++++ /tmp/cocci-output-3568883-062b18-deref.c @@ -1,6 +1,6 @@ int main () { int **q; @@ -7227,7 +7263,7 @@ destroy.res diff = --- tests/destroy.c -+++ /tmp/cocci-output-2824563-4a0b95-destroy.c ++++ /tmp/cocci-output-3568883-2056b1-destroy.c @@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f goto out; @@ -7245,7 +7281,7 @@ SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/detect_cast_attr.c -+++ /tmp/cocci-output-2824563-f180f3-detect_cast_attr.c ++++ /tmp/cocci-output-3568883-1e1825-detect_cast_attr.c @@ -2,9 +2,9 @@ int func() @@ -7274,7 +7310,7 @@ SPECIAL NAMES: adding __attr as a attribute diff = --- tests/detect_param_attr.c -+++ /tmp/cocci-output-2824563-4fc6e9-detect_param_attr.c ++++ /tmp/cocci-output-3568883-056d52-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) { @@ -7295,7 +7331,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/detect_struct_endattr.c -+++ /tmp/cocci-output-2824563-7c84a8-detect_struct_endattr.c ++++ /tmp/cocci-output-3568883-babffc-detect_struct_endattr.c @@ -2,7 +2,6 @@ struct abcd { @@ -7307,7 +7343,7 @@ detect_struct_gccattr.res diff = --- tests/detect_struct_gccattr.c -+++ /tmp/cocci-output-2824563-784f5a-detect_struct_gccattr.c ++++ /tmp/cocci-output-3568883-ff267e-detect_struct_gccattr.c @@ -1,18 +1,15 @@ struct abcd { int a; @@ -7351,7 +7387,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/devlink.c -+++ /tmp/cocci-output-2824563-9d8063-devlink.c ++++ /tmp/cocci-output-3568883-b4210e-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); @@ -7377,7 +7413,7 @@ SPECIAL NAMES: adding DISJ_DECLARER0 as a declarer diff = --- tests/disj.c -+++ /tmp/cocci-output-2824563-89fe66-disj.c ++++ /tmp/cocci-output-3568883-2e27bf-disj.c @@ -1,31 +1,31 @@ void f() { int disj_id0; @@ -7429,7 +7465,7 @@ disjexpr.res diff = --- tests/disjexpr.c -+++ /tmp/cocci-output-2824563-621cd5-disjexpr.c ++++ /tmp/cocci-output-3568883-1536ce-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); @@ -7438,7 +7474,7 @@ disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c -+++ /tmp/cocci-output-2824563-7bda31-disjexpr_ver1.c ++++ /tmp/cocci-output-3568883-ec8840-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); @@ -7447,7 +7483,7 @@ disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c -+++ /tmp/cocci-output-2824563-fcc9cf-disjexpr_ver2.c ++++ /tmp/cocci-output-3568883-ea85f4-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); @@ -7456,7 +7492,7 @@ disjid.res diff = --- tests/disjid.c -+++ /tmp/cocci-output-2824563-bedb57-disjid.c ++++ /tmp/cocci-output-3568883-631cc4-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } @@ -7470,7 +7506,7 @@ distribute.res diff = --- tests/distribute.c -+++ /tmp/cocci-output-2824563-6274fc-distribute.c ++++ /tmp/cocci-output-3568883-bb575b-distribute.c @@ -1,4 +1,4 @@ int main(int i) { @@ -7480,7 +7516,7 @@ dotcall.res diff = --- tests/dotcall.c -+++ /tmp/cocci-output-2824563-0c539d-dotcall.c ++++ /tmp/cocci-output-3568883-c1738a-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); @@ -7488,7 +7524,7 @@ dots_comma.res diff = --- tests/dots_comma.c -+++ /tmp/cocci-output-2824563-b0c974-dots_comma.c ++++ /tmp/cocci-output-3568883-259fe5-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -7498,7 +7534,7 @@ double.res diff = --- tests/double.c -+++ /tmp/cocci-output-2824563-eddb5d-double.c ++++ /tmp/cocci-output-3568883-4cac0d-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))) { @@ -7509,7 +7545,7 @@ double_assign.res diff = --- tests/double_assign.c -+++ /tmp/cocci-output-2824563-8e00d6-double_assign.c ++++ /tmp/cocci-output-3568883-cbca95-double_assign.c @@ -4,6 +4,5 @@ int main() { } @@ -7520,7 +7556,7 @@ double_lines.res diff = --- tests/double_lines.c -+++ /tmp/cocci-output-2824563-af0c30-double_lines.c ++++ /tmp/cocci-output-3568883-73f65d-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); @@ -7533,7 +7569,7 @@ doubleconst.res diff = --- tests/doubleconst.c -+++ /tmp/cocci-output-2824563-df0f8a-doubleconst.c ++++ /tmp/cocci-output-3568883-2b6f28-doubleconst.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; @@ -7542,7 +7578,7 @@ doubleconst2.res diff = --- tests/doubleconst2.c -+++ /tmp/cocci-output-2824563-a821fc-doubleconst2.c ++++ /tmp/cocci-output-3568883-76fd93-doubleconst2.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; @@ -7551,7 +7587,7 @@ doubleconst4.res diff = --- tests/doubleconst4.c -+++ /tmp/cocci-output-2824563-0a81d5-doubleconst4.c ++++ /tmp/cocci-output-3568883-8c1f41-doubleconst4.c @@ -1,3 +1,3 @@ int main () { - char const* const ccpc = &const_obj; @@ -7560,7 +7596,7 @@ doublepos.res diff = --- tests/doublepos.c -+++ /tmp/cocci-output-2824563-ae0c57-doublepos.c ++++ /tmp/cocci-output-3568883-f59cca-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); @@ -7570,7 +7606,7 @@ doubleswitch.res diff = --- tests/doubleswitch.c -+++ /tmp/cocci-output-2824563-657dec-doubleswitch.c ++++ /tmp/cocci-output-3568883-806939-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; @@ -7583,7 +7619,7 @@ doundo.res diff = --- tests/doundo.c -+++ /tmp/cocci-output-2824563-689e61-doundo.c ++++ /tmp/cocci-output-3568883-6f8ed3-doundo.c @@ -4,5 +4,5 @@ int main() { const s8 (*queue_priority_mapping)[2]; @@ -7594,7 +7630,7 @@ dowhile.res diff = --- tests/dowhile.c -+++ /tmp/cocci-output-2824563-be3b01-dowhile.c ++++ /tmp/cocci-output-3568883-9b7502-dowhile.c @@ -1,7 +1,5 @@ int main() { do { @@ -7606,7 +7642,7 @@ dowhile_4.res diff = --- tests/dowhile_4.c -+++ /tmp/cocci-output-2824563-b2779d-dowhile_4.c ++++ /tmp/cocci-output-3568883-7cc81f-dowhile_4.c @@ -2,5 +2,4 @@ int fun() { do { printf("dummy message"); @@ -7621,7 +7657,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-2824563-27b866-dowhile_for_complex.c ++++ /tmp/cocci-output-3568883-256fb6-dowhile_for_complex.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { @@ -7640,7 +7676,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-2824563-25e6ce-dowhile_nested.c ++++ /tmp/cocci-output-3568883-47f6e0-dowhile_nested.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { @@ -7654,7 +7690,7 @@ dropbr.res diff = --- tests/dropbr.c -+++ /tmp/cocci-output-2824563-0770a5-dropbr.c ++++ /tmp/cocci-output-3568883-ad042a-dropbr.c @@ -1,5 +1,4 @@ int main () { - if (a) { @@ -7666,7 +7702,7 @@ dropcom.res diff = --- tests/dropcom.c -+++ /tmp/cocci-output-2824563-c370f1-dropcom.c ++++ /tmp/cocci-output-3568883-4af5b4-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ @@ -7681,7 +7717,7 @@ dropenderr.res diff = --- tests/dropenderr.c -+++ /tmp/cocci-output-2824563-cb4a51-dropenderr.c ++++ /tmp/cocci-output-3568883-a9e1ef-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; @@ -7696,7 +7732,7 @@ dropf.res diff = --- tests/dropf.c -+++ /tmp/cocci-output-2824563-277192-dropf.c ++++ /tmp/cocci-output-3568883-94b6e0-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); @@ -7705,7 +7741,7 @@ dropparam.res diff = --- tests/dropparam.c -+++ /tmp/cocci-output-2824563-d52af5-dropparam.c ++++ /tmp/cocci-output-3568883-a0397e-dropparam.c @@ -2,11 +2,11 @@ int f(char *x, int y, char* z) { return; } @@ -7723,7 +7759,7 @@ dtest.res diff = --- tests/dtest.c -+++ /tmp/cocci-output-2824563-14f0fb-dtest.c ++++ /tmp/cocci-output-3568883-6bc83b-dtest.c @@ -1,5 +1,5 @@ int main() { struct sk_buff *e; @@ -7735,7 +7771,7 @@ SPECIAL NAMES: adding Packet as a type diff = --- tests/eb1.c -+++ /tmp/cocci-output-2824563-3f5c65-eb1.c ++++ /tmp/cocci-output-3568883-5d67f5-eb1.c @@ -1,7 +1,13 @@ int func() { int c; @@ -7754,7 +7790,7 @@ edots.res diff = --- tests/edots.c -+++ /tmp/cocci-output-2824563-655be7-edots.c ++++ /tmp/cocci-output-3568883-193f6d-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; @@ -7767,7 +7803,7 @@ edots_ver1.res diff = --- tests/edots_ver1.c -+++ /tmp/cocci-output-2824563-6b00f5-edots_ver1.c ++++ /tmp/cocci-output-3568883-d90812-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; @@ -7782,7 +7818,7 @@ efi3.res diff = --- tests/efi3.c -+++ /tmp/cocci-output-2824563-7683f7-efi3.c ++++ /tmp/cocci-output-3568883-19a9ef-efi3.c @@ -6,6 +6,6 @@ static efi_status_t virt_efi_get_time(ef goto exit; @@ -7794,7 +7830,7 @@ elsify.res diff = --- tests/elsify.c -+++ /tmp/cocci-output-2824563-3dab88-elsify.c ++++ /tmp/cocci-output-3568883-2d8083-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) @@ -7808,7 +7844,7 @@ empty.res diff = --- tests/empty.c -+++ /tmp/cocci-output-2824563-228c6e-empty.c ++++ /tmp/cocci-output-3568883-26dce7-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { @@ -7822,7 +7858,7 @@ SPECIAL NAMES: adding autofree as a attribute diff = --- tests/end_attr.c -+++ /tmp/cocci-output-2824563-78e757-end_attr.c ++++ /tmp/cocci-output-3568883-b1ce38-end_attr.c @@ -1,10 +1,12 @@ int main() { - struct foo x autofree; @@ -7841,7 +7877,7 @@ end_commas.res diff = --- tests/end_commas.c -+++ /tmp/cocci-output-2824563-ff5bdd-end_commas.c ++++ /tmp/cocci-output-3568883-de934d-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", @@ -7854,7 +7890,7 @@ endcolon.res diff = --- tests/endcolon.cpp -+++ /tmp/cocci-output-2824563-0da4f3-endcolon.cpp ++++ /tmp/cocci-output-3568883-835eb6-endcolon.cpp @@ -1,4 +1,4 @@ int main () { a::b :: c :: @@ -7867,7 +7903,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/endif.c -+++ /tmp/cocci-output-2824563-efe6e2-endif.c ++++ /tmp/cocci-output-3568883-ed25ba-endif.c @@ -2,18 +2,23 @@ void f(int i) { x = 1; @@ -7895,7 +7931,7 @@ endline.res diff = --- tests/endline.cpp -+++ /tmp/cocci-output-2824563-5935ac-endline.cpp ++++ /tmp/cocci-output-3568883-c9fb56-endline.cpp @@ -1,4 +1,4 @@ int main() { std::vector:: @@ -7905,7 +7941,7 @@ endmodif.res diff = --- tests/endmodif.c -+++ /tmp/cocci-output-2824563-fca049-endmodif.c ++++ /tmp/cocci-output-3568883-e16e81-endmodif.c @@ -1,11 +1,12 @@ -void f(void) + @@ -7949,7 +7985,7 @@ endnl.res diff = --- tests/endnl.c -+++ /tmp/cocci-output-2824563-18ac01-endnl.c ++++ /tmp/cocci-output-3568883-4a9ed0-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO @@ -7995,7 +8031,7 @@ enum.res diff = --- tests/enum.c -+++ /tmp/cocci-output-2824563-4445ba-enum.c ++++ /tmp/cocci-output-3568883-946e1c-enum.c @@ -5,5 +5,5 @@ typedef enum static reg_errcode_t regex_compile () @@ -8006,7 +8042,7 @@ enum_assign.res diff = --- tests/enum_assign.c -+++ /tmp/cocci-output-2824563-d1c0be-enum_assign.c ++++ /tmp/cocci-output-3568883-2e9851-enum_assign.c @@ -1,6 +1,7 @@ enum h { - a = 0, @@ -8020,14 +8056,14 @@ enumcast.res diff = --- tests/enumcast.c -+++ /tmp/cocci-output-2824563-41d3f8-enumcast.c ++++ /tmp/cocci-output-3568883-c113d6-enumcast.c @@ -1 +1,2 @@ +enum{x = (int)1, }; int main() { return 12; } enumcpp.res diff = --- tests/enumcpp.cpp -+++ /tmp/cocci-output-2824563-5855d2-enumcpp.cpp ++++ /tmp/cocci-output-3568883-bb0ae1-enumcpp.cpp @@ -1,32 +1,3 @@ int main() { @@ -8064,7 +8100,7 @@ enumdots.res diff = --- tests/enumdots.c -+++ /tmp/cocci-output-2824563-35f305-enumdots.c ++++ /tmp/cocci-output-3568883-29906d-enumdots.c @@ -1,3 +1,2 @@ enum binder_work_type { - BINDER_WORK_TRANSACTION = 12, @@ -8078,7 +8114,7 @@ exp.res diff = --- tests/exp.c -+++ /tmp/cocci-output-2824563-436bf5-exp.c ++++ /tmp/cocci-output-3568883-480b98-exp.c @@ -1,14 +1,14 @@ int main(int i) { @@ -8101,7 +8137,7 @@ expnest.res diff = --- tests/expnest.c -+++ /tmp/cocci-output-2824563-ba8b86-expnest.c ++++ /tmp/cocci-output-3568883-a7233a-expnest.c @@ -2,5 +2,5 @@ int main() { x = 3 + 4; x = f() + 15; @@ -8112,7 +8148,7 @@ expopt.res diff = --- tests/expopt.c -+++ /tmp/cocci-output-2824563-c86f58-expopt.c ++++ /tmp/cocci-output-3568883-c1562c-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; @@ -8123,7 +8159,7 @@ expopt2.res diff = --- tests/expopt2.c -+++ /tmp/cocci-output-2824563-0dc222-expopt2.c ++++ /tmp/cocci-output-3568883-43dc9b-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { @@ -8134,7 +8170,7 @@ expopt3.res diff = --- tests/expopt3.c -+++ /tmp/cocci-output-2824563-b425ae-expopt3.c ++++ /tmp/cocci-output-3568883-64c6e1-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8146,7 +8182,7 @@ expopt3_ver1.res diff = --- tests/expopt3_ver1.c -+++ /tmp/cocci-output-2824563-716cb5-expopt3_ver1.c ++++ /tmp/cocci-output-3568883-5c8b81-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8159,7 +8195,7 @@ expopt3_ver2.res diff = --- tests/expopt3_ver2.c -+++ /tmp/cocci-output-2824563-e7ff0d-expopt3_ver2.c ++++ /tmp/cocci-output-3568883-535818-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8171,7 +8207,7 @@ exprlist_comma.res diff = --- tests/exprlist_comma.c -+++ /tmp/cocci-output-2824563-1b5405-exprlist_comma.c ++++ /tmp/cocci-output-3568883-66dfa4-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -8181,7 +8217,7 @@ exprun.res diff = --- tests/exprun.c -+++ /tmp/cocci-output-2824563-25a315-exprun.c ++++ /tmp/cocci-output-3568883-960e69-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) @@ -8267,7 +8303,7 @@ failing_andany.res diff = --- tests/failing_andany.c -+++ /tmp/cocci-output-2824563-33272a-failing_andany.c ++++ /tmp/cocci-output-3568883-3ec346-failing_andany.c @@ -1,13 +1,9 @@ static int smc_probe1(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) @@ -8285,7 +8321,7 @@ far.res diff = --- tests/far.c -+++ /tmp/cocci-output-2824563-2211c1-far.c ++++ /tmp/cocci-output-3568883-e0945b-far.c @@ -1,7 +1,7 @@ int main(void) { @@ -8301,7 +8337,7 @@ SPECIAL NAMES: adding __counted_by as a attribute diff = --- tests/far2.c -+++ /tmp/cocci-output-2824563-64c455-far2.c ++++ /tmp/cocci-output-3568883-a88e28-far2.c @@ -1,4 +1,4 @@ struct foo { size_t element_count; @@ -8311,7 +8347,7 @@ fields.res diff = --- tests/fields.c -+++ /tmp/cocci-output-2824563-1a20b3-fields.c ++++ /tmp/cocci-output-3568883-8d9f45-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, @@ -8324,7 +8360,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c -+++ /tmp/cocci-output-2824563-4181a2-fieldsmin.c ++++ /tmp/cocci-output-3568883-889bc2-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, @@ -8335,7 +8371,7 @@ finalclass.res diff = --- tests/finalclass.cpp -+++ /tmp/cocci-output-2824563-9192e0-finalclass.cpp ++++ /tmp/cocci-output-3568883-fbf1f8-finalclass.cpp @@ -1,2 +1,2 @@ -class foo final { int x; }; +class foo final { int y; }; @@ -8347,7 +8383,7 @@ find_long.res diff = --- tests/find_long.c -+++ /tmp/cocci-output-2824563-43af98-find_long.c ++++ /tmp/cocci-output-3568883-705498-find_long.c @@ -3,8 +3,8 @@ long function() long a; int b; @@ -8363,7 +8399,7 @@ fix_flow_need.res diff = --- tests/fix_flow_need.c -+++ /tmp/cocci-output-2824563-59d0c6-fix_flow_need.c ++++ /tmp/cocci-output-3568883-b06e03-fix_flow_need.c @@ -5,7 +5,6 @@ void main(int i) { if(1) { foo(); @@ -8375,7 +8411,7 @@ flex.res diff = --- tests/flex.c -+++ /tmp/cocci-output-2824563-42d66d-flex.c ++++ /tmp/cocci-output-3568883-b05dc3-flex.c @@ -3,5 +3,5 @@ struct scmi_msg_resp_sensor_description struct { #define SENSOR_UPDATE_BASE(x) 3 @@ -8386,7 +8422,7 @@ fn_todo.res diff = --- tests/fn_todo.c -+++ /tmp/cocci-output-2824563-d29118-fn_todo.c ++++ /tmp/cocci-output-3568883-a4c61c-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; @@ -8398,7 +8434,7 @@ fnptr.res diff = --- tests/fnptr.c -+++ /tmp/cocci-output-2824563-79fba6-fnptr.c ++++ /tmp/cocci-output-3568883-0b8cb8-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, @@ -8410,14 +8446,14 @@ warning: line 6: should x be a metavariable? diff = --- tests/fnret.c -+++ /tmp/cocci-output-2824563-79ce2f-fnret.c ++++ /tmp/cocci-output-3568883-8314d5-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c -+++ /tmp/cocci-output-2824563-121570-fnty.c ++++ /tmp/cocci-output-3568883-728e1f-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { @@ -8427,14 +8463,14 @@ fntypedef.res diff = --- tests/fntypedef.c -+++ /tmp/cocci-output-2824563-c0a544-fntypedef.c ++++ /tmp/cocci-output-3568883-622a45-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-2824563-fb2ad4-forc.cpp ++++ /tmp/cocci-output-3568883-a02083-forc.cpp @@ -2,9 +2,9 @@ static void Ptngc_widediv() { while (rmask) @@ -8450,7 +8486,7 @@ fordots.res diff = --- tests/fordots.c -+++ /tmp/cocci-output-2824563-9949d7-fordots.c ++++ /tmp/cocci-output-3568883-873e59-fordots.c @@ -1,4 +1,2 @@ int main () { - for(int i = 0; i != 12; i++) a = 2; @@ -8459,7 +8495,7 @@ format.res diff = --- tests/format.c -+++ /tmp/cocci-output-2824563-40b3ff-format.c ++++ /tmp/cocci-output-3568883-cc8d68-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); @@ -8475,7 +8511,7 @@ formatlist.res diff = --- tests/formatlist.c -+++ /tmp/cocci-output-2824563-698933-formatlist.c ++++ /tmp/cocci-output-3568883-84c6f9-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); @@ -8495,7 +8531,7 @@ forrange2.res diff = --- tests/forrange2.cpp -+++ /tmp/cocci-output-2824563-ee5354-forrange2.cpp ++++ /tmp/cocci-output-3568883-1306c4-forrange2.cpp @@ -2,9 +2,9 @@ m2n::PtrM2N M2NConfiguration::getM2N(con { using std::get; @@ -8511,7 +8547,7 @@ fortest.res diff = --- tests/fortest.c -+++ /tmp/cocci-output-2824563-c28955-fortest.c ++++ /tmp/cocci-output-3568883-d5dbd1-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) @@ -8551,7 +8587,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fortype.c -+++ /tmp/cocci-output-2824563-0a58ee-fortype.c ++++ /tmp/cocci-output-3568883-84430d-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) @@ -8562,7 +8598,7 @@ four.res diff = --- tests/four.c -+++ /tmp/cocci-output-2824563-bc55aa-four.c ++++ /tmp/cocci-output-3568883-5af70f-four.c @@ -1,5 +1,3 @@ int main () { f(1); @@ -8572,7 +8608,7 @@ foura.res diff = --- tests/foura.c -+++ /tmp/cocci-output-2824563-e93a4a-foura.c ++++ /tmp/cocci-output-3568883-b29774-foura.c @@ -1,5 +1,4 @@ int main () { f(1); @@ -8582,7 +8618,7 @@ fp.res diff = --- tests/fp.c -+++ /tmp/cocci-output-2824563-6f1947-fp.c ++++ /tmp/cocci-output-3568883-559f99-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); @@ -8598,7 +8634,7 @@ fptr3.res diff = --- tests/fptr3.c -+++ /tmp/cocci-output-2824563-2b03fa-fptr3.c ++++ /tmp/cocci-output-3568883-dad9bd-fptr3.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } @@ -8614,7 +8650,7 @@ fsh.res diff = --- tests/fsh.c -+++ /tmp/cocci-output-2824563-17f6a7-fsh.c ++++ /tmp/cocci-output-3568883-71e7fb-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); @@ -8625,7 +8661,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/fun.c -+++ /tmp/cocci-output-2824563-5d7f7a-fun.c ++++ /tmp/cocci-output-3568883-45390f-fun.c @@ -1 +1,4 @@ +struct a { + int a; @@ -8634,7 +8670,7 @@ func.res diff = --- tests/func.c -+++ /tmp/cocci-output-2824563-be2c04-func.c ++++ /tmp/cocci-output-3568883-4f0119-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) @@ -8648,7 +8684,7 @@ funptr_array.res diff = --- tests/funptr_array.c -+++ /tmp/cocci-output-2824563-f7d119-funptr_array.c ++++ /tmp/cocci-output-3568883-bcef0c-funptr_array.c @@ -1 +1 @@ -int (*x[2])(int x); +int (*x[2])(char x); @@ -8692,7 +8728,7 @@ gadget_misc.res diff = --- tests/gadget_misc.c -+++ /tmp/cocci-output-2824563-9ceceb-gadget_misc.c ++++ /tmp/cocci-output-3568883-c3e2e8-gadget_misc.c @@ -2,6 +2,5 @@ int main() { if(0) @@ -8706,7 +8742,7 @@ SPECIAL NAMES: adding double3x3 as a type diff = --- tests/gadget_ninelets_typedef.c -+++ /tmp/cocci-output-2824563-52dfad-gadget_ninelets_typedef.c ++++ /tmp/cocci-output-3568883-8c89d1-gadget_ninelets_typedef.c @@ -1,21 +1,23 @@ typedef double MyFloat; @@ -8740,7 +8776,7 @@ gadget_remove_mpi_function_calls.res diff = --- tests/gadget_remove_mpi_function_calls.c -+++ /tmp/cocci-output-2824563-bf2813-gadget_remove_mpi_function_calls.c ++++ /tmp/cocci-output-3568883-6afa28-gadget_remove_mpi_function_calls.c @@ -2,6 +2,5 @@ int main(int argc, char **argv) { @@ -8751,7 +8787,7 @@ gadget_remove_used_fields.res diff = --- tests/gadget_remove_used_fields.c -+++ /tmp/cocci-output-2824563-fe3250-gadget_remove_used_fields.c ++++ /tmp/cocci-output-3568883-8044b2-gadget_remove_used_fields.c @@ -1,8 +1,8 @@ -struct particle_data { int i; int j; int k; } * P ; @@ -8789,7 +8825,7 @@ SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_soa_select.c -+++ /tmp/cocci-output-2824563-f5c7ab-gadget_soa_select.c ++++ /tmp/cocci-output-3568883-44de38-gadget_soa_select.c @@ -1,5 +1,5 @@ struct sph_particle_data_soa_t { - int *Entropy; @@ -8800,7 +8836,7 @@ gadget_sorting_hook.res diff = --- tests/gadget_sorting_hook.c -+++ /tmp/cocci-output-2824563-810c0a-gadget_sorting_hook.c ++++ /tmp/cocci-output-3568883-8c0d2c-gadget_sorting_hook.c @@ -21,7 +21,16 @@ int main() any_sort_func(P); @@ -8825,7 +8861,7 @@ SPECIAL NAMES: adding MyFloat3 as a type diff = --- tests/gadget_triplets_typedef.c -+++ /tmp/cocci-output-2824563-c01915-gadget_triplets_typedef.c ++++ /tmp/cocci-output-3568883-513cca-gadget_triplets_typedef.c @@ -3,6 +3,8 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -8854,7 +8890,7 @@ SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_triplets_typedef_ipcc.c -+++ /tmp/cocci-output-2824563-332811-gadget_triplets_typedef_ipcc.c ++++ /tmp/cocci-output-3568883-b9937c-gadget_triplets_typedef_ipcc.c @@ -3,6 +3,7 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -8875,7 +8911,7 @@ gcc_attr_with_func.res diff = --- tests/gcc_attr_with_func.c -+++ /tmp/cocci-output-2824563-78b8d6-gcc_attr_with_func.c ++++ /tmp/cocci-output-3568883-e3a04b-gcc_attr_with_func.c @@ -1,8 +1,8 @@ -int __attribute__((always_inline)) func (int a); +int __attribute__((always_inline)) func (); @@ -8912,7 +8948,7 @@ gcc_attr_with_var.res diff = --- tests/gcc_attr_with_var.c -+++ /tmp/cocci-output-2824563-58b9b5-gcc_attr_with_var.c ++++ /tmp/cocci-output-3568883-14b2dc-gcc_attr_with_var.c @@ -1,39 +1,39 @@ -int var1_end __attribute__((myattr1_end)); +int var1_end __attribute__((section(".shared"))); @@ -8971,7 +9007,7 @@ gcc_min_max.res diff = --- tests/gcc_min_max.c -+++ /tmp/cocci-output-2824563-832848-gcc_min_max.c ++++ /tmp/cocci-output-3568883-a7168f-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { @@ -8991,7 +9027,7 @@ SPECIAL NAMES: adding PVOID as a type diff = --- tests/getc.c -+++ /tmp/cocci-output-2824563-391d99-getc.c ++++ /tmp/cocci-output-3568883-dfb042-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { @@ -9001,7 +9037,7 @@ gilles-question.res diff = --- tests/gilles-question.c -+++ /tmp/cocci-output-2824563-12659d-gilles-question.c ++++ /tmp/cocci-output-3568883-e3569d-gilles-question.c @@ -2,8 +2,6 @@ void main(int i) { f(0); @@ -9015,7 +9051,7 @@ gotobreak.res diff = --- tests/gotobreak.c -+++ /tmp/cocci-output-2824563-4d6293-gotobreak.c ++++ /tmp/cocci-output-3568883-d89603-gotobreak.c @@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } @@ -9026,7 +9062,7 @@ hashhash.res diff = --- tests/hashhash.c -+++ /tmp/cocci-output-2824563-129371-hashhash.c ++++ /tmp/cocci-output-3568883-b18d46-hashhash.c @@ -1,5 +1,5 @@ #define FOO(x) foo ## x @@ -9039,7 +9075,7 @@ warning: line 4: should y be a metavariable? diff = --- tests/hd.c -+++ /tmp/cocci-output-2824563-74c203-hd.c ++++ /tmp/cocci-output-3568883-b7c62d-hd.c @@ -1,3 +1,3 @@ #include "hd.h" @@ -9048,7 +9084,7 @@ headers.res diff = --- tests/headers.c -+++ /tmp/cocci-output-2824563-f13fb1-headers.c ++++ /tmp/cocci-output-3568883-8c68a5-headers.c @@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria } @@ -9067,7 +9103,7 @@ hex.res diff = --- tests/hex.c -+++ /tmp/cocci-output-2824563-b33b4c-hex.c ++++ /tmp/cocci-output-3568883-b0959f-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); @@ -9076,7 +9112,7 @@ SPECIAL NAMES: adding FUNC as a initializer ending in a comma diff = --- tests/hil1.c -+++ /tmp/cocci-output-2824563-4df98d-hil1.c ++++ /tmp/cocci-output-3568883-eefb26-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, @@ -9101,7 +9137,7 @@ idstr.res diff = --- tests/idstr.c -+++ /tmp/cocci-output-2824563-dba3e4-idstr.c ++++ /tmp/cocci-output-3568883-a88cb5-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); @@ -9111,7 +9147,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-2824563-029561-if.c ++++ /tmp/cocci-output-3568883-43b4d5-if.c @@ -1,27 +1,37 @@ int main () { + before(); @@ -9153,7 +9189,7 @@ ifadd.res diff = --- tests/ifadd.c -+++ /tmp/cocci-output-2824563-39aca9-ifadd.c ++++ /tmp/cocci-output-3568883-ed9b66-ifadd.c @@ -3,6 +3,7 @@ int main() { if (x) { one(); @@ -9168,7 +9204,7 @@ ifd.res diff = --- tests/ifd.c -+++ /tmp/cocci-output-2824563-218cc5-ifd.c ++++ /tmp/cocci-output-3568883-c2e753-ifd.c @@ -1,9 +1,13 @@ int main () { one(); @@ -9186,7 +9222,7 @@ ifdef1.res diff = --- tests/ifdef1.c -+++ /tmp/cocci-output-2824563-5142df-ifdef1.c ++++ /tmp/cocci-output-3568883-c880fe-ifdef1.c @@ -1,5 +1,8 @@ #include #include @@ -9199,7 +9235,7 @@ ifdef2.res diff = --- tests/ifdef2.c -+++ /tmp/cocci-output-2824563-116e26-ifdef2.c ++++ /tmp/cocci-output-3568883-1626ae-ifdef2.c @@ -1,6 +1,11 @@ #include #include @@ -9215,7 +9251,7 @@ ifdef3.res diff = --- tests/ifdef3.c -+++ /tmp/cocci-output-2824563-d1d28c-ifdef3.c ++++ /tmp/cocci-output-3568883-10fd60-ifdef3.c @@ -2,6 +2,15 @@ #include #include @@ -9238,7 +9274,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-2824563-9fa059-ifdef4.c ++++ /tmp/cocci-output-3568883-9cf2df-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { @@ -9254,7 +9290,7 @@ ifdef5.res diff = --- tests/ifdef5.c -+++ /tmp/cocci-output-2824563-69bf4c-ifdef5.c ++++ /tmp/cocci-output-3568883-a1c860-ifdef5.c @@ -11,3 +11,11 @@ void init_IRQ(void) uselessCall(); } @@ -9270,7 +9306,7 @@ ifdef6.res diff = --- tests/ifdef6.c -+++ /tmp/cocci-output-2824563-4170e7-ifdef6.c ++++ /tmp/cocci-output-3568883-bb19e8-ifdef6.c @@ -1,5 +1,8 @@ #include #include @@ -9283,7 +9319,7 @@ ifdef6a.res diff = --- tests/ifdef6a.c -+++ /tmp/cocci-output-2824563-e3c3be-ifdef6a.c ++++ /tmp/cocci-output-3568883-d78ea2-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL @@ -9295,7 +9331,7 @@ ifdefmeta.res diff = --- tests/ifdefmeta.c -+++ /tmp/cocci-output-2824563-0202c0-ifdefmeta.c ++++ /tmp/cocci-output-3568883-8826a0-ifdefmeta.c @@ -1,26 +1,22 @@ int main() { - buf = alloca(3 @@ -9348,7 +9384,7 @@ ifdefmeta1.res diff = --- tests/ifdefmeta1.c -+++ /tmp/cocci-output-2824563-04f68e-ifdefmeta1.c ++++ /tmp/cocci-output-3568883-133c15-ifdefmeta1.c @@ -1,17 +1,9 @@ int main() { - buf = alloca(3 @@ -9370,7 +9406,7 @@ ifdefmeta2.res diff = --- tests/ifdefmeta2.c -+++ /tmp/cocci-output-2824563-246ef9-ifdefmeta2.c ++++ /tmp/cocci-output-3568883-ad7293-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 @@ -9387,7 +9423,7 @@ ifdefmeta3.res diff = --- tests/ifdefmeta3.c -+++ /tmp/cocci-output-2824563-e03057-ifdefmeta3.c ++++ /tmp/cocci-output-3568883-6304f7-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); @@ -9404,7 +9440,7 @@ ifdefmeta4.res diff = --- tests/ifdefmeta4.c -+++ /tmp/cocci-output-2824563-e660ff-ifdefmeta4.c ++++ /tmp/cocci-output-3568883-9b94cf-ifdefmeta4.c @@ -1,14 +1,12 @@ int main() { - buf = alloca(3 @@ -9428,7 +9464,7 @@ ifend.res diff = --- tests/ifend.c -+++ /tmp/cocci-output-2824563-8f7678-ifend.c ++++ /tmp/cocci-output-3568883-2a4d4b-ifend.c @@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG; #else static int vortex_debug = 1; @@ -9438,7 +9474,7 @@ ifgoto.res diff = --- tests/ifgoto.c -+++ /tmp/cocci-output-2824563-96fc10-ifgoto.c ++++ /tmp/cocci-output-3568883-9bc58a-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) @@ -9454,7 +9490,7 @@ SPECIAL NAMES: adding IFaceVtbl as a type diff = --- tests/ifields.c -+++ /tmp/cocci-output-2824563-714018-ifields.c ++++ /tmp/cocci-output-3568883-f7ddf6-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; @@ -9477,7 +9513,7 @@ ifif.res diff = --- tests/ifif.c -+++ /tmp/cocci-output-2824563-79bc2f-ifif.c ++++ /tmp/cocci-output-3568883-3b6ef9-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 @@ -9495,7 +9531,7 @@ ifreturn.res diff = --- tests/ifreturn.c -+++ /tmp/cocci-output-2824563-a75185-ifreturn.c ++++ /tmp/cocci-output-3568883-194df4-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { @@ -9557,7 +9593,7 @@ ifreturn3.res diff = --- tests/ifreturn3.c -+++ /tmp/cocci-output-2824563-1dd879-ifreturn3.c ++++ /tmp/cocci-output-3568883-0e5b03-ifreturn3.c @@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code) if(iFlag_Code==OK) { return OK; @@ -9583,7 +9619,7 @@ ifreturn4.res diff = --- tests/ifreturn4.c -+++ /tmp/cocci-output-2824563-7b89d7-ifreturn4.c ++++ /tmp/cocci-output-3568883-9692f1-ifreturn4.c @@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { @@ -9607,7 +9643,7 @@ ifreturn6.res diff = --- tests/ifreturn6.c -+++ /tmp/cocci-output-2824563-6dfe6b-ifreturn6.c ++++ /tmp/cocci-output-3568883-adde7f-ifreturn6.c @@ -3,7 +3,8 @@ int main () { blah(); goto end; @@ -9621,7 +9657,7 @@ ifzer.res diff = --- tests/ifzer.c -+++ /tmp/cocci-output-2824563-74e7e6-ifzer.c ++++ /tmp/cocci-output-3568883-66a6ea-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). */ @@ -9632,7 +9668,7 @@ ifzz.res diff = --- tests/ifzz.c -+++ /tmp/cocci-output-2824563-a06c93-ifzz.c ++++ /tmp/cocci-output-3568883-426109-ifzz.c @@ -2,9 +2,9 @@ if 0 char c; #endif @@ -9648,7 +9684,7 @@ inc.res diff = --- tests/inc.c -+++ /tmp/cocci-output-2824563-9ff067-inc.c ++++ /tmp/cocci-output-3568883-a30858-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 @@ -9657,7 +9693,7 @@ incl.res diff = --- tests/incl.c -+++ /tmp/cocci-output-2824563-f9918f-incl.c ++++ /tmp/cocci-output-3568883-cbf6a2-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include @@ -9670,7 +9706,7 @@ incl2.res diff = --- tests/incl2.c -+++ /tmp/cocci-output-2824563-313a2f-incl2.c ++++ /tmp/cocci-output-3568883-f58652-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include @@ -9679,7 +9715,7 @@ inclifdef.res diff = --- tests/inclifdef.c -+++ /tmp/cocci-output-2824563-88a984-inclifdef.c ++++ /tmp/cocci-output-3568883-2fc04c-inclifdef.c @@ -1,4 +1,5 @@ #include +#include @@ -9689,7 +9725,7 @@ include.res diff = --- tests/include.c -+++ /tmp/cocci-output-2824563-f3e22c-include.c ++++ /tmp/cocci-output-3568883-1e26e7-include.c @@ -1,8 +1,6 @@ #include @@ -9702,7 +9738,7 @@ incompatible_value.res diff = --- tests/incompatible_value.c -+++ /tmp/cocci-output-2824563-ff17a5-incompatible_value.c ++++ /tmp/cocci-output-3568883-0d7cec-incompatible_value.c @@ -4,6 +4,6 @@ int main() { } @@ -9719,7 +9755,7 @@ inh1.res diff = --- tests/inh1.cpp -+++ /tmp/cocci-output-2824563-30ed0c-inh1.cpp ++++ /tmp/cocci-output-3568883-4c99eb-inh1.cpp @@ -1,6 +1,7 @@ // emits warning on c++ file: 5: list of length 3 or 4 expected #include @@ -9731,7 +9767,7 @@ inherited.res diff = --- tests/inherited.c -+++ /tmp/cocci-output-2824563-ada4fc-inherited.c ++++ /tmp/cocci-output-3568883-17dc11-inherited.c @@ -6,5 +6,5 @@ void main(int i) { h(2); h2(2); @@ -9742,7 +9778,7 @@ inherited_ver1.res diff = --- tests/inherited_ver1.c -+++ /tmp/cocci-output-2824563-ad52b9-inherited_ver1.c ++++ /tmp/cocci-output-3568883-37926d-inherited_ver1.c @@ -3,8 +3,8 @@ void main(int i) { //g(1); f(2); @@ -9758,7 +9794,7 @@ inhmet.res diff = --- tests/inhmet.c -+++ /tmp/cocci-output-2824563-16ca45-inhmet.c ++++ /tmp/cocci-output-3568883-c54f49-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; @@ -9767,7 +9803,7 @@ inhpos.res diff = --- tests/inhpos.c -+++ /tmp/cocci-output-2824563-aee5bb-inhpos.c ++++ /tmp/cocci-output-3568883-57a149-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); @@ -9775,7 +9811,7 @@ init3tst.res diff = --- tests/init3tst.cpp -+++ /tmp/cocci-output-2824563-b97eb7-init3tst.cpp ++++ /tmp/cocci-output-3568883-dcdf57-init3tst.cpp @@ -1,4 +1,4 @@ class TestUpperTriangle { public: @@ -9786,7 +9822,7 @@ warning: line 5: should var be a metavariable? diff = --- tests/initializer.c -+++ /tmp/cocci-output-2824563-b6ea7a-initializer.c ++++ /tmp/cocci-output-3568883-51e505-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, @@ -9802,14 +9838,14 @@ inline.res diff = --- tests/inline.c -+++ /tmp/cocci-output-2824563-8b22f8-inline.c ++++ /tmp/cocci-output-3568883-9bc43c-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c -+++ /tmp/cocci-output-2824563-685d0a-insdef.c ++++ /tmp/cocci-output-3568883-ee65ff-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include @@ -9817,7 +9853,7 @@ instruct.res diff = --- tests/instruct.cpp -+++ /tmp/cocci-output-2824563-e82c11-instruct.cpp ++++ /tmp/cocci-output-3568883-e26c1d-instruct.cpp @@ -1,9 +1,7 @@ struct i { - using namespace foo; @@ -9838,7 +9874,7 @@ SPECIAL NAMES: adding u32 as a type diff = --- tests/int2bool-local.c -+++ /tmp/cocci-output-2824563-5366c9-int2bool-local.c ++++ /tmp/cocci-output-3568883-4d9f6b-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; @@ -9881,7 +9917,7 @@ introbrace.res diff = --- tests/introbrace.c -+++ /tmp/cocci-output-2824563-20a54c-introbrace.c ++++ /tmp/cocci-output-3568883-8a20a9-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) @@ -9900,7 +9936,7 @@ invert.res diff = --- tests/invert.c -+++ /tmp/cocci-output-2824563-eff508-invert.c ++++ /tmp/cocci-output-3568883-226e0d-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; @@ -9909,7 +9945,7 @@ ip.res diff = --- tests/ip.c -+++ /tmp/cocci-output-2824563-485f61-ip.c ++++ /tmp/cocci-output-3568883-926bfa-ip.c @@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo) { if(sNoFo == 1) @@ -9938,7 +9974,7 @@ ip2.res diff = --- tests/ip2.c -+++ /tmp/cocci-output-2824563-83f868-ip2.c ++++ /tmp/cocci-output-3568883-b5924b-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { @@ -9963,7 +9999,7 @@ isococci.res diff = --- tests/isococci.c -+++ /tmp/cocci-output-2824563-38f3ac-isococci.c ++++ /tmp/cocci-output-3568883-bb3b70-isococci.c @@ -1,6 +1,3 @@ void f(int i) { @@ -9976,7 +10012,7 @@ warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c -+++ /tmp/cocci-output-2824563-e4017f-isoif.c ++++ /tmp/cocci-output-3568883-34ba1a-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); @@ -9985,7 +10021,7 @@ isotest.res diff = --- tests/isotest.c -+++ /tmp/cocci-output-2824563-66ca51-isotest.c ++++ /tmp/cocci-output-3568883-f5aeb9-isotest.c @@ -1,7 +1,6 @@ void main(int i) { @@ -9997,7 +10033,7 @@ isotest2.res diff = --- tests/isotest2.c -+++ /tmp/cocci-output-2824563-112b1c-isotest2.c ++++ /tmp/cocci-output-3568883-ac24fb-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { @@ -10018,7 +10054,7 @@ SPECIAL NAMES: adding list_for_each as a iterator diff = --- tests/iterator.c -+++ /tmp/cocci-output-2824563-338ac8-iterator.c ++++ /tmp/cocci-output-3568883-c6c613-iterator.c @@ -2,9 +2,5 @@ void pcibios_report_status(u_int status_ { struct list_head *l; @@ -10034,7 +10070,7 @@ SPECIAL NAMES: adding for_each_set_bit as a iterator diff = --- tests/iterprint.c -+++ /tmp/cocci-output-2824563-cdec11-iterprint.c ++++ /tmp/cocci-output-3568883-a80c22-iterprint.c @@ -1,6 +1,4 @@ int main () { - for(bit = 0; bit < size; bit++) { @@ -10049,7 +10085,7 @@ julia10.res diff = --- tests/julia10.c -+++ /tmp/cocci-output-2824563-12b0ce-julia10.c ++++ /tmp/cocci-output-3568883-01c3b2-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); @@ -10061,7 +10097,7 @@ julia7.res diff = --- tests/julia7.c -+++ /tmp/cocci-output-2824563-c7bbc8-julia7.c ++++ /tmp/cocci-output-3568883-9b4e45-julia7.c @@ -1,7 +1,6 @@ int main(int x) { foo(); @@ -10074,7 +10110,7 @@ justremove.res diff = --- tests/justremove.c -+++ /tmp/cocci-output-2824563-9d58ad-justremove.c ++++ /tmp/cocci-output-3568883-0e6444-justremove.c @@ -1,17 +1,6 @@ int main () { - if (x) { @@ -10096,7 +10132,7 @@ keep_comma.res diff = --- tests/keep_comma.c -+++ /tmp/cocci-output-2824563-9c6d77-keep_comma.c ++++ /tmp/cocci-output-3568883-1ad1df-keep_comma.c @@ -1,4 +1,4 @@ int main () { - foo(); @@ -10106,7 +10142,7 @@ km.res diff = --- tests/km.c -+++ /tmp/cocci-output-2824563-efb855-km.c ++++ /tmp/cocci-output-3568883-db2651-km.c @@ -1,5 +1,4 @@ int main() { - int *data = kmalloc(element->string.length + 1, GFP_KERNEL); @@ -10117,7 +10153,7 @@ kmalloc.res diff = --- tests/kmalloc.c -+++ /tmp/cocci-output-2824563-f19231-kmalloc.c ++++ /tmp/cocci-output-3568883-66c374-kmalloc.c @@ -1,9 +1,7 @@ int main() { struct bar *y; @@ -10135,7 +10171,7 @@ warning: r: metavariable S not used in the - or context code diff = --- tests/kmc.c -+++ /tmp/cocci-output-2824563-0e0dfc-kmc.c ++++ /tmp/cocci-output-3568883-fc4fb0-kmc.c @@ -10,5 +10,4 @@ dmabounce_register_dev(struct device *de err_destroy: @@ -10145,7 +10181,7 @@ kmtest4.res diff = --- tests/kmtest4.c -+++ /tmp/cocci-output-2824563-cdd7e6-kmtest4.c ++++ /tmp/cocci-output-3568883-deee38-kmtest4.c @@ -1,4 +1,4 @@ int main () { x = kzalloc(3); @@ -10158,7 +10194,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/ktype.c -+++ /tmp/cocci-output-2824563-882936-ktype.c ++++ /tmp/cocci-output-3568883-251ed2-ktype.c @@ -3,8 +3,6 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -10174,7 +10210,7 @@ warning: r: metavariable T not used in the - or context code diff = --- tests/ktype2.c -+++ /tmp/cocci-output-2824563-12cf14-ktype2.c ++++ /tmp/cocci-output-3568883-46d37b-ktype2.c @@ -3,11 +3,8 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -10191,7 +10227,7 @@ labels_metastatement.res diff = --- tests/labels_metastatement.c -+++ /tmp/cocci-output-2824563-3ea4a9-labels_metastatement.c ++++ /tmp/cocci-output-3568883-345de3-labels_metastatement.c @@ -1,9 +1,15 @@ int foo(int i) { @@ -10214,7 +10250,7 @@ labels_metastatement_ver1.res diff = --- tests/labels_metastatement_ver1.c -+++ /tmp/cocci-output-2824563-a384d8-labels_metastatement_ver1.c ++++ /tmp/cocci-output-3568883-8c7ef2-labels_metastatement_ver1.c @@ -1,5 +1,9 @@ int foo(int i) { @@ -10229,7 +10265,7 @@ lessone.res diff = --- tests/lessone.c -+++ /tmp/cocci-output-2824563-5ecf26-lessone.c ++++ /tmp/cocci-output-3568883-332168-lessone.c @@ -1,4 +1,4 @@ int min() { - return 2.56 < 1; @@ -10243,7 +10279,7 @@ lid.res diff = --- tests/lid.c -+++ /tmp/cocci-output-2824563-89a892-lid.c ++++ /tmp/cocci-output-3568883-fefa60-lid.c @@ -1,6 +1,6 @@ int main () { int a; @@ -10255,7 +10291,7 @@ line_before_last.res diff = --- tests/line_before_last.c -+++ /tmp/cocci-output-2824563-400d8f-line_before_last.c ++++ /tmp/cocci-output-3568883-82aeb8-line_before_last.c @@ -1,17 +1,13 @@ int main () { - foo(); @@ -10277,7 +10313,7 @@ lineseq.res diff = --- tests/lineseq.c -+++ /tmp/cocci-output-2824563-f2b245-lineseq.c ++++ /tmp/cocci-output-3568883-88e2aa-lineseq.c @@ -1,6 +1,4 @@ int main () { - one(); @@ -10290,7 +10326,7 @@ list_initialization.res diff = --- tests/list_initialization.cpp -+++ /tmp/cocci-output-2824563-b01986-list_initialization.cpp ++++ /tmp/cocci-output-3568883-629069-list_initialization.cpp @@ -1,4 +1,3 @@ int main() { @@ -10320,7 +10356,7 @@ warning: line 86: should b be a metavariable? diff = --- tests/list_test.c -+++ /tmp/cocci-output-2824563-83179b-list_test.c ++++ /tmp/cocci-output-3568883-88c013-list_test.c @@ -1,55 +1,53 @@ int main () { - f(a); @@ -10519,14 +10555,14 @@ local.res diff = --- tests/local.c -+++ /tmp/cocci-output-2824563-58a80e-local.c ++++ /tmp/cocci-output-3568883-32e817-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-2824563-168481-local_macro_fn_def_and_call.cpp ++++ /tmp/cocci-output-3568883-75250d-local_macro_fn_def_and_call.cpp @@ -1,11 +1,9 @@ void f(void) { #define SEMICOLON() ; @@ -10542,7 +10578,7 @@ localglobal.res diff = --- tests/localglobal.c -+++ /tmp/cocci-output-2824563-1a460f-localglobal.c ++++ /tmp/cocci-output-3568883-74ae4b-localglobal.c @@ -3,5 +3,5 @@ int a; int main(int b) { int c; @@ -10553,7 +10589,7 @@ localid.res diff = --- tests/localid.c -+++ /tmp/cocci-output-2824563-b04698-localid.c ++++ /tmp/cocci-output-3568883-c9d44b-localid.c @@ -2,8 +2,7 @@ int c; int main () { @@ -10568,7 +10604,7 @@ localmacroparams.res diff = --- tests/localmacroparams.c -+++ /tmp/cocci-output-2824563-8ae967-localmacroparams.c ++++ /tmp/cocci-output-3568883-b3188e-localmacroparams.c @@ -1,2 +1,2 @@ -#define fn1(x) f(x) -#define fn2(x) f(y) @@ -10577,7 +10613,7 @@ log.res diff = --- tests/log.c -+++ /tmp/cocci-output-2824563-18dbc8-log.c ++++ /tmp/cocci-output-3568883-ec4367-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { @@ -10587,7 +10623,7 @@ long.res diff = --- tests/long.c -+++ /tmp/cocci-output-2824563-da970c-long.c ++++ /tmp/cocci-output-3568883-ec48c9-long.c @@ -1,4 +1,4 @@ int main () { - hello_world("this is a very long sentence. this is a very long sentence. ", @@ -10598,7 +10634,7 @@ longconst.res diff = --- tests/longconst.c -+++ /tmp/cocci-output-2824563-a5b2dd-longconst.c ++++ /tmp/cocci-output-3568883-6a51b5-longconst.c @@ -2,18 +2,18 @@ long function1() { long a; @@ -10635,7 +10671,7 @@ warning: line 5: should a be a metavariable? diff = --- tests/longline2.c -+++ /tmp/cocci-output-2824563-50552f-longline2.c ++++ /tmp/cocci-output-3568883-9a1a4f-longline2.c @@ -1,8 +1,16 @@ int main() { - f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a,shdkjsdsdhkjsa,x,y,z); @@ -10660,7 +10696,7 @@ longlong.res diff = --- tests/longlong.c -+++ /tmp/cocci-output-2824563-b5ab7b-longlong.c ++++ /tmp/cocci-output-3568883-ba9cf1-longlong.c @@ -1,6 +1,6 @@ -long long a; +int a; @@ -10673,7 +10709,7 @@ longlongint.res diff = --- tests/longlongint.c -+++ /tmp/cocci-output-2824563-6f6204-longlongint.c ++++ /tmp/cocci-output-3568883-46dad2-longlongint.c @@ -1,9 +1,3 @@ int main() { - unsigned int x; @@ -10687,7 +10723,7 @@ loop.res diff = --- tests/loop.c -+++ /tmp/cocci-output-2824563-185833-loop.c ++++ /tmp/cocci-output-3568883-b74b1c-loop.c @@ -1,5 +1,3 @@ int main() { - f(); @@ -10698,7 +10734,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/lvalue.c -+++ /tmp/cocci-output-2824563-299671-lvalue.c ++++ /tmp/cocci-output-3568883-360018-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; @@ -10710,7 +10746,7 @@ SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/macro.c -+++ /tmp/cocci-output-2824563-6493b8-macro.c ++++ /tmp/cocci-output-3568883-7abaf5-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))) @@ -10722,7 +10758,7 @@ macro_before_bool.res diff = --- tests/macro_before_bool.c -+++ /tmp/cocci-output-2824563-3b5fe8-macro_before_bool.c ++++ /tmp/cocci-output-3568883-fb6f18-macro_before_bool.c @@ -1,4 +1,5 @@ static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) { @@ -10732,7 +10768,7 @@ macro_int16.res diff = --- tests/macro_int16.c -+++ /tmp/cocci-output-2824563-c5700d-macro_int16.c ++++ /tmp/cocci-output-3568883-931836-macro_int16.c @@ -4,6 +4,6 @@ void main(void) { @@ -10744,7 +10780,7 @@ macro_params.res diff = --- tests/macro_params.c -+++ /tmp/cocci-output-2824563-b3d26c-macro_params.c ++++ /tmp/cocci-output-3568883-0c1343-macro_params.c @@ -5,9 +5,9 @@ int main(int argc, char **argv) { @@ -10760,7 +10796,7 @@ macro_stmt_when_fn_type.res diff = --- tests/macro_stmt_when_fn_type.cpp -+++ /tmp/cocci-output-2824563-1ad754-macro_stmt_when_fn_type.cpp ++++ /tmp/cocci-output-3568883-52bb3e-macro_stmt_when_fn_type.cpp @@ -1,4 +1,3 @@ -#define APPLY_FOR_ROLE return; #define APPLY_FOR_ROLE_HINT MACROSTATEMENT @@ -10769,7 +10805,7 @@ match_init.res diff = --- tests/match_init.c -+++ /tmp/cocci-output-2824563-241a30-match_init.c ++++ /tmp/cocci-output-3568883-ca6c74-match_init.c @@ -1,15 +1,15 @@ int probably_works () { - int x = 3; @@ -10792,7 +10828,7 @@ match_no_meta.res diff = --- tests/match_no_meta.c -+++ /tmp/cocci-output-2824563-8cfac4-match_no_meta.c ++++ /tmp/cocci-output-3568883-4ca0f9-match_no_meta.c @@ -2,6 +2,4 @@ void main(int i) { foo(1); @@ -10805,7 +10841,7 @@ warning: line 14: should i be a metavariable? diff = --- tests/max.c -+++ /tmp/cocci-output-2824563-a4baf0-max.c ++++ /tmp/cocci-output-3568883-917daa-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; @@ -10814,7 +10850,7 @@ md1.res diff = --- tests/md1.c -+++ /tmp/cocci-output-2824563-35f8be-md1.c ++++ /tmp/cocci-output-3568883-2e8ab6-md1.c @@ -1,9 +1,11 @@ struct main { - int a; @@ -10835,7 +10871,7 @@ md2.res diff = --- tests/md2.c -+++ /tmp/cocci-output-2824563-76a3d9-md2.c ++++ /tmp/cocci-output-3568883-c44964-md2.c @@ -1,11 +1,13 @@ int main() { - int a; @@ -10858,7 +10894,7 @@ md3.res diff = --- tests/md3.c -+++ /tmp/cocci-output-2824563-f3be31-md3.c ++++ /tmp/cocci-output-3568883-39d711-md3.c @@ -1,5 +1,5 @@ struct s_t { - double one[3]; @@ -10869,7 +10905,7 @@ mdadd.res diff = --- tests/mdadd.c -+++ /tmp/cocci-output-2824563-69dba5-mdadd.c ++++ /tmp/cocci-output-3568883-618ca5-mdadd.c @@ -1,3 +1,5 @@ int main () { - int a,b,c; @@ -10880,7 +10916,7 @@ mdec.res diff = --- tests/mdec.c -+++ /tmp/cocci-output-2824563-3eb232-mdec.c ++++ /tmp/cocci-output-3568883-fda647-mdec.c @@ -1,23 +1,26 @@ int main () { - int a, b, c, d; @@ -10945,7 +10981,7 @@ mdeclrep.res diff = --- tests/mdeclrep.c -+++ /tmp/cocci-output-2824563-c53b45-mdeclrep.c ++++ /tmp/cocci-output-3568883-f01ab9-mdeclrep.c @@ -1,19 +1,22 @@ int main () { - int a,x,c; @@ -10976,7 +11012,7 @@ mdindex.res diff = --- tests/mdindex.c -+++ /tmp/cocci-output-2824563-224792-mdindex.c ++++ /tmp/cocci-output-3568883-1e77d5-mdindex.c @@ -1,5 +1,5 @@ int main() { @@ -10988,7 +11024,7 @@ memory.res diff = --- tests/memory.c -+++ /tmp/cocci-output-2824563-ffd5c5-memory.c ++++ /tmp/cocci-output-3568883-13c66a-memory.c @@ -2,6 +2,5 @@ int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) @@ -11005,7 +11041,7 @@ SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/metaattr.c -+++ /tmp/cocci-output-2824563-0dcd3b-metaattr.c ++++ /tmp/cocci-output-3568883-a78e86-metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; @@ -11018,7 +11054,7 @@ warning: line 43: x, previously declared as a metavariable, is used as an identifier diff = --- tests/metaline.c -+++ /tmp/cocci-output-2824563-2e8536-metaline.c ++++ /tmp/cocci-output-3568883-d54e4b-metaline.c @@ -1,9 +1,8 @@ int main () { - static int x; @@ -11036,7 +11072,7 @@ metaops.res diff = --- tests/metaops.c -+++ /tmp/cocci-output-2824563-bad00a-metaops.c ++++ /tmp/cocci-output-3568883-06d66a-metaops.c @@ -2,24 +2,24 @@ int p1() { int x = 0; int y = 1; @@ -11112,7 +11148,7 @@ metaops0.res diff = --- tests/metaops0.c -+++ /tmp/cocci-output-2824563-4e8350-metaops0.c ++++ /tmp/cocci-output-3568883-4b36fe-metaops0.c @@ -1,44 +1,11 @@ int p1() { - int x = 0; @@ -11161,7 +11197,7 @@ metaruleelem.res diff = --- tests/metaruleelem.c -+++ /tmp/cocci-output-2824563-99f946-metaruleelem.c ++++ /tmp/cocci-output-3568883-c0f7db-metaruleelem.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -11174,7 +11210,7 @@ metastatement2.res diff = --- tests/metastatement2.c -+++ /tmp/cocci-output-2824563-747702-metastatement2.c ++++ /tmp/cocci-output-3568883-cf3ffc-metastatement2.c @@ -1,6 +1,5 @@ void main(int i) { @@ -11185,7 +11221,7 @@ metastatement_for.res diff = --- tests/metastatement_for.c -+++ /tmp/cocci-output-2824563-fd29c9-metastatement_for.c ++++ /tmp/cocci-output-3568883-1f3d2e-metastatement_for.c @@ -1,9 +1,6 @@ void main(void) { @@ -11199,7 +11235,7 @@ metastatement_if.res diff = --- tests/metastatement_if.c -+++ /tmp/cocci-output-2824563-e654ce-metastatement_if.c ++++ /tmp/cocci-output-3568883-f78625-metastatement_if.c @@ -5,8 +5,4 @@ void main(void) printf("%d", i); } @@ -11212,7 +11248,7 @@ mincom.res diff = --- tests/mincom.c -+++ /tmp/cocci-output-2824563-f5e9a0-mincom.c ++++ /tmp/cocci-output-3568883-6a6a76-mincom.c @@ -1,5 +1,7 @@ int main () { - if (rc == LS_NONE_FIRST_DE) @@ -11226,14 +11262,14 @@ minenum.res diff = --- tests/minenum.c -+++ /tmp/cocci-output-2824563-d9eca1-minenum.c ++++ /tmp/cocci-output-3568883-54d9d9-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-2824563-37d7c8-minenum1.c ++++ /tmp/cocci-output-3568883-ea12b4-minenum1.c @@ -1,2 +1,2 @@ -enum h { x, a, z, +enum h { x, qq, @@ -11241,7 +11277,7 @@ minfn.res diff = --- tests/minfn.c -+++ /tmp/cocci-output-2824563-adca2b-minfn.c ++++ /tmp/cocci-output-3568883-2c0a21-minfn.c @@ -1,13 +1,5 @@ int main () { return first; } @@ -11259,7 +11295,7 @@ mini_null_ref.res diff = --- tests/mini_null_ref.c -+++ /tmp/cocci-output-2824563-1ddf32-mini_null_ref.c ++++ /tmp/cocci-output-3568883-f355a1-mini_null_ref.c @@ -2,11 +2,12 @@ static int __devinit w90p910_keypad_prob { const struct w90p910_keypad_platform_data *pdata = @@ -11277,7 +11313,7 @@ miniclass.res diff = --- tests/miniclass.cpp -+++ /tmp/cocci-output-2824563-e253d7-miniclass.cpp ++++ /tmp/cocci-output-3568883-d73f00-miniclass.cpp @@ -1,28 +1,28 @@ class foo { @@ -11323,7 +11359,7 @@ miniswap.res diff = --- tests/miniswap.c -+++ /tmp/cocci-output-2824563-d06d4f-miniswap.c ++++ /tmp/cocci-output-3568883-46b058-miniswap.c @@ -1,5 +1,5 @@ static void swap_refcount_rec(void *a, void *b, int size) { @@ -11334,7 +11370,7 @@ minstruct.res diff = --- tests/minstruct.c -+++ /tmp/cocci-output-2824563-d82da3-minstruct.c ++++ /tmp/cocci-output-3568883-06ca2c-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", @@ -11347,7 +11383,7 @@ minusdots.res diff = --- tests/minusdots.c -+++ /tmp/cocci-output-2824563-a9f02a-minusdots.c ++++ /tmp/cocci-output-3568883-5b9c8f-minusdots.c @@ -1,9 +1,2 @@ void main(int i) { - @@ -11361,7 +11397,7 @@ minusdots_ver1.res diff = --- tests/minusdots_ver1.c -+++ /tmp/cocci-output-2824563-089b6a-minusdots_ver1.c ++++ /tmp/cocci-output-3568883-3500cb-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - @@ -11372,7 +11408,7 @@ move_type.res diff = --- tests/move_type.c -+++ /tmp/cocci-output-2824563-200ac8-move_type.c ++++ /tmp/cocci-output-3568883-0efbd8-move_type.c @@ -1,6 +1,6 @@ int main() { - int x; @@ -11384,7 +11420,7 @@ multi.res diff = --- tests/multi.c -+++ /tmp/cocci-output-2824563-37758b-multi.c ++++ /tmp/cocci-output-3568883-38de89-multi.c @@ -3,4 +3,5 @@ int main() { g(1); g(1); @@ -11401,7 +11437,7 @@ warning: line 4: should ab be a metavariable? diff = --- tests/multichars.c -+++ /tmp/cocci-output-2824563-a3bd6d-multichars.c ++++ /tmp/cocci-output-3568883-a35aaf-multichars.c @@ -1,5 +1,5 @@ int main () { - f('XYZ',ab); @@ -11414,7 +11450,7 @@ multidec.res diff = --- tests/multidec.c -+++ /tmp/cocci-output-2824563-c834a3-multidec.c ++++ /tmp/cocci-output-3568883-960f9c-multidec.c @@ -1,11 +1,6 @@ int main () { int x = 3,z; @@ -11431,7 +11467,7 @@ multidecl3.res diff = --- tests/multidecl3.c -+++ /tmp/cocci-output-2824563-d79c7c-multidecl3.c ++++ /tmp/cocci-output-3568883-856c53-multidecl3.c @@ -1,17 +1,13 @@ int main () { - int *i, i[12], i, k, r; @@ -11455,7 +11491,7 @@ multipath.res diff = --- tests/multipath.c -+++ /tmp/cocci-output-2824563-88bfb0-multipath.c ++++ /tmp/cocci-output-3568883-a33836-multipath.c @@ -2,8 +2,8 @@ static void multipathd(struct md_thread { for (;;) { @@ -11471,7 +11507,7 @@ warning: rule starting on line 3: metavariable T not used in the - or context code diff = --- tests/multiplus.c -+++ /tmp/cocci-output-2824563-4e4fe4-multiplus.c ++++ /tmp/cocci-output-3568883-c825d5-multiplus.c @@ -1,4 +1,4 @@ -static void xm_link_timer(void *arg) +static void xm_link_timer(struct work_struct *work) @@ -11481,7 +11517,7 @@ multiremove.res diff = --- tests/multiremove.c -+++ /tmp/cocci-output-2824563-93d2ba-multiremove.c ++++ /tmp/cocci-output-3568883-aeecf7-multiremove.c @@ -1,8 +1,5 @@ int main () { if (x) { xyz1(); } @@ -11494,7 +11530,7 @@ multistruct.res diff = --- tests/multistruct.c -+++ /tmp/cocci-output-2824563-9dc2b3-multistruct.c ++++ /tmp/cocci-output-3568883-173bec-multistruct.c @@ -1,5 +1,3 @@ -struct one x; @@ -11504,7 +11540,7 @@ multitype.res diff = --- tests/multitype.c -+++ /tmp/cocci-output-2824563-832d45-multitype.c ++++ /tmp/cocci-output-3568883-51483c-multitype.c @@ -3,5 +3,5 @@ typedef struct foo { int a; } foo_t; int main() { foo_t * x; @@ -11516,7 +11552,7 @@ warning: non_delayed_fn: metavariable T not used in the - or context code diff = --- tests/multitypedef.c -+++ /tmp/cocci-output-2824563-42470f-multitypedef.c ++++ /tmp/cocci-output-3568883-d596b3-multitypedef.c @@ -5,5 +5,5 @@ typedef struct HYSDN_CARD { int ergo_inithardware(hysdn_card * card) @@ -11527,7 +11563,7 @@ multivars.res diff = --- tests/multivars.c -+++ /tmp/cocci-output-2824563-917f02-multivars.c ++++ /tmp/cocci-output-3568883-526daf-multivars.c @@ -1,5 +1,5 @@ void main(int i) { @@ -11542,7 +11578,7 @@ warning: line 4: should kfree be a metavariable? diff = --- tests/mv.c -+++ /tmp/cocci-output-2824563-8179f2-mv.c ++++ /tmp/cocci-output-3568883-a31cfe-mv.c @@ -1,4 +1,4 @@ int main() { - u8 *xxx __free(kfree); @@ -11552,7 +11588,7 @@ na.res diff = --- tests/na.c -+++ /tmp/cocci-output-2824563-3a5c17-na.c ++++ /tmp/cocci-output-3568883-86aec9-na.c @@ -4,10 +4,10 @@ void foo() { int i; @@ -11571,7 +11607,7 @@ nameless.res diff = --- tests/nameless.c -+++ /tmp/cocci-output-2824563-e574eb-nameless.c ++++ /tmp/cocci-output-3568883-30cbda-nameless.c @@ -1,6 +1,6 @@ typedef union { int foo; @@ -11589,7 +11625,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-2824563-e2fc3c-nest.c ++++ /tmp/cocci-output-3568883-6ff835-nest.c @@ -1,7 +1,7 @@ void info_func(int i) { foo(); @@ -11603,7 +11639,7 @@ nestadd.res diff = --- tests/nestadd.c -+++ /tmp/cocci-output-2824563-82a8a5-nestadd.c ++++ /tmp/cocci-output-3568883-492b10-nestadd.c @@ -1,3 +1,12 @@ int main() { foo(); @@ -11621,7 +11657,7 @@ warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c -+++ /tmp/cocci-output-2824563-135531-nestone.c ++++ /tmp/cocci-output-3568883-04a4ce-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} @@ -11630,7 +11666,7 @@ nestseq.res diff = --- tests/nestseq.c -+++ /tmp/cocci-output-2824563-b41d25-nestseq.c ++++ /tmp/cocci-output-3568883-924210-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); @@ -11640,7 +11676,7 @@ neststruct.res diff = --- tests/neststruct.c -+++ /tmp/cocci-output-2824563-66d7c2-neststruct.c ++++ /tmp/cocci-output-3568883-3b89ac-neststruct.c @@ -8,6 +8,6 @@ struct usb_hub { static int hub_configure(struct usb_hub *hub) @@ -11654,7 +11690,7 @@ newsimple.res diff = --- tests/newsimple.cpp -+++ /tmp/cocci-output-2824563-506ab9-newsimple.cpp ++++ /tmp/cocci-output-3568883-beae02-newsimple.cpp @@ -1,6 +1,6 @@ int main() { @@ -11667,7 +11703,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/nl.c -+++ /tmp/cocci-output-2824563-5a0e33-nl.c ++++ /tmp/cocci-output-3568883-4e5953-nl.c @@ -1,4 +1,4 @@ int main() { - if (x) return; @@ -11678,7 +11714,7 @@ noa.res diff = --- tests/noa.c -+++ /tmp/cocci-output-2824563-3da720-noa.c ++++ /tmp/cocci-output-3568883-5f6423-noa.c @@ -2,6 +2,6 @@ int main () { if (x) { a(); } else { a(); } } @@ -11691,7 +11727,7 @@ SPECIAL NAMES: adding gfp_t as a type diff = --- tests/nocast.c -+++ /tmp/cocci-output-2824563-2d1bd0-nocast.c ++++ /tmp/cocci-output-3568883-4f65e2-nocast.c @@ -1,4 +1,4 @@ -int main (unsigned int __nocast gfp_mask, int x) { +int main (gfp_t gfp_mask, int x) { @@ -11701,7 +11737,7 @@ noexcept.res diff = --- tests/noexcept.cpp -+++ /tmp/cocci-output-2824563-dfcb8c-noexcept.cpp ++++ /tmp/cocci-output-3568883-2ad054-noexcept.cpp @@ -1,9 +1,9 @@ -void foo() noexcept {} +void bar() noexcept {} @@ -11718,7 +11754,7 @@ noret.res diff = --- tests/noret.c -+++ /tmp/cocci-output-2824563-4bf6df-noret.c ++++ /tmp/cocci-output-3568883-c14695-noret.c @@ -1,18 +1,18 @@ -main (int x); -static xmain (int x); @@ -11750,7 +11786,7 @@ not.res diff = --- tests/not.c -+++ /tmp/cocci-output-2824563-af0e67-not.c ++++ /tmp/cocci-output-3568883-57df29-not.c @@ -1,9 +1,9 @@ int main() { int x; @@ -11767,7 +11803,7 @@ notest.res diff = --- tests/notest.c -+++ /tmp/cocci-output-2824563-e19039-notest.c ++++ /tmp/cocci-output-3568883-e3e70f-notest.c @@ -1,6 +1,6 @@ int main() { struct foo *x; @@ -11781,7 +11817,7 @@ warning: line 6: should false be a metavariable? diff = --- tests/notnot.c -+++ /tmp/cocci-output-2824563-8d9f7f-notnot.c ++++ /tmp/cocci-output-3568883-664135-notnot.c @@ -1,4 +1,4 @@ bool foo(int bar) { @@ -11791,7 +11827,7 @@ notpp.res diff = --- tests/notpp.cpp -+++ /tmp/cocci-output-2824563-7c09c1-notpp.cpp ++++ /tmp/cocci-output-3568883-ad2a91-notpp.cpp @@ -1,4 +1,4 @@ void main () { - if (not m2n->usesTwoLevelInitialization()) @@ -11801,7 +11837,7 @@ noty.res diff = --- tests/noty.c -+++ /tmp/cocci-output-2824563-5ba995-noty.c ++++ /tmp/cocci-output-3568883-1778e7-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } @@ -11810,7 +11846,7 @@ noty2.res diff = --- tests/noty2.c -+++ /tmp/cocci-output-2824563-10d44b-noty2.c ++++ /tmp/cocci-output-3568883-d73cf1-noty2.c @@ -1,14 +1,11 @@ main () { - foo(); @@ -11830,7 +11866,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/null_bool.c -+++ /tmp/cocci-output-2824563-492a68-null_bool.c ++++ /tmp/cocci-output-3568883-52bfd2-null_bool.c @@ -1,8 +1,8 @@ int main () { - if (x != NULL) return; @@ -11847,7 +11883,7 @@ null_type.res diff = --- tests/null_type.c -+++ /tmp/cocci-output-2824563-1f7029-null_type.c ++++ /tmp/cocci-output-3568883-8cdbbe-null_type.c @@ -2,7 +2,7 @@ int main(int i) { int *x; @@ -11862,7 +11898,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/oddifdef.c -+++ /tmp/cocci-output-2824563-ec599b-oddifdef.c ++++ /tmp/cocci-output-3568883-7a1e99-oddifdef.c @@ -7,9 +7,7 @@ void one () { a = 5; @@ -11895,7 +11931,7 @@ of.res diff = --- tests/of.c -+++ /tmp/cocci-output-2824563-b77412-of.c ++++ /tmp/cocci-output-3568883-f7835a-of.c @@ -1,16 +1,20 @@ static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { @@ -11922,7 +11958,7 @@ oneline.res diff = --- tests/oneline.c -+++ /tmp/cocci-output-2824563-650d2a-oneline.c ++++ /tmp/cocci-output-3568883-500814-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); @@ -11933,7 +11969,7 @@ op.res diff = --- tests/op.c -+++ /tmp/cocci-output-2824563-b7b241-op.c ++++ /tmp/cocci-output-3568883-ba743e-op.c @@ -1,5 +1,4 @@ int main () { - return 3; @@ -11944,7 +11980,7 @@ opt.res diff = --- tests/opt.c -+++ /tmp/cocci-output-2824563-743cf4-opt.c ++++ /tmp/cocci-output-3568883-b9e0b2-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); @@ -11952,7 +11988,7 @@ optional_qualifier.res diff = --- tests/optional_qualifier.c -+++ /tmp/cocci-output-2824563-11784d-optional_qualifier.c ++++ /tmp/cocci-output-3568883-78f9be-optional_qualifier.c @@ -1,2 +1,2 @@ -int a; +const int a; @@ -11960,7 +11996,7 @@ optional_storage.res diff = --- tests/optional_storage.c -+++ /tmp/cocci-output-2824563-8ebf59-optional_storage.c ++++ /tmp/cocci-output-3568883-d02e8d-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) @@ -11970,7 +12006,7 @@ orexp.res diff = --- tests/orexp.c -+++ /tmp/cocci-output-2824563-747c77-orexp.c ++++ /tmp/cocci-output-3568883-d10bfa-orexp.c @@ -1,3 +1,3 @@ int main() { - bar(12+12); @@ -11985,7 +12021,7 @@ warning: xxx: metavariable f not used in the - or context code diff = --- tests/overshoot.c -+++ /tmp/cocci-output-2824563-8390da-overshoot.c ++++ /tmp/cocci-output-3568883-e2042f-overshoot.c @@ -1,9 +1,8 @@ int main () { a(); @@ -12005,7 +12041,7 @@ warning: line 20: should errp be a metavariable? diff = --- tests/p1p2.c -+++ /tmp/cocci-output-2824563-0233f8-p1p2.c ++++ /tmp/cocci-output-3568883-d0b2d9-p1p2.c @@ -1,3 +1,3 @@ -int main(int x, Error **errp); +int __attribute__((nonnull(1))) main(int x, Error **errp); @@ -12015,7 +12051,7 @@ p9.res diff = --- tests/p9.c -+++ /tmp/cocci-output-2824563-262186-p9.c ++++ /tmp/cocci-output-3568883-2b4a6e-p9.c @@ -1,3 +1,3 @@ -int f(int, int, int x) { +int f(int v0, int v1, int x) { @@ -12024,7 +12060,7 @@ pa.res diff = --- tests/pa.c -+++ /tmp/cocci-output-2824563-cb064b-pa.c ++++ /tmp/cocci-output-3568883-7e16dc-pa.c @@ -4,7 +4,8 @@ char *parse_args(const char *doing, unsigned num, s16 min_level, @@ -12039,7 +12075,7 @@ param.res diff = --- tests/param.c -+++ /tmp/cocci-output-2824563-67efff-param.c ++++ /tmp/cocci-output-3568883-fa760e-param.c @@ -1 +1 @@ -void foo() { return; } + @@ -12048,7 +12084,7 @@ warning: line 14: should y be a metavariable? diff = --- tests/param_end.c -+++ /tmp/cocci-output-2824563-d01fb5-param_end.c ++++ /tmp/cocci-output-3568883-0940a2-param_end.c @@ -1,15 +1,15 @@ -int one (int x) { return; } +int one () { return; } @@ -12076,7 +12112,7 @@ param_to_exp.res diff = --- tests/param_to_exp.c -+++ /tmp/cocci-output-2824563-b2bac2-param_to_exp.c ++++ /tmp/cocci-output-3568883-b04733-param_to_exp.c @@ -1,3 +1,4 @@ int main (int x, int y) { + foo(x, y); @@ -12085,14 +12121,14 @@ param_ver1.res diff = --- tests/param_ver1.c -+++ /tmp/cocci-output-2824563-d73a9e-param_ver1.c ++++ /tmp/cocci-output-3568883-365b19-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c -+++ /tmp/cocci-output-2824563-0ed99e-parameters_dots.c ++++ /tmp/cocci-output-3568883-e7c59b-parameters_dots.c @@ -1,7 +1,3 @@ void main(int i) { - @@ -12104,7 +12140,7 @@ parenmac.res diff = --- tests/parenmac.c -+++ /tmp/cocci-output-2824563-e51357-parenmac.c ++++ /tmp/cocci-output-3568883-3b241b-parenmac.c @@ -1 +1 @@ -#define TXSSZ(val) (val<<4) +#define TXSSZ(val) ((val)<<4) @@ -12112,7 +12148,7 @@ warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/partial.c -+++ /tmp/cocci-output-2824563-270f39-partial.c ++++ /tmp/cocci-output-3568883-ae862c-partial.c @@ -1,3 +1,3 @@ #define CS_THIS_MODULE THIS_MODULE, #define CS_OWNER owner: @@ -12121,7 +12157,7 @@ partialmd.res diff = --- tests/partialmd.c -+++ /tmp/cocci-output-2824563-3212e2-partialmd.c ++++ /tmp/cocci-output-3568883-6fe0a4-partialmd.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12131,7 +12167,7 @@ partialmd2.res diff = --- tests/partialmd2.c -+++ /tmp/cocci-output-2824563-3a0d22-partialmd2.c ++++ /tmp/cocci-output-3568883-73a848-partialmd2.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12141,7 +12177,7 @@ partialmd3.res diff = --- tests/partialmd3.c -+++ /tmp/cocci-output-2824563-e05a6a-partialmd3.c ++++ /tmp/cocci-output-3568883-e6e418-partialmd3.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12152,7 +12188,7 @@ warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type.c -+++ /tmp/cocci-output-2824563-697a17-pb_distribute_type.c ++++ /tmp/cocci-output-3568883-a06954-pb_distribute_type.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12176,7 +12212,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2.c -+++ /tmp/cocci-output-2824563-99f017-pb_distribute_type2.c ++++ /tmp/cocci-output-3568883-05889f-pb_distribute_type2.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12203,7 +12239,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c -+++ /tmp/cocci-output-2824563-bb260a-pb_distribute_type4.c ++++ /tmp/cocci-output-3568883-1a22b4-pb_distribute_type4.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12227,7 +12263,7 @@ warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c -+++ /tmp/cocci-output-2824563-1cb7bb-pb_params_iso.c ++++ /tmp/cocci-output-3568883-7eea73-pb_params_iso.c @@ -1,17 +1,17 @@ -int f(bool a, int i, bool b) { @@ -12253,7 +12289,7 @@ pb_parsing_macro.res diff = --- tests/pb_parsing_macro.c -+++ /tmp/cocci-output-2824563-cd5b99-pb_parsing_macro.c ++++ /tmp/cocci-output-3568883-fb38bd-pb_parsing_macro.c @@ -1,4 +1,4 @@ #define FOO_METH_TEST(a) prefix_##a void FOO_METH_TEST(foo)(int x){ @@ -12263,7 +12299,7 @@ pb_tag_symbols.res diff = --- tests/pb_tag_symbols.c -+++ /tmp/cocci-output-2824563-770be3-pb_tag_symbols.c ++++ /tmp/cocci-output-3568883-e78acd-pb_tag_symbols.c @@ -1,5 +1,3 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -12273,7 +12309,7 @@ pcim.res diff = --- tests/pcim.c -+++ /tmp/cocci-output-2824563-240a8f-pcim.c ++++ /tmp/cocci-output-3568883-761c3b-pcim.c @@ -1,5 +1,6 @@ int main () { - ctx->sensePA = pci_map_single(adapter->dev, cmd->sense_buffer, @@ -12286,7 +12322,7 @@ pcomma.res diff = --- tests/pcomma.c -+++ /tmp/cocci-output-2824563-84ac72-pcomma.c ++++ /tmp/cocci-output-3568883-c82e0a-pcomma.c @@ -1,14 +1,14 @@ -int main (int x) {} +int main (char c, int x) {} @@ -12313,7 +12349,7 @@ pif.res diff = --- tests/pif.c -+++ /tmp/cocci-output-2824563-988fbe-pif.c ++++ /tmp/cocci-output-3568883-71e226-pif.c @@ -1,5 +1 @@ -void f(void) -{ @@ -12324,14 +12360,14 @@ plus33.res diff = --- tests/plus33.c -+++ /tmp/cocci-output-2824563-f16d30-plus33.c ++++ /tmp/cocci-output-3568883-67858e-plus33.c @@ -1 +1,2 @@ +typedef double double3x3[3][3]; int x; pmac.res diff = --- tests/pmac.c -+++ /tmp/cocci-output-2824563-f3400c-pmac.c ++++ /tmp/cocci-output-3568883-27f695-pmac.c @@ -4,7 +4,5 @@ #include #endif @@ -12347,7 +12383,7 @@ posiso.res diff = --- tests/posiso.c -+++ /tmp/cocci-output-2824563-700984-posiso.c ++++ /tmp/cocci-output-3568883-8e4725-posiso.c @@ -1,9 +1,7 @@ int main () { int *x; @@ -12361,7 +12397,7 @@ positionc.res diff = --- tests/positionc.c -+++ /tmp/cocci-output-2824563-ea2b50-positionc.c ++++ /tmp/cocci-output-3568883-6aaaf3-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; @@ -12374,7 +12410,7 @@ post.res diff = --- tests/post.c -+++ /tmp/cocci-output-2824563-b2ea32-post.c ++++ /tmp/cocci-output-3568883-204c0b-post.c @@ -1,8 +1,6 @@ int main() { - f(3, foo + bar, 5); @@ -12387,7 +12423,7 @@ pragma2.res diff = --- tests/pragma2.c -+++ /tmp/cocci-output-2824563-cf863b-pragma2.c ++++ /tmp/cocci-output-3568883-75998e-pragma2.c @@ -4,7 +4,7 @@ int main() int n = 3; // FIXME: problem: uncommenting this breaks matching @@ -12402,7 +12438,7 @@ warning: rule starting on line 1: metavariable i not used in the - or context code diff = --- tests/pragma3.c -+++ /tmp/cocci-output-2824563-db63a9-pragma3.c ++++ /tmp/cocci-output-3568883-3a698e-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') */ @@ -12415,7 +12451,7 @@ pragmatest1.res diff = --- tests/pragmatest1.c -+++ /tmp/cocci-output-2824563-b259aa-pragmatest1.c ++++ /tmp/cocci-output-3568883-47cdff-pragmatest1.c @@ -1,3 +1 @@ -#pragma xxx a b c @@ -12430,7 +12466,7 @@ warning: rule starting on line 1: metavariable E not used in the - or context code diff = --- tests/print_return.c -+++ /tmp/cocci-output-2824563-094540-print_return.c ++++ /tmp/cocci-output-3568883-2bb758-print_return.c @@ -1,4 +1,3 @@ int config(struct pcmcia_device *link) { - bar(); @@ -12440,7 +12476,7 @@ proto.res diff = --- tests/proto.c -+++ /tmp/cocci-output-2824563-1bd33a-proto.c ++++ /tmp/cocci-output-3568883-080627-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); @@ -12455,7 +12491,7 @@ proto2.res diff = --- tests/proto2.c -+++ /tmp/cocci-output-2824563-f27766-proto2.c ++++ /tmp/cocci-output-3568883-5b9e2d-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); @@ -12472,7 +12508,7 @@ proto_ver1.res diff = --- tests/proto_ver1.c -+++ /tmp/cocci-output-2824563-55c7ed-proto_ver1.c ++++ /tmp/cocci-output-3568883-2bc8f1-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); @@ -12487,7 +12523,7 @@ proto_ver2.res diff = --- tests/proto_ver2.c -+++ /tmp/cocci-output-2824563-973df5-proto_ver2.c ++++ /tmp/cocci-output-3568883-645e3d-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); @@ -12516,7 +12552,7 @@ protoassert.res diff = --- tests/protoassert.c -+++ /tmp/cocci-output-2824563-8e576d-protoassert.c ++++ /tmp/cocci-output-3568883-d0559a-protoassert.c @@ -1,6 +1,8 @@ static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); @@ -12530,7 +12566,7 @@ protocpp.res diff = --- tests/protocpp.cpp -+++ /tmp/cocci-output-2824563-d638af-protocpp.cpp ++++ /tmp/cocci-output-3568883-0d23df-protocpp.cpp @@ -1 +1 @@ -int mm_write_banner(std::ofstream &ofs, MM_typecode matcode); +int mm_write_banner(std::ofstream &ofs, MM_typecode xxx); @@ -12539,7 +12575,7 @@ ptrar.res diff = --- tests/ptrar.c -+++ /tmp/cocci-output-2824563-e4534e-ptrar.c ++++ /tmp/cocci-output-3568883-4c1c6f-ptrar.c @@ -1,8 +1,8 @@ int main () { struct foo *x; @@ -12556,7 +12592,7 @@ ptrconstptr.res diff = --- tests/ptrconstptr.c -+++ /tmp/cocci-output-2824563-8e72bf-ptrconstptr.c ++++ /tmp/cocci-output-3568883-3aeba7-ptrconstptr.c @@ -1,3 +1,3 @@ void main() { - const char * const * x; @@ -12568,7 +12604,7 @@ warning: rule starting on line 12: metavariable S not used in the - or context code diff = --- tests/putloop.c -+++ /tmp/cocci-output-2824563-60460e-putloop.c ++++ /tmp/cocci-output-3568883-e75be7-putloop.c @@ -4,13 +4,11 @@ static int atmel_pctl_dt_node_to_map(str unsigned int *num_maps) { @@ -12598,7 +12634,7 @@ qual.res diff = --- tests/qual.cpp -+++ /tmp/cocci-output-2824563-883557-qual.cpp ++++ /tmp/cocci-output-3568883-72c8da-qual.cpp @@ -1,3 +1,3 @@ int main () { - return std::isspace(text[index]); @@ -12607,7 +12643,7 @@ qualclass.res diff = --- tests/qualclass.cpp -+++ /tmp/cocci-output-2824563-739232-qualclass.cpp ++++ /tmp/cocci-output-3568883-1679a1-qualclass.cpp @@ -1,3 +1,3 @@ class ResidualNorm : public ::testing::Test { - int x; @@ -12617,7 +12653,7 @@ SPECIAL NAMES: adding survived_r1 as a type diff = --- tests/qualifier.c -+++ /tmp/cocci-output-2824563-db90e2-qualifier.c ++++ /tmp/cocci-output-3568883-946c07-qualifier.c @@ -1,11 +1,11 @@ int *foo(const int *i) { @@ -12655,7 +12691,7 @@ range.res diff = --- tests/range.c -+++ /tmp/cocci-output-2824563-7bc421-range.c ++++ /tmp/cocci-output-3568883-7129bd-range.c @@ -1,17 +1,8 @@ int main() { - f(1); @@ -12678,7 +12714,7 @@ SPECIAL NAMES: adding RB_DECLARE_CALLBACKS_MAX as a declarer diff = --- tests/rb.c -+++ /tmp/cocci-output-2824563-07c6d7-rb.c ++++ /tmp/cocci-output-3568883-d05b6e-rb.c @@ -1,2 +1 @@ -RB_DECLARE_CALLBACKS_MAX(static, augment_callbacks, struct drbd_interval, -rb, sector_t, end, NODE_END); @@ -12686,7 +12722,7 @@ rcu3.res diff = --- tests/rcu3.c -+++ /tmp/cocci-output-2824563-6ed0ac-rcu3.c ++++ /tmp/cocci-output-3568883-866197-rcu3.c @@ -3,6 +3,6 @@ static struct mtd_chip_driver *get_mtd_c struct list_head *pos; struct mtd_chip_driver *this; @@ -12699,7 +12735,7 @@ refl.res diff = --- tests/refl.c -+++ /tmp/cocci-output-2824563-711b66-refl.c ++++ /tmp/cocci-output-3568883-e55da3-refl.c @@ -1,5 +1,3 @@ int main () { int x; @@ -12709,7 +12745,7 @@ regesc.res diff = --- tests/regesc.c -+++ /tmp/cocci-output-2824563-9cef3f-regesc.c ++++ /tmp/cocci-output-3568883-497cb1-regesc.c @@ -1,5 +1,5 @@ int main () { - f(".foo"); @@ -12721,7 +12757,7 @@ regexp.res diff = --- tests/regexp.c -+++ /tmp/cocci-output-2824563-77a3a2-regexp.c ++++ /tmp/cocci-output-3568883-918b1e-regexp.c @@ -1,9 +1,23 @@ int main(void) { @@ -12749,7 +12785,7 @@ regexp2.res diff = --- tests/regexp2.c -+++ /tmp/cocci-output-2824563-7b5e8a-regexp2.c ++++ /tmp/cocci-output-3568883-c81d42-regexp2.c @@ -2,9 +2,23 @@ int main(void) { @@ -12777,7 +12813,7 @@ regexp3.res diff = --- tests/regexp3.c -+++ /tmp/cocci-output-2824563-aa15e6-regexp3.c ++++ /tmp/cocci-output-3568883-b2c0f8-regexp3.c @@ -2,10 +2,27 @@ int main(void) { @@ -12813,7 +12849,7 @@ rem1.res diff = --- tests/rem1.c -+++ /tmp/cocci-output-2824563-0e0d1c-rem1.c ++++ /tmp/cocci-output-3568883-aebafe-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -12823,7 +12859,7 @@ rem2.res diff = --- tests/rem2.c -+++ /tmp/cocci-output-2824563-f37148-rem2.c ++++ /tmp/cocci-output-3568883-bb79ef-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -12833,7 +12869,7 @@ remaft.res diff = --- tests/remaft.c -+++ /tmp/cocci-output-2824563-75788f-remaft.c ++++ /tmp/cocci-output-3568883-4a9e0c-remaft.c @@ -1,8 +1,6 @@ int main() { #ifdef BLAH @@ -12846,7 +12882,7 @@ remcom.res diff = --- tests/remcom.c -+++ /tmp/cocci-output-2824563-c8ef4d-remcom.c ++++ /tmp/cocci-output-3568883-a64137-remcom.c @@ -3,20 +3,12 @@ asyncmeta_retry( Operation *op ) { @@ -12874,7 +12910,7 @@ remcom2.res diff = --- tests/remcom2.c -+++ /tmp/cocci-output-2824563-cdcf60-remcom2.c ++++ /tmp/cocci-output-3568883-4e1f47-remcom2.c @@ -2,7 +2,5 @@ int fn() { if (y) { @@ -12886,7 +12922,7 @@ remodif.res diff = --- tests/remodif.c -+++ /tmp/cocci-output-2824563-f651fc-remodif.c ++++ /tmp/cocci-output-3568883-e7ac75-remodif.c @@ -5,7 +5,7 @@ static int hexium_attach(struct saa7146_ DEB_EE("\n"); @@ -12899,7 +12935,7 @@ remove-code-in-branch1.res diff = --- tests/remove-code-in-branch1.c -+++ /tmp/cocci-output-2824563-2042c2-remove-code-in-branch1.c ++++ /tmp/cocci-output-3568883-ba798b-remove-code-in-branch1.c @@ -1,7 +1,7 @@ int main(void) { @@ -12912,7 +12948,7 @@ remove_call.res diff = --- tests/remove_call.c -+++ /tmp/cocci-output-2824563-b6ecfa-remove_call.c ++++ /tmp/cocci-output-3568883-2d059a-remove_call.c @@ -1,6 +1,2 @@ int main () { - int x = 3 + FN() + FN(); @@ -12924,7 +12960,7 @@ SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/remove_cast_attr.c -+++ /tmp/cocci-output-2824563-7e8487-remove_cast_attr.c ++++ /tmp/cocci-output-3568883-6b0f3e-remove_cast_attr.c @@ -2,9 +2,9 @@ int func() @@ -12941,7 +12977,7 @@ remove_cast_attr_allminus.res diff = --- tests/remove_cast_attr_allminus.c -+++ /tmp/cocci-output-2824563-281347-remove_cast_attr_allminus.c ++++ /tmp/cocci-output-3568883-1e02a5-remove_cast_attr_allminus.c @@ -2,9 +2,9 @@ int func() @@ -12962,7 +12998,7 @@ SPECIAL NAMES: adding __macro_attr as a attribute diff = --- tests/remove_macrodecl_attr.c -+++ /tmp/cocci-output-2824563-4980f9-remove_macrodecl_attr.c ++++ /tmp/cocci-output-3568883-f07a71-remove_macrodecl_attr.c @@ -1,3 +1,3 @@ #define __macro_attr MACROANNOTATION @@ -12972,7 +13008,7 @@ SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/remove_metaattr.c -+++ /tmp/cocci-output-2824563-6cacca-remove_metaattr.c ++++ /tmp/cocci-output-3568883-dac22e-remove_metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; @@ -12984,7 +13020,7 @@ SPECIAL NAMES: adding __nocast as a attribute diff = --- tests/remove_param_attrs.c -+++ /tmp/cocci-output-2824563-a6629f-remove_param_attrs.c ++++ /tmp/cocci-output-3568883-7954ef-remove_param_attrs.c @@ -6,15 +6,15 @@ int func2(int x, int __nocast y) { return 0; } @@ -13008,7 +13044,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr.c -+++ /tmp/cocci-output-2824563-ac8391-remove_struct_endattr.c ++++ /tmp/cocci-output-3568883-d8c731-remove_struct_endattr.c @@ -4,4 +4,4 @@ struct abcd { int a; int b; @@ -13019,7 +13055,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr_allminus.c -+++ /tmp/cocci-output-2824563-55baee-remove_struct_endattr_allminus.c ++++ /tmp/cocci-output-3568883-36dc39-remove_struct_endattr_allminus.c @@ -1,13 +1 @@ #define __struct_endattr MACROANNOTATION - @@ -13037,7 +13073,7 @@ remparam.res diff = --- tests/remparam.c -+++ /tmp/cocci-output-2824563-5fc487-remparam.c ++++ /tmp/cocci-output-3568883-7aabb1-remparam.c @@ -1,14 +1,14 @@ static irqreturn_t -snd_ad1889_interrupt(void *dev_id, int x, @@ -13060,7 +13096,7 @@ rems.res diff = --- tests/rems.c -+++ /tmp/cocci-output-2824563-99ecfc-rems.c ++++ /tmp/cocci-output-3568883-e02797-rems.c @@ -1,5 +1,4 @@ int main () { x(); @@ -13070,7 +13106,7 @@ rems1.res diff = --- tests/rems1.c -+++ /tmp/cocci-output-2824563-be1f07-rems1.c ++++ /tmp/cocci-output-3568883-051ae7-rems1.c @@ -1,5 +1,4 @@ int main () { x(); @@ -13082,7 +13118,7 @@ warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct.c -+++ /tmp/cocci-output-2824563-5c216d-remstruct.c ++++ /tmp/cocci-output-3568883-df89b5-remstruct.c @@ -1,13 +1,4 @@ -static struct irqchip mpuio_irq_chip = { - .ack = mpuio_ack_irq, @@ -13100,7 +13136,7 @@ remu.res diff = --- tests/remu.c -+++ /tmp/cocci-output-2824563-90766f-remu.c ++++ /tmp/cocci-output-3568883-b326d9-remu.c @@ -1,5 +1,4 @@ struct anon_vma { int x; @@ -13110,7 +13146,7 @@ replace_typedef.res diff = --- tests/replace_typedef.c -+++ /tmp/cocci-output-2824563-71bb39-replace_typedef.c ++++ /tmp/cocci-output-3568883-e22056-replace_typedef.c @@ -3,8 +3,8 @@ typedef struct foo { int x; } foo_t; typedef int int_t; @@ -13125,7 +13161,7 @@ replacement3.res diff = --- tests/replacement3.c -+++ /tmp/cocci-output-2824563-0d73d1-replacement3.c ++++ /tmp/cocci-output-3568883-f9ade5-replacement3.c @@ -1,6 +1,5 @@ int main() { - int *i; @@ -13137,7 +13173,7 @@ reserved.res diff = --- tests/reserved.c -+++ /tmp/cocci-output-2824563-08174c-reserved.c ++++ /tmp/cocci-output-3568883-dbf53d-reserved.c @@ -1,7 +1,4 @@ int main() { - f(1,1); @@ -13149,7 +13185,7 @@ retest.res diff = --- tests/retest.c -+++ /tmp/cocci-output-2824563-342a92-retest.c ++++ /tmp/cocci-output-3568883-231e63-retest.c @@ -1,6 +1,6 @@ int main () { foo(); @@ -13161,7 +13197,7 @@ retmacro.res diff = --- tests/retmacro.c -+++ /tmp/cocci-output-2824563-47e7b5-retmacro.c ++++ /tmp/cocci-output-3568883-ae33a1-retmacro.c @@ -1,6 +1,6 @@ #define REG_PATTERN_TEST(R, M, W) \ { \ @@ -13184,7 +13220,7 @@ warning: rule starting on line 18: metavariable S not used in the - or context code diff = --- tests/return.c -+++ /tmp/cocci-output-2824563-695b00-return.c ++++ /tmp/cocci-output-3568883-8a1e63-return.c @@ -1,6 +1,9 @@ void foo(int y) { int x; @@ -13200,7 +13236,7 @@ return_implicit.res diff = --- tests/return_implicit.c -+++ /tmp/cocci-output-2824563-e6aace-return_implicit.c ++++ /tmp/cocci-output-3568883-338503-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { @@ -13210,7 +13246,7 @@ retval.res diff = --- tests/retval.c -+++ /tmp/cocci-output-2824563-e26c4e-retval.c ++++ /tmp/cocci-output-3568883-cf1a39-retval.c @@ -1,21 +1,15 @@ int main () { if (retval1) { @@ -13240,7 +13276,7 @@ retval2.res diff = --- tests/retval2.c -+++ /tmp/cocci-output-2824563-dcb928-retval2.c ++++ /tmp/cocci-output-3568883-80ddaa-retval2.c @@ -11,7 +11,7 @@ int getlen(int *input, size_t maxlen, in return -1; } @@ -13254,7 +13290,7 @@ warning: rule starting on line 8: metavariable p1 not used in the - or context code diff = --- tests/reusevar.c -+++ /tmp/cocci-output-2824563-42b60a-reusevar.c ++++ /tmp/cocci-output-3568883-326c73-reusevar.c @@ -1,8 +1,5 @@ int main () { - f(x); @@ -13272,7 +13308,7 @@ SPECIAL NAMES: adding __ro_after_init as a attribute diff = --- tests/roa.c -+++ /tmp/cocci-output-2824563-2e083b-roa.c ++++ /tmp/cocci-output-3568883-226f88-roa.c @@ -1,10 +1,10 @@ -struct arm_delay_ops arm_delay_ops __ro_after_init = { +struct found used __ro_after_init = { @@ -13290,7 +13326,7 @@ rptr.res diff = --- tests/rptr.c -+++ /tmp/cocci-output-2824563-88348a-rptr.c ++++ /tmp/cocci-output-3568883-71df02-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { @@ -13303,7 +13339,7 @@ same_expr.res diff = --- tests/same_expr.c -+++ /tmp/cocci-output-2824563-c03c3a-same_expr.c ++++ /tmp/cocci-output-3568883-52095f-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { @@ -13314,7 +13350,7 @@ sbef.res diff = --- tests/sbef.c -+++ /tmp/cocci-output-2824563-a8ec5b-sbef.c ++++ /tmp/cocci-output-3568883-3d98e1-sbef.c @@ -2,6 +2,5 @@ int main () { { a(); @@ -13325,7 +13361,7 @@ sbef2.res diff = --- tests/sbef2.c -+++ /tmp/cocci-output-2824563-82945a-sbef2.c ++++ /tmp/cocci-output-3568883-9289c2-sbef2.c @@ -1,5 +1,4 @@ int main() { f(12); @@ -13335,7 +13371,7 @@ scope_problem.res diff = --- tests/scope_problem.c -+++ /tmp/cocci-output-2824563-08d277-scope_problem.c ++++ /tmp/cocci-output-3568883-166eb6-scope_problem.c @@ -1,15 +1,7 @@ void main(int i) { - @@ -13357,7 +13393,7 @@ SPECIAL NAMES: adding MyFloat as a type diff = --- tests/sd_2.c -+++ /tmp/cocci-output-2824563-0ca08d-sd_2.c ++++ /tmp/cocci-output-3568883-b8cb73-sd_2.c @@ -1 +1 @@ - struct particle_data_extra { MyFloat Mass; }; + struct particle_data_extra { MyFloat *Mass; }; @@ -13368,7 +13404,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/shared_brace.c -+++ /tmp/cocci-output-2824563-e7996f-shared_brace.c ++++ /tmp/cocci-output-3568883-8b0db1-shared_brace.c @@ -1,9 +1,7 @@ int __init ixj_init(void) @@ -13389,7 +13425,7 @@ warning: line 23: should p be a metavariable? diff = --- tests/signed.c -+++ /tmp/cocci-output-2824563-2486aa-signed.c ++++ /tmp/cocci-output-3568883-82bbc2-signed.c @@ -1,5 +1,5 @@ -int main(signed *m, unsigned *p) { - signed x; @@ -13404,7 +13440,7 @@ SPECIAL NAMES: adding DEFINE_MUTEX as a declarer diff = --- tests/sis.c -+++ /tmp/cocci-output-2824563-0b232c-sis.c ++++ /tmp/cocci-output-3568883-2ef270-sis.c @@ -1,4 +1,4 @@ -DECLARE_MUTEX(disconnect_sem); +DEFINE_MUTEX(disconnect_sem); @@ -13414,7 +13450,7 @@ sizeof.res diff = --- tests/sizeof.c -+++ /tmp/cocci-output-2824563-eefefb-sizeof.c ++++ /tmp/cocci-output-3568883-df2f99-sizeof.c @@ -1,7 +1,7 @@ int main (int param) { @@ -13428,7 +13464,7 @@ sizeof_julia.res diff = --- tests/sizeof_julia.c -+++ /tmp/cocci-output-2824563-006298-sizeof_julia.c ++++ /tmp/cocci-output-3568883-acc422-sizeof_julia.c @@ -1,5 +1,5 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) @@ -13439,7 +13475,7 @@ sizeptr.res diff = --- tests/sizeptr.c -+++ /tmp/cocci-output-2824563-3e454d-sizeptr.c ++++ /tmp/cocci-output-3568883-3e65a0-sizeptr.c @@ -5,7 +5,7 @@ int main () { ssize_t b; ptrdiff_t c; @@ -13454,7 +13490,7 @@ sizestar.res diff = --- tests/sizestar.c -+++ /tmp/cocci-output-2824563-ed570d-sizestar.c ++++ /tmp/cocci-output-3568883-f60ebe-sizestar.c @@ -1,7 +1,7 @@ int main () { max = num_var_ranges; @@ -13467,7 +13503,7 @@ sizet.res diff = --- tests/sizet.cpp -+++ /tmp/cocci-output-2824563-36e2df-sizet.cpp ++++ /tmp/cocci-output-3568883-55cdf3-sizet.cpp @@ -1,3 +1,2 @@ int main() { - size_t x; @@ -13475,7 +13511,7 @@ sizet1.res diff = --- tests/sizet1.c -+++ /tmp/cocci-output-2824563-ebd6d2-sizet1.c ++++ /tmp/cocci-output-3568883-25da53-sizet1.c @@ -1,3 +1,2 @@ int main() { - size_t x; @@ -13483,7 +13519,7 @@ skip.res diff = --- tests/skip.c -+++ /tmp/cocci-output-2824563-c2681b-skip.c ++++ /tmp/cocci-output-3568883-4199ee-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); @@ -13494,7 +13530,7 @@ sl2.res diff = --- tests/sl2.c -+++ /tmp/cocci-output-2824563-5a7277-sl2.c ++++ /tmp/cocci-output-3568883-1cdce7-sl2.c @@ -1,11 +1,14 @@ int main () { + something(); @@ -13520,7 +13556,7 @@ smallfn.res diff = --- tests/smallfn.c -+++ /tmp/cocci-output-2824563-2c64f1-smallfn.c ++++ /tmp/cocci-output-3568883-f22336-smallfn.c @@ -1,30 +1,65 @@ int main () { if (y) { @@ -13600,7 +13636,7 @@ snip_field.res diff = --- tests/snip_field.cpp -+++ /tmp/cocci-output-2824563-1d0598-snip_field.cpp ++++ /tmp/cocci-output-3568883-436e24-snip_field.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; @@ -13613,7 +13649,7 @@ snprintf.res diff = --- tests/snprintf.c -+++ /tmp/cocci-output-2824563-d418d1-snprintf.c ++++ /tmp/cocci-output-3568883-cbdead-snprintf.c @@ -1,4 +1,4 @@ static ssize_t idletimer_tg_show(char *buf) { @@ -13623,7 +13659,7 @@ sp.res diff = --- tests/sp.c -+++ /tmp/cocci-output-2824563-17f5ca-sp.c ++++ /tmp/cocci-output-3568883-208c62-sp.c @@ -1,4 +1,4 @@ -typedef struct { +struct name { @@ -13635,7 +13671,7 @@ spacing.res diff = --- tests/spacing.c -+++ /tmp/cocci-output-2824563-73cf70-spacing.c ++++ /tmp/cocci-output-3568883-75dabc-spacing.c @@ -1,8 +1,21 @@ typedef int *foo; @@ -13661,7 +13697,7 @@ spl.res diff = --- tests/spl.c -+++ /tmp/cocci-output-2824563-fc2c12-spl.c ++++ /tmp/cocci-output-3568883-4bafde-spl.c @@ -2,11 +2,13 @@ int main() { spin_lock(&isp116x->lock); /* take idle endpoints out of the schedule */ @@ -13679,7 +13715,7 @@ split_funcall1.res diff = --- tests/split_funcall1.c -+++ /tmp/cocci-output-2824563-94fb9f-split_funcall1.c ++++ /tmp/cocci-output-3568883-ab20b1-split_funcall1.c @@ -1,4 +1,4 @@ int main(void) { @@ -13689,7 +13725,7 @@ split_funcall2.res diff = --- tests/split_funcall2.c -+++ /tmp/cocci-output-2824563-9b7ce5-split_funcall2.c ++++ /tmp/cocci-output-3568883-bf67f1-split_funcall2.c @@ -1,4 +1,4 @@ int main(void) { @@ -13699,7 +13735,7 @@ square.res diff = --- tests/square.c -+++ /tmp/cocci-output-2824563-84df65-square.c ++++ /tmp/cocci-output-3568883-5067c4-square.c @@ -2,7 +2,7 @@ int two() { return 2; } int main() { int a[3]; @@ -13715,7 +13751,7 @@ SPECIAL NAMES: adding LPINT as a type diff = --- tests/starprint.c -+++ /tmp/cocci-output-2824563-76568c-starprint.c ++++ /tmp/cocci-output-3568883-d5c662-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; @@ -13727,7 +13763,7 @@ static.res diff = --- tests/static.c -+++ /tmp/cocci-output-2824563-eba5a0-static.c ++++ /tmp/cocci-output-3568883-e4d802-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { @@ -13738,7 +13774,7 @@ stm10.res diff = --- tests/stm10.c -+++ /tmp/cocci-output-2824563-36802c-stm10.c ++++ /tmp/cocci-output-3568883-e939f4-stm10.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -13750,7 +13786,7 @@ stm10_ver1.res diff = --- tests/stm10_ver1.c -+++ /tmp/cocci-output-2824563-47b641-stm10_ver1.c ++++ /tmp/cocci-output-3568883-348305-stm10_ver1.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13761,7 +13797,7 @@ stm2.res diff = --- tests/stm2.c -+++ /tmp/cocci-output-2824563-b0a0ba-stm2.c ++++ /tmp/cocci-output-3568883-fa1891-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); @@ -13771,7 +13807,7 @@ stm3.res diff = --- tests/stm3.c -+++ /tmp/cocci-output-2824563-e8ceb7-stm3.c ++++ /tmp/cocci-output-3568883-883da2-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); @@ -13782,7 +13818,7 @@ stm4.res diff = --- tests/stm4.c -+++ /tmp/cocci-output-2824563-10147c-stm4.c ++++ /tmp/cocci-output-3568883-8894ee-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); @@ -13792,7 +13828,7 @@ stm5.res diff = --- tests/stm5.c -+++ /tmp/cocci-output-2824563-6c8434-stm5.c ++++ /tmp/cocci-output-3568883-17ed2a-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); @@ -13804,7 +13840,7 @@ stm6.res diff = --- tests/stm6.c -+++ /tmp/cocci-output-2824563-b417b3-stm6.c ++++ /tmp/cocci-output-3568883-6deb99-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13817,7 +13853,7 @@ stm8.res diff = --- tests/stm8.c -+++ /tmp/cocci-output-2824563-b331e8-stm8.c ++++ /tmp/cocci-output-3568883-aa3504-stm8.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13828,7 +13864,7 @@ stm_exp.res diff = --- tests/stm_exp.c -+++ /tmp/cocci-output-2824563-d3d018-stm_exp.c ++++ /tmp/cocci-output-3568883-397caa-stm_exp.c @@ -1,7 +1,5 @@ int main() { - abs(); @@ -13840,7 +13876,7 @@ stmt.res diff = --- tests/stmt.c -+++ /tmp/cocci-output-2824563-09402c-stmt.c ++++ /tmp/cocci-output-3568883-4c933f-stmt.c @@ -1,4 +1,5 @@ int f() { int x; @@ -13850,7 +13886,7 @@ stmt_removed_and_added.res diff = --- tests/stmt_removed_and_added.c -+++ /tmp/cocci-output-2824563-00f81c-stmt_removed_and_added.c ++++ /tmp/cocci-output-3568883-ce15b7-stmt_removed_and_added.c @@ -1,6 +1,6 @@ void main() { @@ -13863,7 +13899,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/str_init.c -+++ /tmp/cocci-output-2824563-44ec37-str_init.c ++++ /tmp/cocci-output-3568883-e20283-str_init.c @@ -1,7 +1,3 @@ struct foo x = { - .aaa = 5, @@ -13876,7 +13912,7 @@ warning: rule starting on line 1: metavariable f not used in the - or context code diff = --- tests/strangeorder.c -+++ /tmp/cocci-output-2824563-c65e46-strangeorder.c ++++ /tmp/cocci-output-3568883-e904e9-strangeorder.c @@ -4,8 +4,10 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_client *client; @@ -13892,7 +13928,7 @@ strid.res diff = --- tests/strid.c -+++ /tmp/cocci-output-2824563-7fa692-strid.c ++++ /tmp/cocci-output-3568883-7fa84e-strid.c @@ -1,4 +1,4 @@ int main () { struct foo *a; @@ -13902,7 +13938,7 @@ strid2.res diff = --- tests/strid2.c -+++ /tmp/cocci-output-2824563-579d28-strid2.c ++++ /tmp/cocci-output-3568883-a006c4-strid2.c @@ -3,8 +3,8 @@ int main () { enum foo1 *b; struct foo a1; @@ -13918,7 +13954,7 @@ strtest.res diff = --- tests/strtest.c -+++ /tmp/cocci-output-2824563-819d78-strtest.c ++++ /tmp/cocci-output-3568883-f77c78-strtest.c @@ -1,3 +1,3 @@ int main() { - printf("hello\n"); @@ -13927,7 +13963,7 @@ struct.res diff = --- tests/struct.c -+++ /tmp/cocci-output-2824563-fad389-struct.c ++++ /tmp/cocci-output-3568883-ce4143-struct.c @@ -8,7 +8,5 @@ struct foo { int main() { @@ -13939,7 +13975,7 @@ struct_metavar.res diff = --- tests/struct_metavar.c -+++ /tmp/cocci-output-2824563-cfd517-struct_metavar.c ++++ /tmp/cocci-output-3568883-d9fbaa-struct_metavar.c @@ -9,9 +9,6 @@ struct foo { int main() { struct foo *a; @@ -13953,7 +13989,7 @@ struct_typedef.res diff = --- tests/struct_typedef.c -+++ /tmp/cocci-output-2824563-57a1b8-struct_typedef.c ++++ /tmp/cocci-output-3568883-5f7119-struct_typedef.c @@ -1,5 +1,5 @@ -typedef struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -13967,7 +14003,7 @@ warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c -+++ /tmp/cocci-output-2824563-a6de10-structfoo.c ++++ /tmp/cocci-output-3568883-16aa52-structfoo.c @@ -1,4 +1 @@ -struct foo my_foo[] = { -.a = 1, @@ -13977,7 +14013,7 @@ structptr_func.res diff = --- tests/structptr_func.c -+++ /tmp/cocci-output-2824563-5c1765-structptr_func.c ++++ /tmp/cocci-output-3568883-42a57e-structptr_func.c @@ -1,5 +1,6 @@ void func(struct socket *sock, struct sockaddr *uaddr, int peer) { @@ -13989,7 +14025,7 @@ substruct.res diff = --- tests/substruct.c -+++ /tmp/cocci-output-2824563-511a58-substruct.c ++++ /tmp/cocci-output-3568883-0ba04d-substruct.c @@ -1,5 +1,5 @@ struct a { int a; } x[2] = { @@ -14001,14 +14037,14 @@ sw.res diff = --- tests/sw.c -+++ /tmp/cocci-output-2824563-da35d1-sw.c ++++ /tmp/cocci-output-3568883-c0d94c-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c -+++ /tmp/cocci-output-2824563-f9bd55-swap3.c ++++ /tmp/cocci-output-3568883-e9fd6b-swap3.c @@ -2,7 +2,7 @@ static void __ar955x_tx_iq_cal_sort(stru struct coeff *coeff, int i, int nmeasurement) @@ -14021,7 +14057,7 @@ switch.res diff = --- tests/switch.c -+++ /tmp/cocci-output-2824563-d09ea0-switch.c ++++ /tmp/cocci-output-3568883-588ca9-switch.c @@ -3,6 +3,5 @@ int main () { default: break; @@ -14033,7 +14069,7 @@ warning: switch_1: metavariable S_1 not used in the - or context code diff = --- tests/switchdecl.c -+++ /tmp/cocci-output-2824563-42aa84-switchdecl.c ++++ /tmp/cocci-output-3568883-3e4924-switchdecl.c @@ -4,7 +4,7 @@ switch (2) { int x; @@ -14047,7 +14083,7 @@ warning: line 12: should g be a metavariable? diff = --- tests/symbol.c -+++ /tmp/cocci-output-2824563-15f12c-symbol.c ++++ /tmp/cocci-output-3568883-6692b3-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; @@ -14059,7 +14095,7 @@ td.res diff = --- tests/td.c -+++ /tmp/cocci-output-2824563-f8370b-td.c ++++ /tmp/cocci-output-3568883-6c0fc9-td.c @@ -1,5 +1,5 @@ -struct foo {int a;}; +struct foo {int b;}; @@ -14072,7 +14108,7 @@ tdnl.res diff = --- tests/tdnl.c -+++ /tmp/cocci-output-2824563-265768-tdnl.c ++++ /tmp/cocci-output-3568883-2a7884-tdnl.c @@ -4,5 +4,4 @@ void main() { @@ -14082,7 +14118,7 @@ tdplus.res diff = --- tests/tdplus.c -+++ /tmp/cocci-output-2824563-4d51b9-tdplus.c ++++ /tmp/cocci-output-3568883-60a1f4-tdplus.c @@ -1 +1 @@ -typedef int (*filler_t)(int, int); +typedef int (*filler_t)(int, struct address_space *, int); @@ -14091,7 +14127,7 @@ SPECIAL NAMES: adding abc as a type diff = --- tests/template_test.cpp -+++ /tmp/cocci-output-2824563-97312e-template_test.cpp ++++ /tmp/cocci-output-3568883-41d7da-template_test.cpp @@ -1,5 +1,6 @@ int min() { int x; @@ -14102,7 +14138,7 @@ templates1.res diff = --- tests/templates1.cpp -+++ /tmp/cocci-output-2824563-426b59-templates1.cpp ++++ /tmp/cocci-output-3568883-c43570-templates1.cpp @@ -1,9 +1,9 @@ -template +template @@ -14118,7 +14154,7 @@ tern.res diff = --- tests/tern.c -+++ /tmp/cocci-output-2824563-e816bc-tern.c ++++ /tmp/cocci-output-3568883-ae791a-tern.c @@ -1,4 +1,4 @@ int main () { - return (wc >= 0 && wc <= 0x7f ? wc : 0x7f); @@ -14128,7 +14164,7 @@ test0.res diff = --- tests/test0.c -+++ /tmp/cocci-output-2824563-bb66bc-test0.c ++++ /tmp/cocci-output-3568883-c2c617-test0.c @@ -1,5 +1,3 @@ int main(int i) { - f(1); @@ -14138,7 +14174,7 @@ test1.res diff = --- tests/test1.c -+++ /tmp/cocci-output-2824563-57722f-test1.c ++++ /tmp/cocci-output-3568883-77a106-test1.c @@ -6,9 +6,9 @@ void main(int foo) { x(); if(1) { @@ -14155,7 +14191,7 @@ test10_ver1.res diff = --- tests/test10_ver1.c -+++ /tmp/cocci-output-2824563-280f71-test10_ver1.c ++++ /tmp/cocci-output-3568883-65cdf4-test10_ver1.c @@ -3,7 +3,7 @@ void main(int i) { f(1); g(1); @@ -14169,7 +14205,7 @@ test11_ver1.res diff = --- tests/test11_ver1.c -+++ /tmp/cocci-output-2824563-635008-test11_ver1.c ++++ /tmp/cocci-output-3568883-50661a-test11_ver1.c @@ -2,6 +2,6 @@ void main(int i) { f(1); g(1); @@ -14181,7 +14217,7 @@ test12.res diff = --- tests/test12.c -+++ /tmp/cocci-output-2824563-d88b45-test12.c ++++ /tmp/cocci-output-3568883-98470e-test12.c @@ -1,6 +1,6 @@ void main(int foo) { @@ -14193,7 +14229,7 @@ test2.res diff = --- tests/test2.c -+++ /tmp/cocci-output-2824563-ca0f54-test2.c ++++ /tmp/cocci-output-3568883-52380c-test2.c @@ -2,7 +2,7 @@ void main() { f(1,2,3); @@ -14207,7 +14243,7 @@ test3.res diff = --- tests/test3.c -+++ /tmp/cocci-output-2824563-bf76a0-test3.c ++++ /tmp/cocci-output-3568883-717c75-test3.c @@ -4,7 +4,7 @@ void main() f(3); @@ -14221,7 +14257,7 @@ test4.res diff = --- tests/test4.c -+++ /tmp/cocci-output-2824563-58f414-test4.c ++++ /tmp/cocci-output-3568883-9f9461-test4.c @@ -1,7 +1,6 @@ void main() { @@ -14233,7 +14269,7 @@ test5.res diff = --- tests/test5.c -+++ /tmp/cocci-output-2824563-c9b139-test5.c ++++ /tmp/cocci-output-3568883-986b00-test5.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -14249,7 +14285,7 @@ test5_ver1.res diff = --- tests/test5_ver1.c -+++ /tmp/cocci-output-2824563-83b0f0-test5_ver1.c ++++ /tmp/cocci-output-3568883-1c2a23-test5_ver1.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -14265,7 +14301,7 @@ test6.res diff = --- tests/test6.c -+++ /tmp/cocci-output-2824563-47ead7-test6.c ++++ /tmp/cocci-output-3568883-9bd320-test6.c @@ -4,13 +4,13 @@ void main() { /* a comment */ @@ -14296,7 +14332,7 @@ test7.res diff = --- tests/test7.c -+++ /tmp/cocci-output-2824563-5700eb-test7.c ++++ /tmp/cocci-output-3568883-5222e4-test7.c @@ -2,10 +2,12 @@ void main() { @@ -14315,7 +14351,7 @@ test8.res diff = --- tests/test8.c -+++ /tmp/cocci-output-2824563-b7ca86-test8.c ++++ /tmp/cocci-output-3568883-08a1d3-test8.c @@ -1,7 +1,6 @@ -void main(int foo) { +void main(char i, int foo) { @@ -14328,7 +14364,7 @@ test9.res diff = --- tests/test9.c -+++ /tmp/cocci-output-2824563-e7460c-test9.c ++++ /tmp/cocci-output-3568883-ccd2d4-test9.c @@ -4,9 +4,9 @@ void main(int foo) { // f(1); // if uncomment then problems g(2); @@ -14344,7 +14380,7 @@ test_s.res diff = --- tests/test_s.c -+++ /tmp/cocci-output-2824563-b39347-test_s.c ++++ /tmp/cocci-output-3568883-439414-test_s.c @@ -2,7 +2,7 @@ int main () { if (x-one) { one(); @@ -14372,7 +14408,7 @@ warning: line 39: should y be a metavariable? diff = --- tests/test_unsigned_meta.c -+++ /tmp/cocci-output-2824563-e44587-test_unsigned_meta.c ++++ /tmp/cocci-output-3568883-6e7323-test_unsigned_meta.c @@ -1,8 +1,12 @@ int main () { - unsigned int x; @@ -14392,7 +14428,7 @@ testand.res diff = --- tests/testand.c -+++ /tmp/cocci-output-2824563-e065e8-testand.c ++++ /tmp/cocci-output-3568883-d6998d-testand.c @@ -1,5 +1,5 @@ int main () { f(1,2,3,4); @@ -14404,7 +14440,7 @@ testand2.res diff = --- tests/testand2.c -+++ /tmp/cocci-output-2824563-50c5c1-testand2.c ++++ /tmp/cocci-output-3568883-cbc958-testand2.c @@ -1,6 +1,6 @@ int main () { f(1,2,3,4); @@ -14416,7 +14452,7 @@ three_types.res diff = --- tests/three_types.c -+++ /tmp/cocci-output-2824563-a8a0b4-three_types.c ++++ /tmp/cocci-output-3568883-4d1a88-three_types.c @@ -7,5 +7,5 @@ via_init_dmablit(drm_device_t *dev) { drm_via_blitq_t *blitq; @@ -14427,7 +14463,7 @@ threea.res diff = --- tests/threea.c -+++ /tmp/cocci-output-2824563-e50be7-threea.c ++++ /tmp/cocci-output-3568883-f59691-threea.c @@ -1,4 +1,3 @@ int main() { f(12); @@ -14436,7 +14472,7 @@ tloop.res diff = --- tests/tloop.c -+++ /tmp/cocci-output-2824563-f8cc22-tloop.c ++++ /tmp/cocci-output-3568883-7ff418-tloop.c @@ -1,6 +1,5 @@ int foo(void) { @@ -14447,7 +14483,7 @@ tmpinit.res diff = --- tests/tmpinit.cpp -+++ /tmp/cocci-output-2824563-d16b5f-tmpinit.cpp ++++ /tmp/cocci-output-3568883-15f424-tmpinit.cpp @@ -1,3 +1,3 @@ class TestSymmetricCoo: public ::testing::Test { - const std::vector VA { std::vector(nnzA,4) }; @@ -14461,7 +14497,7 @@ SPECIAL NAMES: adding module_param as a declarer diff = --- tests/top.c -+++ /tmp/cocci-output-2824563-b99459-top.c ++++ /tmp/cocci-output-3568883-dd72be-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); @@ -14469,7 +14505,7 @@ SPECIAL NAMES: adding LIST_HEAD as a declarer diff = --- tests/topdec.c -+++ /tmp/cocci-output-2824563-65be91-topdec.c ++++ /tmp/cocci-output-3568883-8a1a8a-topdec.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ @@ -14479,7 +14515,7 @@ topdec_ver1.res diff = --- tests/topdec_ver1.c -+++ /tmp/cocci-output-2824563-194f7e-topdec_ver1.c ++++ /tmp/cocci-output-3568883-486d8d-topdec_ver1.c @@ -4,4 +4,4 @@ static int debug; /* Network device part of the driver */ @@ -14489,7 +14525,7 @@ topdec_ver2.res diff = --- tests/topdec_ver2.c -+++ /tmp/cocci-output-2824563-636822-topdec_ver2.c ++++ /tmp/cocci-output-3568883-6215ca-topdec_ver2.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ @@ -14499,7 +14535,7 @@ topdecl.res diff = --- tests/topdecl.c -+++ /tmp/cocci-output-2824563-c2f8b3-topdecl.c ++++ /tmp/cocci-output-3568883-2904d8-topdecl.c @@ -1,3 +1,3 @@ int main () { - int x = foo(); @@ -14510,7 +14546,7 @@ SPECIAL NAMES: adding module_param as a declarer diff = --- tests/toplevel_macrostmt.c -+++ /tmp/cocci-output-2824563-17fed0-toplevel_macrostmt.c ++++ /tmp/cocci-output-3568883-f8ced4-toplevel_macrostmt.c @@ -2,7 +2,7 @@ void main(int i) { } @@ -14524,7 +14560,7 @@ warning: line 5: should usb_stor_host_template be a metavariable? diff = --- tests/toplevel_struct.c -+++ /tmp/cocci-output-2824563-b64206-toplevel_struct.c ++++ /tmp/cocci-output-3568883-33f9a1-toplevel_struct.c @@ -3,6 +3,7 @@ struct SHT usb_stor_host_template = { .name = "usb-storage", .proc_name = "usb-storage", @@ -14550,7 +14586,7 @@ triplet.res diff = --- tests/triplet.c -+++ /tmp/cocci-output-2824563-17471a-triplet.c ++++ /tmp/cocci-output-3568883-deb1d4-triplet.c @@ -1,5 +1,6 @@ typedef double dtriplet_t[3] ; // FIXME: such code would not be parsed on cocci side @@ -14561,7 +14597,7 @@ try_catch.res diff = --- tests/try_catch.cpp -+++ /tmp/cocci-output-2824563-132daf-try_catch.cpp ++++ /tmp/cocci-output-3568883-4e6513-try_catch.cpp @@ -1,5 +1,6 @@ int main() { @@ -14575,7 +14611,7 @@ warning: rule starting on line 10: metavariable B not used in the - or context code diff = --- tests/tup.c -+++ /tmp/cocci-output-2824563-80f90d-tup.c ++++ /tmp/cocci-output-3568883-37f911-tup.c @@ -1,7 +1,7 @@ static int cm206_block_ioctl(struct inode *inode, struct file *file, unsigned cmd, unsigned long arg) @@ -14588,7 +14624,7 @@ twomatch.res diff = --- tests/twomatch.c -+++ /tmp/cocci-output-2824563-70f1d2-twomatch.c ++++ /tmp/cocci-output-3568883-d2c1af-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); @@ -14600,7 +14636,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/twoproto.c -+++ /tmp/cocci-output-2824563-07716b-twoproto.c ++++ /tmp/cocci-output-3568883-e17814-twoproto.c @@ -1,11 +1,9 @@ static void tc574_config(dev_link_t *link); @@ -14618,7 +14654,7 @@ ty.res diff = --- tests/ty.c -+++ /tmp/cocci-output-2824563-472c3a-ty.c ++++ /tmp/cocci-output-3568883-6aade2-ty.c @@ -1,4 +1,4 @@ int main () { - struct foo x; @@ -14629,7 +14665,7 @@ warning: line 7: should x be a metavariable? diff = --- tests/ty1.c -+++ /tmp/cocci-output-2824563-2674a5-ty1.c ++++ /tmp/cocci-output-3568883-4d5f64-ty1.c @@ -1,4 +1,3 @@ int fn(int y) { char x; @@ -14638,7 +14674,7 @@ ty_tyexp.res diff = --- tests/ty_tyexp.c -+++ /tmp/cocci-output-2824563-f96db0-ty_tyexp.c ++++ /tmp/cocci-output-3568883-6231eb-ty_tyexp.c @@ -1,11 +1,11 @@ void main(double z) { @@ -14660,7 +14696,7 @@ SPECIAL NAMES: adding uint64_t as a type diff = --- tests/tydisj.c -+++ /tmp/cocci-output-2824563-780172-tydisj.c ++++ /tmp/cocci-output-3568883-0b3720-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(); @@ -14671,7 +14707,7 @@ SPECIAL NAMES: adding Location as a type diff = --- tests/tyex.c -+++ /tmp/cocci-output-2824563-f39f9f-tyex.c ++++ /tmp/cocci-output-3568883-dfa4ea-tyex.c @@ -1,12 +1,15 @@ typedef struct { double x; @@ -14693,7 +14729,7 @@ type.res diff = --- tests/type.c -+++ /tmp/cocci-output-2824563-996e6f-type.c ++++ /tmp/cocci-output-3568883-f6b4f3-type.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -14704,7 +14740,7 @@ type1.res diff = --- tests/type1.c -+++ /tmp/cocci-output-2824563-544243-type1.c ++++ /tmp/cocci-output-3568883-93f991-type1.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -14715,7 +14751,7 @@ type_and_var.res diff = --- tests/type_and_var.c -+++ /tmp/cocci-output-2824563-6352b0-type_and_var.c ++++ /tmp/cocci-output-3568883-efea38-type_and_var.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; @@ -14752,7 +14788,7 @@ type_and_var2.res diff = --- tests/type_and_var2.c -+++ /tmp/cocci-output-2824563-d7be18-type_and_var2.c ++++ /tmp/cocci-output-3568883-2ad195-type_and_var2.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; @@ -14789,7 +14825,7 @@ type_annotated.res diff = --- tests/type_annotated.c -+++ /tmp/cocci-output-2824563-465235-type_annotated.c ++++ /tmp/cocci-output-3568883-7e5198-type_annotated.c @@ -4,7 +4,7 @@ void f1(int z) { struct foo2 j; int k; @@ -14810,7 +14846,7 @@ type_constraints.res diff = --- tests/type_constraints.c -+++ /tmp/cocci-output-2824563-81c4ab-type_constraints.c ++++ /tmp/cocci-output-3568883-ac54ab-type_constraints.c @@ -1,9 +1,9 @@ void f(void) { int i; @@ -14827,7 +14863,7 @@ type_ver1.res diff = --- tests/type_ver1.c -+++ /tmp/cocci-output-2824563-9722e0-type_ver1.c ++++ /tmp/cocci-output-3568883-98be75-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; @@ -14838,7 +14874,7 @@ type_ver2.res diff = --- tests/type_ver2.c -+++ /tmp/cocci-output-2824563-542fdc-type_ver2.c ++++ /tmp/cocci-output-3568883-279ffe-type_ver2.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; @@ -14850,7 +14886,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef.c -+++ /tmp/cocci-output-2824563-c3adbc-typedef.c ++++ /tmp/cocci-output-3568883-01e497-typedef.c @@ -1,15 +1,15 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -14874,7 +14910,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef3.c -+++ /tmp/cocci-output-2824563-8d232b-typedef3.c ++++ /tmp/cocci-output-3568883-d2547b-typedef3.c @@ -1,5 +1,5 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -14893,7 +14929,7 @@ typeof.res diff = --- tests/typeof.c -+++ /tmp/cocci-output-2824563-ec8a99-typeof.c ++++ /tmp/cocci-output-3568883-0e96f7-typeof.c @@ -1,6 +1,4 @@ int main() { int x; @@ -14904,7 +14940,7 @@ typeof_expr.res diff = --- tests/typeof_expr.c -+++ /tmp/cocci-output-2824563-730082-typeof_expr.c ++++ /tmp/cocci-output-3568883-3c0c71-typeof_expr.c @@ -1,4 +1,4 @@ int main () { int x = 0; @@ -14914,7 +14950,7 @@ typin.res diff = --- tests/typin.c -+++ /tmp/cocci-output-2824563-bedd21-typin.c ++++ /tmp/cocci-output-3568883-78ca17-typin.c @@ -2,7 +2,7 @@ int x; char y; @@ -14937,7 +14973,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-2824563-643f15-unbrace.c ++++ /tmp/cocci-output-3568883-5599cd-unbrace.c @@ -5,8 +5,6 @@ static int mlxsw_sp_flower_parse_actions struct netlink_ext_ack *extack) { @@ -15132,7 +15168,7 @@ undref.res diff = --- tests/undref.c -+++ /tmp/cocci-output-2824563-9702c9-undref.c ++++ /tmp/cocci-output-3568883-d76bbc-undref.c @@ -1,3 +1,3 @@ int main () { - bar(); @@ -15149,7 +15185,7 @@ unelse.res diff = --- tests/unelse.c -+++ /tmp/cocci-output-2824563-6a4e4a-unelse.c ++++ /tmp/cocci-output-3568883-4b8921-unelse.c @@ -2,8 +2,6 @@ static short find_control(u16 control_in { if (!*pI) @@ -15164,7 +15200,7 @@ unfree.res diff = --- tests/unfree.c -+++ /tmp/cocci-output-2824563-43bd42-unfree.c ++++ /tmp/cocci-output-3568883-7128d2-unfree.c @@ -2,8 +2,7 @@ static void mppe_free(void *arg) { struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; @@ -15178,7 +15214,7 @@ unl.res diff = --- tests/unl.c -+++ /tmp/cocci-output-2824563-f13e1f-unl.c ++++ /tmp/cocci-output-3568883-dc9d17-unl.c @@ -1,10 +1,10 @@ int main () { - if (new_pe == NULL) { @@ -15195,7 +15231,7 @@ unstruct.res diff = --- tests/unstruct.c -+++ /tmp/cocci-output-2824563-bbf1a0-unstruct.c ++++ /tmp/cocci-output-3568883-69d534-unstruct.c @@ -1,4 +1,4 @@ -struct foo x __read_mostly = { .a = 12, }; @@ -15206,7 +15242,7 @@ unused.res diff = --- tests/unused.c -+++ /tmp/cocci-output-2824563-352462-unused.c ++++ /tmp/cocci-output-3568883-78b8b0-unused.c @@ -2,5 +2,5 @@ static int synth_field_string_size(char { char *start; @@ -15217,7 +15253,7 @@ updassign.res diff = --- tests/updassign.c -+++ /tmp/cocci-output-2824563-50d57a-updassign.c ++++ /tmp/cocci-output-3568883-7dbb87-updassign.c @@ -1,3 +1,3 @@ int main () { - int r = 1 + 2; @@ -15226,7 +15262,7 @@ useless_cast.res diff = --- tests/useless_cast.c -+++ /tmp/cocci-output-2824563-14d2e7-useless_cast.c ++++ /tmp/cocci-output-3568883-9c0ef5-useless_cast.c @@ -8,7 +8,7 @@ struct device { struct device *dev; @@ -15240,7 +15276,7 @@ warning: rule starting on line 2: metavariable i not used in the - or context code diff = --- tests/using1.cpp -+++ /tmp/cocci-output-2824563-794a2e-using1.cpp ++++ /tmp/cocci-output-3568883-d46b37-using1.cpp @@ -1,5 +1,4 @@ namespace ns {}; int main() @@ -15254,7 +15290,7 @@ warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using3.cpp -+++ /tmp/cocci-output-2824563-3dbc90-using3.cpp ++++ /tmp/cocci-output-3568883-0fe272-using3.cpp @@ -1,5 +1,4 @@ int main() { @@ -15266,7 +15302,7 @@ warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using4.cpp -+++ /tmp/cocci-output-2824563-d1b10c-using4.cpp ++++ /tmp/cocci-output-3568883-664c8a-using4.cpp @@ -1,6 +1,6 @@ // TODO: FIXME: will use 'std::vector::value_type;' once template support is improved int main() @@ -15278,7 +15314,7 @@ usingtest.res diff = --- tests/usingtest.cpp -+++ /tmp/cocci-output-2824563-ec036c-usingtest.cpp ++++ /tmp/cocci-output-3568883-c97461-usingtest.cpp @@ -18,4 +18,4 @@ class TestSpMM_OfAnyTypeSquare: public S int x[1]; }; @@ -15288,7 +15324,7 @@ usingtype.res diff = --- tests/usingtype.cpp -+++ /tmp/cocci-output-2824563-885798-usingtype.cpp ++++ /tmp/cocci-output-3568883-20152f-usingtype.cpp @@ -1 +1 @@ -using mytime_t = double ; +using mytime_t = int ; @@ -15299,7 +15335,7 @@ warning: line 13: should ty_id be a metavariable? diff = --- tests/varargs.c -+++ /tmp/cocci-output-2824563-550462-varargs.c ++++ /tmp/cocci-output-3568883-edcaf7-varargs.c @@ -1,6 +1,7 @@ static void @@ -15313,7 +15349,7 @@ varargs2.res diff = --- tests/varargs2.c -+++ /tmp/cocci-output-2824563-ec11f0-varargs2.c ++++ /tmp/cocci-output-3568883-7fe9b6-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { @@ -15322,7 +15358,7 @@ varargs3.res diff = --- tests/varargs3.c -+++ /tmp/cocci-output-2824563-6e50d1-varargs3.c ++++ /tmp/cocci-output-3568883-80c11d-varargs3.c @@ -1,4 +1,3 @@ -static int foo(char *fmt, ...) { @@ -15341,7 +15377,7 @@ video1bis.res diff = --- tests/video1bis.c -+++ /tmp/cocci-output-2824563-49c2a5-video1bis.c ++++ /tmp/cocci-output-3568883-dff419-video1bis.c @@ -3,7 +3,5 @@ void *arg) { if (cmd == VIDIOCGTUNER) { @@ -15353,7 +15389,7 @@ virtual_constructor.res diff = --- tests/virtual_constructor.cpp -+++ /tmp/cocci-output-2824563-829485-virtual_constructor.cpp ++++ /tmp/cocci-output-3568883-36be1d-virtual_constructor.cpp @@ -4,6 +4,5 @@ class A { virtual ~A(){int i;} // destructors can be declared 'virtual' }; @@ -15364,7 +15400,7 @@ void.res diff = --- tests/void.c -+++ /tmp/cocci-output-2824563-760ec9-void.c ++++ /tmp/cocci-output-3568883-da50e0-void.c @@ -2,4 +2,14 @@ int xbar(void) { return; } // this is some info about bar @@ -15383,7 +15419,7 @@ vpos.res diff = --- tests/vpos.c -+++ /tmp/cocci-output-2824563-da96b9-vpos.c ++++ /tmp/cocci-output-3568883-7a94d4-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); @@ -15400,7 +15436,7 @@ SPECIAL NAMES: adding wchar_t as a type diff = --- tests/wchar.c -+++ /tmp/cocci-output-2824563-9c6a55-wchar.c ++++ /tmp/cocci-output-3568883-3f05ca-wchar.c @@ -1,13 +1,4 @@ #include #include @@ -15418,7 +15454,7 @@ whitespace.res diff = --- tests/whitespace.c -+++ /tmp/cocci-output-2824563-30f2e5-whitespace.c ++++ /tmp/cocci-output-3568883-b120d3-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); @@ -15427,7 +15463,7 @@ wierd_argument.res diff = --- tests/wierd_argument.c -+++ /tmp/cocci-output-2824563-bfe9e1-wierd_argument.c ++++ /tmp/cocci-output-3568883-0319f9-wierd_argument.c @@ -1,7 +1,7 @@ static void ewx_i2c_setlines(snd_i2c_bus_t *bus, int clk, int data) { @@ -15443,7 +15479,7 @@ wrongcheck.res diff = --- tests/wrongcheck.c -+++ /tmp/cocci-output-2824563-511b18-wrongcheck.c ++++ /tmp/cocci-output-3568883-f401d9-wrongcheck.c @@ -1,5 +1,3 @@ int main () { - err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, @@ -15454,7 +15490,7 @@ warning: rule starting on line 1: metavariable A not used in the + code diff = --- tests/ws2.c -+++ /tmp/cocci-output-2824563-6c44fd-ws2.c ++++ /tmp/cocci-output-3568883-1784d8-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) @@ -15467,7 +15503,7 @@ SPECIAL NAMES: adding FOO as a declarer diff = --- tests/xfield.c -+++ /tmp/cocci-output-2824563-212ea6-xfield.c ++++ /tmp/cocci-output-3568883-c85e8d-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; @@ -15477,7 +15513,7 @@ y2.res diff = --- tests/y2.c -+++ /tmp/cocci-output-2824563-140d1c-y2.c ++++ /tmp/cocci-output-3568883-9910b8-y2.c @@ -1,10 +1,6 @@ static void asuscom_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) @@ -15492,7 +15528,7 @@ zero.res diff = --- tests/zero.c -+++ /tmp/cocci-output-2824563-39e587-zero.c ++++ /tmp/cocci-output-3568883-b34c09-zero.c @@ -1,6 +1,2 @@ int main () { - memset(command, 0, sizeof(struct sbp2_command_info)); @@ -15503,7 +15539,7 @@ zeroline.res diff = --- tests/zeroline.c -+++ /tmp/cocci-output-2824563-8920dd-zeroline.c ++++ /tmp/cocci-output-3568883-9e5aee-zeroline.c @@ -1,6 +1,7 @@ int main () { - int x; @@ -16359,7 +16395,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-2824563-dfcb8c-noexcept.cpp", line 9, column 88, charpos = 245 +File "/tmp/cocci-output-3568883-2ad054-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 @@ -16709,7 +16745,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-2824563-97312e-template_test.cpp", line 3, column 2, charpos = 23 +File "/tmp/cocci-output-3568883-41d7da-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 @@ -16880,7 +16916,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-2824563-ec036c-usingtest.cpp", line 12, column 104, charpos = 506 +File "/tmp/cocci-output-3568883-c97461-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 @@ -17796,47 +17832,47 @@ dh_installdeb dh_ocaml W: coccinelle doesn't resolve dependency on unit Includes_cache -W: coccinelle doesn't resolve dependency on unit Data -W: coccinelle doesn't resolve dependency on unit Ograph_extended -W: coccinelle doesn't resolve dependency on unit Parsing_hacks -W: coccinelle doesn't resolve dependency on unit Type_annoter_c -W: coccinelle doesn't resolve dependency on unit Control_flow_c +W: coccinelle doesn't resolve dependency on unit Token_helpers W: coccinelle doesn't resolve dependency on unit Parsing_consistency_c -W: coccinelle doesn't resolve dependency on unit Token_views_c +W: coccinelle doesn't resolve dependency on unit Regexp_str +W: coccinelle doesn't resolve dependency on unit Parsing_stat +W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci -W: coccinelle doesn't resolve dependency on unit Includes -W: coccinelle doesn't resolve dependency on unit Token_annot +W: coccinelle doesn't resolve dependency on unit Includes_cache +W: coccinelle doesn't resolve dependency on unit Regexp_str W: coccinelle doesn't resolve dependency on unit Danger -W: coccinelle doesn't resolve dependency on unit Lexer_parser -W: coccinelle doesn't resolve dependency on unit Parsing_recovery_c +W: coccinelle doesn't resolve dependency on unit Token_helpers +W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci +W: coccinelle doesn't resolve dependency on unit Cpp_token_c +W: coccinelle doesn't resolve dependency on unit Token_annot +W: coccinelle doesn't resolve dependency on unit Parsing_hacks +W: coccinelle doesn't resolve dependency on unit Parsing_hacks W: coccinelle doesn't resolve dependency on unit Token_annot -W: coccinelle doesn't resolve dependency on unit Parsing_stat -W: coccinelle doesn't resolve dependency on unit Danger -W: coccinelle doesn't resolve dependency on unit Parsing_stat -W: coccinelle doesn't resolve dependency on unit Includes_cache -W: coccinelle doesn't resolve dependency on unit Type_annoter_c W: coccinelle doesn't resolve dependency on unit Includes W: coccinelle doesn't resolve dependency on unit Data +W: coccinelle doesn't resolve dependency on unit Data +W: coccinelle doesn't resolve dependency on unit Includes W: coccinelle doesn't resolve dependency on unit Lexer_parser -W: coccinelle doesn't resolve dependency on unit Token_helpers +W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit Cpp_token_c -W: coccinelle doesn't resolve dependency on unit Control_flow_c -W: coccinelle doesn't resolve dependency on unit Regexp_str -W: coccinelle doesn't resolve dependency on unit Semantic_c -W: coccinelle doesn't resolve dependency on unit Regexp_str W: coccinelle doesn't resolve dependency on unit Parsing_consistency_c -W: coccinelle doesn't resolve dependency on unit Token_helpers +W: coccinelle doesn't resolve dependency on unit Type_annoter_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 Danger +W: coccinelle doesn't resolve dependency on unit Type_annoter_c W: coccinelle doesn't resolve dependency on unit Semantic_c -W: coccinelle doesn't resolve dependency on unit Parsing_hacks -W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci -W: coccinelle doesn't resolve dependency on unit Cpp_token_c +W: coccinelle doesn't resolve dependency on unit Parsing_recovery_c +W: coccinelle doesn't resolve dependency on unit Semantic_c +W: coccinelle doesn't resolve dependency on unit Lexer_parser +W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Parsing_recovery_c dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'coccinelle' in '../coccinelle_1.2.deb-1_amd64.deb'. dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.2.deb-1_amd64.deb'. dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.2.deb-1_all.deb'. +dpkg-deb: building package 'coccinelle' in '../coccinelle_1.2.deb-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../coccinelle_1.2.deb-1_amd64.buildinfo dpkg-genchanges --build=binary -O../coccinelle_1.2.deb-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -17844,12 +17880,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/3363804/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3363804/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/2799349 and its subdirectories -I: Current time: Tue Oct 22 13:39:58 -12 2024 -I: pbuilder-time-stamp: 1729647598 +I: removing directory /srv/workspace/pbuilder/3363804 and its subdirectories +I: Current time: Tue Nov 25 22:12:01 +14 2025 +I: pbuilder-time-stamp: 1764058321