Diff of the two buildlogs: -- --- b1/build.log 2024-10-23 22:15:50.195556090 +0000 +++ b2/build.log 2024-10-23 22:26:47.352125210 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 25 16:29:18 -12 2025 -I: pbuilder-time-stamp: 1764131358 +I: Current time: Thu Oct 24 12:15:52 +14 2024 +I: pbuilder-time-stamp: 1729721752 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,54 +32,86 @@ dpkg-source: info: applying dont-expose-parmap.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/50810/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/41662/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 23 22:16 /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/41662/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/41662/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='414b2a99352849eda84ca29932b4ee33' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='50810' - PS1='# ' - PS2='> ' + INVOCATION_ID=df674141d3a04a2b809a6c9b223d5ce9 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=41662 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.fZ0XtOMQ/pbuilderrc_7NHY --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.fZ0XtOMQ/b1 --logfile b1/build.log coccinelle_1.2.deb-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fZ0XtOMQ/pbuilderrc_VcwH --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.fZ0XtOMQ/b2 --logfile b2/build.log coccinelle_1.2.deb-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/50810/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/41662/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -337,7 +369,7 @@ Get: 186 http://deb.debian.org/debian trixie/main i386 texlive-latex-recommended all 2024.20240829-2 [8845 kB] Get: 187 http://deb.debian.org/debian trixie/main i386 texlive-pictures all 2024.20240829-2 [17.0 MB] Get: 188 http://deb.debian.org/debian trixie/main i386 texlive-latex-extra all 2024.20240829-1 [20.9 MB] -Fetched 844 MB in 13s (67.2 MB/s) +Fetched 844 MB in 19s (45.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21867 files and directories currently installed.) @@ -961,8 +993,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Nov 26 04:30:29 UTC 2025. -Universal Time is now: Wed Nov 26 04:30:29 UTC 2025. +Local time is now: Wed Oct 23 22:17:32 UTC 2024. +Universal Time is now: Wed Oct 23 22:17:32 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libfontenc1:i386 (1:1.1.8-1) ... @@ -1159,7 +1191,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/41662/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/41662/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 @@ -1169,7 +1205,7 @@ debian/rules clean dh clean --with ocaml,python3,autoreconf dh_auto_clean - make -j22 distclean + make -j10 distclean make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' CLEAN commons CLEAN globals @@ -1183,11 +1219,11 @@ CLEAN extra CLEAN spatch CLEAN spgen -CLEAN exposed-module 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 exposed-module CLEAN .depend CLEAN configure make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' @@ -1211,7 +1247,7 @@ checking whether make supports nested variables... yes configure: determining version suffix checking for date... /usr/bin/date -configure: version suffix set to Tue, 25 Nov 2025 16:34:08 -1200 +configure: version suffix set to Thu, 24 Oct 2024 12:21:00 +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) @@ -1230,7 +1266,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 @@ -4066,7 +4102,7 @@ make[2]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb/docs/manual' make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' dh_auto_build -Ncoccinelle-doc - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' /usr/bin/menhir --ocamldep "/usr/bin/ocamldep -I commons/ocamlextra -I commons -I globals -I parsing_cocci -I parsing_c -I ctl -I ocaml -I python -I engine -I popl09 -I extra -I tools/spgen/source/ -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/pyml -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/parmap -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/stdcompat -I +str -I +unix -I +dynlink -ml-synonym .mll -ml-synonym .mly -mli-synonym .ml -mli-synonym .mll -mli-synonym .mly" --depend parsing_cocci/parser_cocci_menhir.mly >parsing_cocci/parser_cocci_menhir.mly.d || (rm parsing_cocci/parser_cocci_menhir.mly.d; false) OCAMLYACC parsing_c/parser_c.mly @@ -4090,8 +4126,8 @@ OCAMLDEP tools/spgen/source/user_input.mli OCAMLDEP tools/spgen/source/snapshot.mli OCAMLDEP tools/spgen/source/meta_variable.mli -OCAMLDEP tools/spgen/source/detect_patch.mli OCAMLDEP tools/spgen/source/ast_tostring.mli +OCAMLDEP tools/spgen/source/detect_patch.mli OCAMLDEP tools/spgen/source/globals.mli OCAMLDEP main.mli OCAMLDEP enter.mli @@ -4237,13 +4273,11 @@ OCAMLLEX parsing_cocci/lexer_script.mll OCAMLLEX parsing_cocci/lexer_cli.mll 27 states, 322 transitions, table size 1450 bytes +14 states, 681 transitions, table size 2808 bytes OCAMLLEX parsing_cocci/lexer_cocci.mll OCAMLDEP tools/spgen/source/main.ml -14 states, 681 transitions, table size 2808 bytes OCAMLDEP tools/spgen/source/spgen_test.ml OCAMLDEP tools/spgen/source/spgen.ml -143 states, 8123 transitions, table size 33350 bytes -23641 additional bytes used for bindings OCAMLDEP tools/spgen/source/spgen_config.ml OCAMLDEP tools/spgen/source/spgen_interactive.ml OCAMLDEP tools/spgen/source/file_transform.ml @@ -4253,8 +4287,6 @@ OCAMLDEP tools/spgen/source/rule_body.ml OCAMLDEP tools/spgen/source/disj_generator.ml OCAMLDEP tools/spgen/source/position_generator.ml -403 states, 8820 transitions, table size 37698 bytes -4123 additional bytes used for bindings OCAMLDEP tools/spgen/source/user_input.ml OCAMLDEP tools/spgen/source/snapshot.ml OCAMLDEP tools/spgen/source/meta_variable.ml @@ -4266,11 +4298,15 @@ OCAMLDEP read_options.ml OCAMLDEP testing.ml OCAMLDEP cocci.ml +403 states, 8820 transitions, table size 37698 bytes +4123 additional bytes used for bindings OCAMLDEP flag_cocci.ml OCAMLDEP extra/maintainers.ml OCAMLDEP extra/kbuild.ml OCAMLDEP extra/classic_patch.ml OCAMLDEP popl09/popl.ml +143 states, 8123 transitions, table size 33350 bytes +23641 additional bytes used for bindings OCAMLDEP popl09/popltoctl.ml OCAMLDEP popl09/flag_popl.ml OCAMLDEP popl09/pretty_print_popl.ml @@ -4279,8 +4315,6 @@ OCAMLDEP popl09/ast_popl.ml OCAMLDEP engine/ctlcocci_integration.ml OCAMLDEP engine/postprocess_transinfo.ml -408 states, 16889 transitions, table size 70004 bytes -10655 additional bytes used for bindings OCAMLDEP engine/ctltotex.ml OCAMLDEP engine/asttoctl2.ml OCAMLDEP engine/asttomember.ml @@ -4321,6 +4355,8 @@ OCAMLDEP parsing_c/danger.ml OCAMLDEP parsing_c/parsing_consistency_c.ml OCAMLDEP parsing_c/parsing_recovery_c.ml +408 states, 16889 transitions, table size 70004 bytes +10655 additional bytes used for bindings OCAMLDEP parsing_c/unparse_cocci.ml OCAMLDEP parsing_c/cpp_analysis_c.ml OCAMLDEP parsing_c/parsing_hacks.ml @@ -4464,14 +4500,9 @@ OCAMLC ctl/pretty_print_ctl.mli OCAMLC engine/flag_matcher.ml OCAMLC popl09/flag_popl.ml -OCAMLC extra/classic_patch.mli -OCAMLC extra/kbuild.mli -OCAMLC extra/maintainers.mli OCAMLC flag_cocci.ml -OCAMLC read_options.ml OCAMLC tools/spgen/source/spgen_lexer.ml OCAMLC tools/spgen/source/main.ml -cp commons/common.cmi ocaml/common.cmi cp globals/regexp.cmo ocaml/regexp.cmo cp globals/config.cmo ocaml/config.cmo cp globals/flag.cmo ocaml/flag.cmo @@ -4493,23 +4524,24 @@ OCAMLC parsing_c/compare_c.mli OCAMLC parsing_c/test_parsing_c.mli OCAMLC ctl/pretty_print_ctl.ml -OCAMLC extra/classic_patch.ml -OCAMLC extra/kbuild.ml -OCAMLC extra/maintainers.ml -OCAMLC commons/ograph_simple.ml -OCAMLC -o globals/globals.cma -OCAMLC parsing_c/semantic_c.ml -cp globals/iteration.cmo ocaml/iteration.cmo -OCAMLC parsing_c/parsing_stat.ml -OCAMLC commons/ograph_extended.ml -OCAMLC ctl/ctl_engine.mli -OCAMLC parsing_c/token_c.ml +OCAMLC ocaml/yes_prepare_ocamlcocci.mli +OCAMLC ocaml/prepare_ocamlcocci.mli +OCAMLC engine/check_exhaustive_pattern.mli +OCAMLC popl09/ast_popl.mli +OCAMLC extra/classic_patch.mli +OCAMLC extra/kbuild.mli +OCAMLC extra/maintainers.mli +OCAMLC read_options.ml +OCAMLC tools/spgen/source/globals.mli +OCAMLC tools/spgen/source/ast_tostring.mli cp parsing_c/token_c.cmi ocaml/token_c.cmi +cp commons/common.cmi ocaml/common.cmi +cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo -OCAMLC ctl/ctl_engine.ml -OCAMLC ctl/wrapper_ctl.mli -cp parsing_c/token_c.cmo ocaml/token_c.cmo -OCAMLC ctl/wrapper_ctl.ml +cp globals/iteration.cmo ocaml/iteration.cmo +OCAMLC commons/ograph_simple.ml +OCAMLC commons/ograph_extended.ml +OCAMLC -o globals/globals.cma OCAMLC parsing_cocci/ast_cocci.ml OCAMLC parsing_cocci/ast0_cocci.mli OCAMLC parsing_cocci/pretty_print_cocci.mli @@ -4520,60 +4552,43 @@ OCAMLC parsing_cocci/disjdistr.mli OCAMLC parsing_cocci/get_constants2.mli OCAMLC parsing_cocci/re_constraints.mli +OCAMLC parsing_c/parsing_stat.ml +OCAMLC parsing_c/token_c.ml 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 -OCAMLC -o extra/extra.cma -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_cocci/pretty_print_cocci.ml -OCAMLC parsing_cocci/stmtlist.ml -OCAMLC parsing_cocci/free_vars.mli -OCAMLC parsing_cocci/safe_for_multi_decls.ml -OCAMLC parsing_cocci/cleanup_rules.ml -OCAMLC parsing_cocci/disjdistr.ml -OCAMLC parsing_cocci/get_constants2.ml -OCAMLC parsing_cocci/id_utils.mli +OCAMLC parsing_c/semantic_c.ml +OCAMLC ctl/ctl_engine.mli OCAMLC ocaml/prepare_ocamlcocci.ml OCAMLC popl09/ast_popl.ml OCAMLC popl09/asttopopl.mli OCAMLC popl09/insert_quantifiers.mli OCAMLC popl09/pretty_print_popl.mli +OCAMLC extra/classic_patch.ml +OCAMLC extra/kbuild.ml +OCAMLC extra/maintainers.ml OCAMLC testing.mli OCAMLC tools/spgen/source/globals.ml OCAMLC tools/spgen/source/ast_tostring.ml -OCAMLC parsing_cocci/free_vars.ml -OCAMLC parsing_cocci/id_utils.ml -cp parsing_c/ast_c.cmi ocaml/ast_c.cmi -OCAMLC popl09/insert_quantifiers.ml -OCAMLC parsing_c/ast_c.ml -OCAMLC parsing_c/includes.mli -OCAMLC parsing_c/control_flow_c.mli -OCAMLC parsing_c/includes_cache.mli -OCAMLC parsing_c/lexer_parser.mli -OCAMLC parsing_c/parser_c.mli -OCAMLC parsing_c/unparse_cocci.mli -OCAMLC parsing_c/parsing_consistency_c.mli -OCAMLC parsing_c/danger.mli -OCAMLC parsing_c/unparse_hrule.mli -OCAMLC parsing_c/type_c.mli -OCAMLC parsing_c/type_annoter_c.mli -OCAMLC ocaml/externalanalysis.mli -OCAMLC ocaml/ocamlcocci_aux.mli -OCAMLC ocaml/run_ocamlcocci.mli -OCAMLC python/pycocci_aux.mli -OCAMLC python/pycocci.mli -OCAMLC engine/c_vs_c.mli -OCAMLC engine/isomorphisms_c_c.mli +cp parsing_c/token_c.cmo ocaml/token_c.cmo +OCAMLC parsing_cocci/pretty_print_cocci.ml +OCAMLC parsing_cocci/stmtlist.ml +OCAMLC parsing_cocci/free_vars.mli +OCAMLC parsing_cocci/safe_for_multi_decls.ml +OCAMLC parsing_cocci/cleanup_rules.ml +OCAMLC parsing_cocci/disjdistr.ml +OCAMLC parsing_cocci/get_constants2.ml +OCAMLC parsing_cocci/id_utils.mli +OCAMLC ctl/ctl_engine.ml +OCAMLC ctl/wrapper_ctl.mli OCAMLC popl09/asttopopl.ml +OCAMLC popl09/insert_quantifiers.ml OCAMLC popl09/pretty_print_popl.ml +OCAMLC -o extra/extra.cma OCAMLC tools/spgen/source/detect_patch.mli OCAMLC tools/spgen/source/meta_variable.mli +OCAMLC tools/spgen/source/snapshot.mli +OCAMLC tools/spgen/source/rule_body.mli OCAMLC tools/spgen/source/file_transform.mli -cp parsing_c/parser_c.cmi ocaml/parser_c.cmi +cp parsing_c/ast_c.cmi ocaml/ast_c.cmi cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi OCAMLC parsing_cocci/ast0_cocci.ml OCAMLC parsing_cocci/visitor_ast0_types.mli @@ -4597,41 +4612,53 @@ OCAMLC parsing_cocci/insert_plus.mli OCAMLC parsing_cocci/function_prototypes.mli OCAMLC parsing_cocci/data.mli +OCAMLC parsing_cocci/free_vars.ml OCAMLC parsing_cocci/check_meta.mli +OCAMLC parsing_cocci/id_utils.ml OCAMLC parsing_cocci/adjacency.mli OCAMLC parsing_cocci/commas_on_lists.mli +OCAMLC parsing_cocci/re_constraints.ml OCAMLC parsing_cocci/parse_cocci.mli -OCAMLC parsing_c/includes.ml -OCAMLC parsing_c/control_flow_c.ml -OCAMLC parsing_c/visitor_c.mli -OCAMLC parsing_c/pretty_print_c.mli -OCAMLC parsing_c/control_flow_c_build.mli -OCAMLC parsing_c/lexer_parser.ml -OCAMLC parsing_c/lexer_c.mli -OCAMLC parsing_c/parse_string_c.mli -OCAMLC parsing_c/token_helpers.mli -OCAMLC parsing_c/token_views_c.mli -OCAMLC parsing_c/parsing_recovery_c.mli -OCAMLC parsing_c/type_c.ml +OCAMLC parsing_c/ast_c.ml +OCAMLC parsing_c/includes.mli +OCAMLC parsing_c/control_flow_c.mli +OCAMLC parsing_c/includes_cache.mli +OCAMLC parsing_c/lexer_parser.mli +OCAMLC parsing_c/parser_c.mli +OCAMLC parsing_c/unparse_cocci.mli +OCAMLC parsing_c/parsing_consistency_c.mli +OCAMLC parsing_c/danger.mli +OCAMLC parsing_c/unparse_hrule.mli +OCAMLC parsing_c/type_c.mli +OCAMLC parsing_c/type_annoter_c.mli OCAMLC parsing_c/comment_annotater_c.mli -OCAMLC -o ctl/ctl.cma -OCAMLC ocaml/externalanalysis.ml +OCAMLC ctl/wrapper_ctl.ml +OCAMLC ocaml/externalanalysis.mli +OCAMLC ocaml/ocamlcocci_aux.mli +OCAMLC ocaml/run_ocamlcocci.mli +OCAMLC python/pycocci_aux.mli +OCAMLC python/pycocci.mli OCAMLC engine/lib_engine.mli OCAMLC engine/check_exhaustive_pattern.ml OCAMLC engine/check_reachability.mli -OCAMLC engine/isomorphisms_c_c.ml +OCAMLC engine/c_vs_c.mli +OCAMLC engine/isomorphisms_c_c.mli OCAMLC engine/cocci_vs_c.mli -OCAMLC tools/spgen/source/snapshot.mli +OCAMLC tools/spgen/source/snapshot.ml OCAMLC tools/spgen/source/user_input.mli -OCAMLC tools/spgen/source/rule_body.mli +OCAMLC tools/spgen/source/position_generator.mli +OCAMLC tools/spgen/source/disj_generator.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 tools/spgen/source/script_rule.mli +OCAMLC tools/spgen/source/spgen_interactive.mli +OCAMLC tools/spgen/source/spgen_config.mli OCAMLC tools/spgen/source/spgen_test.ml -cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi -cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi -cp parsing_c/ast_c.cmo ocaml/ast_c.cmo +cp parsing_c/parser_c.cmi ocaml/parser_c.cmi +cp commons/common.cmo ocaml/common.cmo cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo +cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo +OCAMLC -o commons/commons.cma OCAMLC parsing_cocci/visitor_ast0_types.ml OCAMLC parsing_cocci/visitor_ast0.mli OCAMLC parsing_cocci/unparse_ast0.ml @@ -4643,27 +4670,32 @@ OCAMLC parsing_cocci/index.ml OCAMLC parsing_cocci/data.ml OCAMLC parsing_cocci/parse_aux.mli -OCAMLC parsing_cocci/re_constraints.ml -OCAMLC parsing_c/visitor_c.ml -OCAMLC parsing_c/lib_parsing_c.mli -OCAMLC parsing_c/lexer_c.ml -OCAMLC parsing_c/parse_string_c.ml -OCAMLC parsing_c/token_helpers.ml -OCAMLC parsing_c/token_views_c.ml -OCAMLC parsing_c/cpp_token_c.mli +OCAMLC parsing_cocci/adjacency.ml +OCAMLC parsing_cocci/commas_on_lists.ml +OCAMLC parsing_c/includes.ml +OCAMLC parsing_c/control_flow_c.ml +OCAMLC parsing_c/visitor_c.mli +OCAMLC parsing_c/pretty_print_c.mli +OCAMLC parsing_c/control_flow_c_build.mli +OCAMLC parsing_c/lexer_parser.ml +OCAMLC parsing_c/lexer_c.mli +OCAMLC parsing_c/parse_string_c.mli +OCAMLC parsing_c/token_helpers.mli +OCAMLC parsing_c/token_views_c.mli OCAMLC parsing_c/unparse_cocci.ml -OCAMLC parsing_c/parsing_recovery_c.ml +OCAMLC parsing_c/parsing_recovery_c.mli OCAMLC parsing_c/parsing_consistency_c.ml -OCAMLC parsing_c/danger.ml OCAMLC parsing_c/unparse_hrule.ml +OCAMLC parsing_c/type_c.ml OCAMLC parsing_c/comment_annotater_c.ml +OCAMLC -o ctl/ctl.cma +OCAMLC ocaml/externalanalysis.ml OCAMLC ocaml/ocamlcocci_aux.ml OCAMLC python/pycocci_aux.ml OCAMLC engine/lib_engine.ml OCAMLC engine/pretty_print_engine.mli OCAMLC engine/check_reachability.ml -OCAMLC engine/c_vs_c.ml -OCAMLC engine/cocci_vs_c.ml +OCAMLC engine/isomorphisms_c_c.ml OCAMLC engine/pattern_c.mli OCAMLC engine/transformation_c.mli OCAMLC engine/asttomember.mli @@ -4673,20 +4705,21 @@ OCAMLC engine/ctlcocci_integration.mli OCAMLC tools/spgen/source/detect_patch.ml OCAMLC tools/spgen/source/meta_variable.ml -OCAMLC tools/spgen/source/snapshot.ml OCAMLC tools/spgen/source/user_input.ml -OCAMLC tools/spgen/source/position_generator.mli -OCAMLC tools/spgen/source/disj_generator.mli +OCAMLC tools/spgen/source/position_generator.ml +OCAMLC tools/spgen/source/disj_generator.ml +OCAMLC tools/spgen/source/rule_body.ml OCAMLC tools/spgen/source/rule_header.ml OCAMLC tools/spgen/source/context_rule.ml -OCAMLC tools/spgen/source/script_rule.mli +OCAMLC tools/spgen/source/script_rule.ml OCAMLC tools/spgen/source/file_transform.ml -OCAMLC tools/spgen/source/spgen_interactive.mli -OCAMLC tools/spgen/source/spgen_config.mli -cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi -cp commons/common.cmo ocaml/common.cmo -cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo -OCAMLC -o commons/commons.cma +OCAMLC tools/spgen/source/spgen_interactive.ml +OCAMLC tools/spgen/source/spgen_config.ml +OCAMLC tools/spgen/source/spgen.ml +cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi +cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi +cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi +cp parsing_c/ast_c.cmo ocaml/ast_c.cmo OCAMLC parsing_cocci/visitor_ast0.ml OCAMLC parsing_cocci/ast0toast.ml OCAMLC parsing_cocci/iso_pattern.ml @@ -4705,18 +4738,19 @@ OCAMLC parsing_cocci/check_meta.ml OCAMLC parsing_cocci/parse_aux.ml MENHIR parsing_cocci/parser_cocci_menhir.mly -OCAMLC parsing_cocci/adjacency.ml -OCAMLC parsing_cocci/commas_on_lists.ml -OCAMLC parsing_c/lib_parsing_c.ml -OCAMLC parsing_c/includes_cache.ml -OCAMLC parsing_c/pretty_print_c.ml -OCAMLC parsing_c/control_flow_c_build.ml -OCAMLC parsing_c/parser_c.ml -OCAMLC parsing_c/cpp_token_c.ml -OCAMLC parsing_c/parsing_hacks.mli -OCAMLC parsing_c/cpp_analysis_c.mli +OCAMLC parsing_c/visitor_c.ml +OCAMLC parsing_c/lib_parsing_c.mli +OCAMLC parsing_c/lexer_c.ml +OCAMLC parsing_c/parse_string_c.ml +OCAMLC parsing_c/token_helpers.ml +OCAMLC parsing_c/token_views_c.ml +OCAMLC parsing_c/cpp_token_c.mli +OCAMLC parsing_c/parsing_recovery_c.ml +OCAMLC parsing_c/danger.ml OCAMLC parsing_c/parse_c.mli OCAMLC engine/pretty_print_engine.ml +OCAMLC engine/c_vs_c.ml +OCAMLC engine/cocci_vs_c.ml OCAMLC engine/pattern_c.ml OCAMLC engine/transformation_c.ml OCAMLC engine/asttomember.ml @@ -4728,40 +4762,41 @@ OCAMLC popl09/popl.mli OCAMLC cocci.mli OCAMLC main.ml -OCAMLC tools/spgen/source/position_generator.ml -OCAMLC tools/spgen/source/disj_generator.ml -OCAMLC tools/spgen/source/rule_body.ml -OCAMLC tools/spgen/source/script_rule.ml -OCAMLC tools/spgen/source/spgen_interactive.ml -OCAMLC tools/spgen/source/spgen_config.ml -OCAMLC tools/spgen/source/spgen.ml cp parsing_c/parse_c.cmi ocaml/parse_c.cmi +cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo -cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo OCAMLC parsing_cocci/iso_compile.ml -OCAMLC parsing_c/parsing_hacks.ml -OCAMLC parsing_c/cpp_analysis_c.ml +OCAMLC parsing_c/lib_parsing_c.ml +OCAMLC parsing_c/includes_cache.ml +OCAMLC parsing_c/pretty_print_c.ml +OCAMLC parsing_c/control_flow_c_build.ml +OCAMLC parsing_c/parser_c.ml +OCAMLC parsing_c/cpp_token_c.ml +OCAMLC parsing_c/parsing_hacks.mli +OCAMLC parsing_c/cpp_analysis_c.mli OCAMLC parsing_c/parse_c.ml OCAMLC parsing_c/unparse_c.mli OCAMLC parsing_c/cpp_ast_c.mli OCAMLC parsing_c/type_annoter_c.ml OCAMLC parsing_c/compare_c.ml +OCAMLC parsing_c/test_parsing_c.ml OCAMLC ocaml/exposed_modules.mli OCAMLC ocaml/coccilib.mli OCAMLC popl09/popltoctl.ml OCAMLC popl09/popl.ml OCAMLC testing.ml OCAMLC enter.ml +cp parsing_c/parse_c.cmo ocaml/parse_c.cmo +cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo +OCAMLC parsing_c/parsing_hacks.ml +OCAMLC parsing_c/cpp_analysis_c.ml OCAMLC parsing_c/unparse_c.ml OCAMLC parsing_c/cpp_ast_c.ml -OCAMLC parsing_c/test_parsing_c.ml -cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo OCAMLC -o popl09/popl09.cma +cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo OCAMLC ocaml/exposed_modules.ml -cp parsing_c/parse_c.cmo ocaml/parse_c.cmo cp parsing_c/parser_c.cmo ocaml/parser_c.cmo -OCAMLC -o parsing_c/parsing_c.cma OCAMLC ocaml/coccilib.ml OCAMLC ocaml/yes_prepare_ocamlcocci.ml OCAMLC ocaml/run_ocamlcocci.ml @@ -4769,9 +4804,10 @@ OCAMLC cocci.ml OCAMLC python/yes_pycocci.ml OCAMLC python/pycocci.ml +OCAMLC -o parsing_c/parsing_c.cma OCAMLC -o python/python.cma -OCAMLC -o engine/engine.cma OCAMLC -o ocaml/ocaml.cma +OCAMLC -o engine/engine.cma OCAMLDEP parsing_cocci/parser_cocci_menhir.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.mli OCAMLC parsing_cocci/parser_cocci_menhir.mli @@ -4794,7 +4830,7 @@ 62.res diff = --- tests/62.c -+++ /tmp/cocci-output-33521-ce23b4-62.c ++++ /tmp/cocci-output-50817-ede8f5-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, @@ -4812,7 +4848,7 @@ a3.res diff = --- tests/a3.c -+++ /tmp/cocci-output-33521-61ca93-a3.c ++++ /tmp/cocci-output-50817-ec5298-a3.c @@ -1,5 +1,5 @@ static void a3d_connect() { @@ -4823,7 +4859,7 @@ a3d.res diff = --- tests/a3d.c -+++ /tmp/cocci-output-33521-cc2266-a3d.c ++++ /tmp/cocci-output-50817-8d15bf-a3d.c @@ -6,13 +6,13 @@ struct a3d { static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { @@ -4845,7 +4881,7 @@ a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c -+++ /tmp/cocci-output-33521-4f8ec7-a_and_e_ver1.c ++++ /tmp/cocci-output-50817-c0c78e-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { @@ -4857,7 +4893,7 @@ ab.res diff = --- tests/ab.c -+++ /tmp/cocci-output-33521-e4c25c-ab.c ++++ /tmp/cocci-output-50817-ed2e9f-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; @@ -4868,7 +4904,7 @@ action.res diff = --- tests/action.c -+++ /tmp/cocci-output-33521-357956-action.c ++++ /tmp/cocci-output-50817-9ac685-action.c @@ -1,10 +1,8 @@ void work() { @@ -4886,7 +4922,7 @@ SPECIAL NAMES: adding list_for_each_entry as a iterator diff = --- tests/add1.c -+++ /tmp/cocci-output-33521-72379e-add1.c ++++ /tmp/cocci-output-50817-40415b-add1.c @@ -7,6 +7,9 @@ static int create_scheduling_groups(void ret = build_groups(sd, i); } @@ -4913,7 +4949,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-33521-7fe12a-addaft.c ++++ /tmp/cocci-output-50817-d61739-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); @@ -4937,7 +4973,7 @@ addafterdecl.res diff = --- tests/addafterdecl.c -+++ /tmp/cocci-output-33521-cc96fb-addafterdecl.c ++++ /tmp/cocci-output-50817-eaf573-addafterdecl.c @@ -1,4 +1,5 @@ int main () { int x; @@ -4947,7 +4983,7 @@ addbefore.res diff = --- tests/addbefore.c -+++ /tmp/cocci-output-33521-d3e22d-addbefore.c ++++ /tmp/cocci-output-50817-44bb8d-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { @@ -4958,7 +4994,7 @@ addbeforeafter.res diff = --- tests/addbeforeafter.c -+++ /tmp/cocci-output-33521-eca932-addbeforeafter.c ++++ /tmp/cocci-output-50817-31d897-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { @@ -4971,7 +5007,7 @@ addcomm.res diff = --- tests/addcomm.c -+++ /tmp/cocci-output-33521-87727c-addcomm.c ++++ /tmp/cocci-output-50817-2866a0-addcomm.c @@ -1,5 +1,9 @@ int main() { - foo(); @@ -4987,7 +5023,7 @@ addelse.res diff = --- tests/addelse.c -+++ /tmp/cocci-output-33521-06595e-addelse.c ++++ /tmp/cocci-output-50817-925645-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; @@ -4995,7 +5031,7 @@ addes.res diff = --- tests/addes.c -+++ /tmp/cocci-output-33521-e2acdc-addes.c ++++ /tmp/cocci-output-50817-d980e1-addes.c @@ -1 +1,3 @@ int i; +struct foo { @@ -5003,7 +5039,7 @@ addfield.res diff = --- tests/addfield.c -+++ /tmp/cocci-output-33521-4c553b-addfield.c ++++ /tmp/cocci-output-50817-63c784-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, @@ -5015,7 +5051,7 @@ addfield2.res diff = --- tests/addfield2.c -+++ /tmp/cocci-output-33521-ede032-addfield2.c ++++ /tmp/cocci-output-50817-f0d11d-addfield2.c @@ -1,17 +1,21 @@ struct foo { + int roto; @@ -5041,7 +5077,7 @@ addif.res diff = --- tests/addif.c -+++ /tmp/cocci-output-33521-66b0db-addif.c ++++ /tmp/cocci-output-50817-78057e-addif.c @@ -1,7 +1,21 @@ +#ifdef FOO +/* some comment */ @@ -5067,7 +5103,7 @@ addif1.res diff = --- tests/addif1.c -+++ /tmp/cocci-output-33521-941def-addif1.c ++++ /tmp/cocci-output-50817-bc2a45-addif1.c @@ -1,7 +1,17 @@ +#ifdef FOO +int xxx() { @@ -5089,7 +5125,7 @@ addif2.res diff = --- tests/addif2.c -+++ /tmp/cocci-output-33521-d9443b-addif2.c ++++ /tmp/cocci-output-50817-7d2113-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; @@ -5107,7 +5143,7 @@ addifdef.res diff = --- tests/addifdef.c -+++ /tmp/cocci-output-33521-4d4e7e-addifdef.c ++++ /tmp/cocci-output-50817-478691-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) @@ -5126,7 +5162,7 @@ addifelse.res diff = --- tests/addifelse.c -+++ /tmp/cocci-output-33521-030f39-addifelse.c ++++ /tmp/cocci-output-50817-90185b-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) @@ -5145,7 +5181,7 @@ addifelse2.res diff = --- tests/addifelse2.c -+++ /tmp/cocci-output-33521-380bf0-addifelse2.c ++++ /tmp/cocci-output-50817-a8a9e5-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) { @@ -5165,7 +5201,7 @@ addinc.res diff = --- tests/addinc.c -+++ /tmp/cocci-output-33521-65e74d-addinc.c ++++ /tmp/cocci-output-50817-349efa-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO @@ -5175,7 +5211,7 @@ addnl.res diff = --- tests/addnl.c -+++ /tmp/cocci-output-33521-98b2f9-addnl.c ++++ /tmp/cocci-output-50817-1f4bee-addnl.c @@ -1,5 +1,6 @@ int main () { xxx(); @@ -5188,7 +5224,7 @@ addtoo.res diff = --- tests/addtoo.c -+++ /tmp/cocci-output-33521-329f27-addtoo.c ++++ /tmp/cocci-output-50817-4b8c9e-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { @@ -5212,7 +5248,7 @@ addtrace.res diff = --- tests/addtrace.c -+++ /tmp/cocci-output-33521-bfb251-addtrace.c ++++ /tmp/cocci-output-50817-a54326-addtrace.c @@ -2,13 +2,24 @@ short VerDate(char *pcDate) { short sRetour = 0; @@ -5245,7 +5281,7 @@ after_if.res diff = --- tests/after_if.c -+++ /tmp/cocci-output-33521-6179ca-after_if.c ++++ /tmp/cocci-output-50817-328ecb-after_if.c @@ -1,4 +1,4 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); @@ -5257,7 +5293,7 @@ allex.res diff = --- tests/allex.c -+++ /tmp/cocci-output-33521-3cb406-allex.c ++++ /tmp/cocci-output-50817-c54c8e-allex.c @@ -6,7 +6,7 @@ int main () { goto out; } @@ -5270,7 +5306,7 @@ allex2.res diff = --- tests/allex2.c -+++ /tmp/cocci-output-33521-d58ad1-allex2.c ++++ /tmp/cocci-output-50817-a19e0b-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; @@ -5281,7 +5317,7 @@ allex3.res diff = --- tests/allex3.c -+++ /tmp/cocci-output-33521-517e17-allex3.c ++++ /tmp/cocci-output-50817-f32c1a-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; @@ -5291,7 +5327,7 @@ andid.res diff = --- tests/andid.c -+++ /tmp/cocci-output-33521-41b9ce-andid.c ++++ /tmp/cocci-output-50817-904b40-andid.c @@ -1,5 +1,5 @@ int main () { - int frontandback = 12; @@ -5302,7 +5338,7 @@ anon.res diff = --- tests/anon.c -+++ /tmp/cocci-output-33521-296425-anon.c ++++ /tmp/cocci-output-50817-e3f32d-anon.c @@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_ void (*done) (struct scsi_cmnd *)) { @@ -5313,7 +5349,7 @@ anonfield.res diff = --- tests/anonfield.c -+++ /tmp/cocci-output-33521-386d1e-anonfield.c ++++ /tmp/cocci-output-50817-a3e829-anonfield.c @@ -1,3 +1,3 @@ struct { - int; @@ -5322,7 +5358,7 @@ ar.res diff = --- tests/ar.c -+++ /tmp/cocci-output-33521-b12b2a-ar.c ++++ /tmp/cocci-output-50817-f123b5-ar.c @@ -4,9 +4,4 @@ int main() { struct foo *x; struct bar *y; @@ -5336,7 +5372,7 @@ arg.res diff = --- tests/arg.c -+++ /tmp/cocci-output-33521-22838d-arg.c ++++ /tmp/cocci-output-50817-78859f-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); @@ -5351,7 +5387,7 @@ argument.res diff = --- tests/argument.c -+++ /tmp/cocci-output-33521-445217-argument.c ++++ /tmp/cocci-output-50817-e60420-argument.c @@ -1,8 +1,5 @@ void main(int i){ @@ -5365,7 +5401,7 @@ arparam.res diff = --- tests/arparam.c -+++ /tmp/cocci-output-33521-3ae7a8-arparam.c ++++ /tmp/cocci-output-50817-26f3ee-arparam.c @@ -1,3 +1,8 @@ +int g(int q[1024]) +{ @@ -5379,7 +5415,7 @@ SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/array_init.c -+++ /tmp/cocci-output-33521-1109f7-array_init.c ++++ /tmp/cocci-output-50817-504abe-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"); @@ -5387,7 +5423,7 @@ array_size.res diff = --- tests/array_size.c -+++ /tmp/cocci-output-33521-f6bb89-array_size.c ++++ /tmp/cocci-output-50817-43c138-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) @@ -5395,7 +5431,7 @@ arraysz.res diff = --- tests/arraysz.c -+++ /tmp/cocci-output-33521-9f3ea8-arraysz.c ++++ /tmp/cocci-output-50817-d65931-arraysz.c @@ -7,4 +7,4 @@ typedef struct signature { static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ @@ -5405,7 +5441,7 @@ as_stm.res diff = --- tests/as_stm.c -+++ /tmp/cocci-output-33521-cb16c5-as_stm.c ++++ /tmp/cocci-output-50817-00c0c6-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE @@ -5422,7 +5458,7 @@ SPECIAL NAMES: adding aarg4 as a attribute diff = --- tests/attr_with_arguments.c -+++ /tmp/cocci-output-33521-929319-attr_with_arguments.c ++++ /tmp/cocci-output-50817-72927c-attr_with_arguments.c @@ -1,9 +1,9 @@ -aarg(1,2) int func() { - int id aarg3(1,2); @@ -5456,7 +5492,7 @@ attradd.res diff = --- tests/attradd.c -+++ /tmp/cocci-output-33521-301bf9-attradd.c ++++ /tmp/cocci-output-50817-52fcce-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; @@ -5470,7 +5506,7 @@ SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attribute_order.c -+++ /tmp/cocci-output-33521-e8977f-attribute_order.c ++++ /tmp/cocci-output-50817-1f9696-attribute_order.c @@ -1,3 +1,3 @@ -int __att1 * __att2 * __att3 foo() { return 0; } + @@ -5480,7 +5516,7 @@ warning: line 5: should variable be a metavariable? diff = --- tests/attributeb.c -+++ /tmp/cocci-output-33521-29e7d9-attributeb.c ++++ /tmp/cocci-output-50817-898de6-attributeb.c @@ -1,3 +1,3 @@ int main(){ - [[lucky]] int variable; @@ -5489,7 +5525,7 @@ attributeu.res diff = --- tests/attributeu.cpp -+++ /tmp/cocci-output-33521-69b28b-attributeu.cpp ++++ /tmp/cocci-output-50817-aa9356-attributeu.cpp @@ -1,3 +1,3 @@ int main(){ - [[using GCC : lucky]] int variable; @@ -5501,7 +5537,7 @@ SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attrreplace.c -+++ /tmp/cocci-output-33521-2256a1-attrreplace.c ++++ /tmp/cocci-output-50817-819f58-attrreplace.c @@ -1,4 +1,7 @@ -int __att1 * __att2 * __att3 foo() { aaa(0); } -int __att1 * __att2 * __att3 bar() { return 0; } @@ -5519,7 +5555,7 @@ SPECIAL NAMES: adding BUG as a declarer diff = --- tests/attrs2groups.c -+++ /tmp/cocci-output-33521-63b16c-attrs2groups.c ++++ /tmp/cocci-output-50817-004f9a-attrs2groups.c @@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic { return 42; @@ -5554,7 +5590,7 @@ b1.res diff = --- tests/b1.c -+++ /tmp/cocci-output-33521-864bd7-b1.c ++++ /tmp/cocci-output-50817-730662-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { @@ -5571,7 +5607,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-33521-74cec7-b2.c ++++ /tmp/cocci-output-50817-da95fe-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { @@ -5590,7 +5626,7 @@ bad_kfree.res diff = --- tests/bad_kfree.c -+++ /tmp/cocci-output-33521-7b9719-bad_kfree.c ++++ /tmp/cocci-output-50817-4142f2-bad_kfree.c @@ -14,7 +14,7 @@ int bad () { kfree(itv[i]); print("foo",itv[i]); @@ -5603,7 +5639,7 @@ bad_ptr_print.res diff = --- tests/bad_ptr_print.c -+++ /tmp/cocci-output-33521-8d4ef6-bad_ptr_print.c ++++ /tmp/cocci-output-50817-abe0db-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { @@ -5613,7 +5649,7 @@ bad_typedef.res diff = --- tests/bad_typedef.c -+++ /tmp/cocci-output-33521-02fc7d-bad_typedef.c ++++ /tmp/cocci-output-50817-79aad8-bad_typedef.c @@ -4,7 +4,7 @@ typedef struct { @@ -5633,7 +5669,7 @@ badcfg.res diff = --- tests/badcfg.c -+++ /tmp/cocci-output-33521-0e341b-badcfg.c ++++ /tmp/cocci-output-50817-7d0617-badcfg.c @@ -3,7 +3,7 @@ const char *netdev_cmd_to_name(enum netd #define N(val) \ case NETDEV_##val: \ @@ -5646,7 +5682,7 @@ badexp.res diff = --- tests/badexp.c -+++ /tmp/cocci-output-33521-918098-badexp.c ++++ /tmp/cocci-output-50817-4a5301-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); @@ -5673,7 +5709,7 @@ badtypedef.res diff = --- tests/badtypedef.c -+++ /tmp/cocci-output-33521-3d59cc-badtypedef.c ++++ /tmp/cocci-output-50817-eb06b3-badtypedef.c @@ -5,7 +5,7 @@ int main() { foo_t *b; foo_t *c; @@ -5687,7 +5723,7 @@ badwhen.res diff = --- tests/badwhen.c -+++ /tmp/cocci-output-33521-2ff580-badwhen.c ++++ /tmp/cocci-output-50817-80b229-badwhen.c @@ -4,7 +4,5 @@ int main () { g(); } @@ -5699,7 +5735,7 @@ badzero.res diff = --- tests/badzero.c -+++ /tmp/cocci-output-33521-8e99c8-badzero.c ++++ /tmp/cocci-output-50817-54cbab-badzero.c @@ -4,7 +4,7 @@ int main () { int z; if (y - x == 0) return; @@ -5716,7 +5752,7 @@ befS.res diff = --- tests/befS.c -+++ /tmp/cocci-output-33521-bbb44b-befS.c ++++ /tmp/cocci-output-50817-a34a88-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); @@ -5755,7 +5791,7 @@ before.res diff = --- tests/before.c -+++ /tmp/cocci-output-33521-b0bda2-before.c ++++ /tmp/cocci-output-50817-793dd6-before.c @@ -1,4 +1,6 @@ int main () { + blah(); @@ -5766,7 +5802,7 @@ befored.res diff = --- tests/befored.c -+++ /tmp/cocci-output-33521-3deec4-befored.c ++++ /tmp/cocci-output-50817-4487a4-befored.c @@ -1,4 +1,8 @@ int main() { + foo(); @@ -5781,7 +5817,7 @@ SPECIAL NAMES: adding GTypeInfo as a type diff = --- tests/ben.c -+++ /tmp/cocci-output-33521-82269f-ben.c ++++ /tmp/cocci-output-50817-1624f8-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { @@ -5821,7 +5857,7 @@ bigin.res diff = --- tests/bigin.c -+++ /tmp/cocci-output-33521-9e1502-bigin.c ++++ /tmp/cocci-output-50817-475c79-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) @@ -5832,7 +5868,7 @@ bigrepl.res diff = --- tests/bigrepl.c -+++ /tmp/cocci-output-33521-6354ad-bigrepl.c ++++ /tmp/cocci-output-50817-05a136-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), @@ -5849,7 +5885,7 @@ binop.res diff = --- tests/binop.c -+++ /tmp/cocci-output-33521-6bd05a-binop.c ++++ /tmp/cocci-output-50817-2c4eac-binop.c @@ -2,10 +2,12 @@ void main() { int i = 0; int j = 0; @@ -5870,7 +5906,7 @@ warning: rule starting on line 11: metavariable v not used in the - or context code diff = --- tests/bitfield.c -+++ /tmp/cocci-output-33521-5c3743-bitfield.c ++++ /tmp/cocci-output-50817-28fe22-bitfield.c @@ -1,15 +1,15 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -5901,7 +5937,7 @@ bool1.res diff = --- tests/bool1.cpp -+++ /tmp/cocci-output-33521-6b676d-bool1.cpp ++++ /tmp/cocci-output-50817-127b1a-bool1.cpp @@ -1,3 +1,3 @@ atype f::g() { - return 0; @@ -5912,7 +5948,7 @@ (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c -+++ /tmp/cocci-output-33521-4453b5-boolr.c ++++ /tmp/cocci-output-50817-6ce122-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; @@ -5921,7 +5957,7 @@ bracebraceline.res diff = --- tests/bracebraceline.c -+++ /tmp/cocci-output-33521-32f4b7-bracebraceline.c ++++ /tmp/cocci-output-50817-c7a993-bracebraceline.c @@ -1,6 +1,5 @@ int main () { if (x) { @@ -5933,7 +5969,7 @@ braceline.res diff = --- tests/braceline.c -+++ /tmp/cocci-output-33521-979baa-braceline.c ++++ /tmp/cocci-output-50817-d41564-braceline.c @@ -1,6 +1,3 @@ int main () { - if (x) { @@ -5945,7 +5981,7 @@ braces.res diff = --- tests/braces.c -+++ /tmp/cocci-output-33521-9064bf-braces.c ++++ /tmp/cocci-output-50817-1748a2-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); @@ -5963,7 +5999,7 @@ bracket.res diff = --- tests/bracket.cpp -+++ /tmp/cocci-output-33521-5cf626-bracket.cpp ++++ /tmp/cocci-output-50817-224b8c-bracket.cpp @@ -1,3 +1,3 @@ int main () { - rsb_flags_t flags{flags_}; @@ -5972,7 +6008,7 @@ branchparen.res diff = --- tests/branchparen.c -+++ /tmp/cocci-output-33521-1315ca-branchparen.c ++++ /tmp/cocci-output-50817-9ea99c-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) @@ -5989,7 +6025,7 @@ break.res diff = --- tests/break.c -+++ /tmp/cocci-output-33521-5839da-break.c ++++ /tmp/cocci-output-50817-455aeb-break.c @@ -5,8 +5,10 @@ int main () { x = 15; if (x > 1 ) { foo(); break; } @@ -6017,7 +6053,7 @@ bug1.res diff = --- tests/bug1.c -+++ /tmp/cocci-output-33521-ddfd82-bug1.c ++++ /tmp/cocci-output-50817-40ebc7-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, @@ -6030,7 +6066,7 @@ bugon.res diff = --- tests/bugon.c -+++ /tmp/cocci-output-33521-559b29-bugon.c ++++ /tmp/cocci-output-50817-787e9f-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { @@ -6041,7 +6077,7 @@ bus.res diff = --- tests/bus.c -+++ /tmp/cocci-output-33521-89a14c-bus.c ++++ /tmp/cocci-output-50817-41c51f-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; @@ -6054,7 +6090,7 @@ SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/cards.c -+++ /tmp/cocci-output-33521-7199a3-cards.c ++++ /tmp/cocci-output-50817-cee9a8-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + @@ -6063,7 +6099,7 @@ caseprint.res diff = --- tests/caseprint.c -+++ /tmp/cocci-output-33521-36a195-caseprint.c ++++ /tmp/cocci-output-50817-1d97a8-caseprint.c @@ -3,4 +3,10 @@ int f() { case 12: return 0; case 1: return 2; @@ -6078,7 +6114,7 @@ cast.res diff = --- tests/cast.c -+++ /tmp/cocci-output-33521-c75a2f-cast.c ++++ /tmp/cocci-output-50817-ff34e5-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; @@ -6086,7 +6122,7 @@ cast_iso.res diff = --- tests/cast_iso.c -+++ /tmp/cocci-output-33521-ce7d35-cast_iso.c ++++ /tmp/cocci-output-50817-02530c-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { @@ -6099,7 +6135,7 @@ castdecl.res diff = --- tests/castdecl.c -+++ /tmp/cocci-output-33521-e08218-castdecl.c ++++ /tmp/cocci-output-50817-c8f066-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; @@ -6118,7 +6154,7 @@ cdstr.res diff = --- tests/cdstr.cpp -+++ /tmp/cocci-output-33521-894ddb-cdstr.cpp ++++ /tmp/cocci-output-50817-322230-cdstr.cpp @@ -2,11 +2,11 @@ class X @@ -6136,7 +6172,7 @@ cex_snip_field_bad.res diff = --- tests/cex_snip_field_bad.cpp -+++ /tmp/cocci-output-33521-6ba211-cex_snip_field_bad.cpp ++++ /tmp/cocci-output-50817-ec9db5-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; }; @@ -6149,7 +6185,7 @@ cex_snip_field_ok.res diff = --- tests/cex_snip_field_ok.c -+++ /tmp/cocci-output-33521-0250b9-cex_snip_field_ok.c ++++ /tmp/cocci-output-50817-5225be-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; }; @@ -6162,7 +6198,7 @@ cex_wishlist_complex1.res diff = --- tests/cex_wishlist_complex1.c -+++ /tmp/cocci-output-33521-97951d-cex_wishlist_complex1.c ++++ /tmp/cocci-output-50817-1fb801-cex_wishlist_complex1.c @@ -1,6 +1,6 @@ #include int main() { @@ -6174,7 +6210,7 @@ cex_wishlist_complex2.res diff = --- tests/cex_wishlist_complex2.c -+++ /tmp/cocci-output-33521-cdfcaa-cex_wishlist_complex2.c ++++ /tmp/cocci-output-50817-196279-cex_wishlist_complex2.c @@ -2,7 +2,7 @@ int main() { double d; @@ -6187,7 +6223,7 @@ cex_wishlist_complex3.res diff = --- tests/cex_wishlist_complex3.c -+++ /tmp/cocci-output-33521-458b19-cex_wishlist_complex3.c ++++ /tmp/cocci-output-50817-dbf210-cex_wishlist_complex3.c @@ -2,7 +2,7 @@ int main() { double d; @@ -6201,7 +6237,7 @@ change.res diff = --- tests/change.c -+++ /tmp/cocci-output-33521-64027d-change.c ++++ /tmp/cocci-output-50817-5092b7-change.c @@ -1,5 +1,6 @@ int main () { foo(); @@ -6212,7 +6248,7 @@ change_type.res diff = --- tests/change_type.c -+++ /tmp/cocci-output-33521-3447f4-change_type.c ++++ /tmp/cocci-output-50817-eccc28-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; @@ -6222,7 +6258,7 @@ changei.res diff = --- tests/changei.c -+++ /tmp/cocci-output-33521-1831a1-changei.c ++++ /tmp/cocci-output-50817-6b32b2-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; @@ -6239,7 +6275,7 @@ cocci_args.res diff = --- tests/cocci_args.c -+++ /tmp/cocci-output-33521-7f042a-cocci_args.c ++++ /tmp/cocci-output-50817-80bc0f-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); @@ -6248,7 +6284,7 @@ com.res diff = --- tests/com.c -+++ /tmp/cocci-output-33521-1e72c6-com.c ++++ /tmp/cocci-output-50817-6a17be-com.c @@ -1,8 +1,3 @@ int main() { - foo(); @@ -6261,7 +6297,7 @@ comadd.res diff = --- tests/comadd.c -+++ /tmp/cocci-output-33521-4a14f5-comadd.c ++++ /tmp/cocci-output-50817-f06d24-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment @@ -6271,7 +6307,7 @@ comj.res diff = --- tests/comj.c -+++ /tmp/cocci-output-33521-537d88-comj.c ++++ /tmp/cocci-output-50817-a3ab85-comj.c @@ -2,6 +2,8 @@ int foo(int bar) { int i, j; @@ -6288,7 +6324,7 @@ comma_call.res diff = --- tests/comma_call.c -+++ /tmp/cocci-output-33521-80f490-comma_call.c ++++ /tmp/cocci-output-50817-0b86a5-comma_call.c @@ -1,10 +1,13 @@ int main() { - if (x) @@ -6310,7 +6346,7 @@ comma_if.res diff = --- tests/comma_if.c -+++ /tmp/cocci-output-33521-0ee2cd-comma_if.c ++++ /tmp/cocci-output-50817-cf8afa-comma_if.c @@ -1,13 +1,19 @@ int main() { - if (uffdio_zeropage.zeropage == -EEXIST) @@ -6340,7 +6376,7 @@ comment_brace.res diff = --- tests/comment_brace.c -+++ /tmp/cocci-output-33521-c1d445-comment_brace.c ++++ /tmp/cocci-output-50817-f4ca14-comment_brace.c @@ -1,7 +1,10 @@ int main () { @@ -6355,7 +6391,7 @@ comment_brace2.res diff = --- tests/comment_brace2.c -+++ /tmp/cocci-output-33521-f3a308-comment_brace2.c ++++ /tmp/cocci-output-50817-008b44-comment_brace2.c @@ -1,7 +1,10 @@ int main () { @@ -6380,7 +6416,7 @@ commentend.res diff = --- tests/commentend.c -+++ /tmp/cocci-output-33521-e361cf-commentend.c ++++ /tmp/cocci-output-50817-a2b819-commentend.c @@ -1,5 +1,4 @@ int main () { foo(); @@ -6390,7 +6426,7 @@ comments.res diff = --- tests/comments.c -+++ /tmp/cocci-output-33521-c81b15-comments.c ++++ /tmp/cocci-output-50817-572380-comments.c @@ -1,5 +1,16 @@ int main() { @@ -6412,7 +6448,7 @@ SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/compare.c -+++ /tmp/cocci-output-33521-900b49-compare.c ++++ /tmp/cocci-output-50817-59160d-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { @@ -6426,7 +6462,7 @@ compare_const.res diff = --- tests/compare_const.c -+++ /tmp/cocci-output-33521-afd5a4-compare_const.c ++++ /tmp/cocci-output-50817-6449f7-compare_const.c @@ -1,3 +1,3 @@ int main () { - return 0 == x; @@ -6435,7 +6471,7 @@ compare_const2.res diff = --- tests/compare_const2.c -+++ /tmp/cocci-output-33521-057c04-compare_const2.c ++++ /tmp/cocci-output-50817-0fbca5-compare_const2.c @@ -1,6 +1,6 @@ int main () { // int i,o; @@ -6448,7 +6484,7 @@ complexcpp.res diff = --- tests/complexcpp.cpp -+++ /tmp/cocci-output-33521-461372-complexcpp.cpp ++++ /tmp/cocci-output-50817-370ab1-complexcpp.cpp @@ -1,3 +1,3 @@ int main() { - std::complex x; @@ -6457,7 +6493,7 @@ comreturn.res diff = --- tests/comreturn.c -+++ /tmp/cocci-output-33521-ca6975-comreturn.c ++++ /tmp/cocci-output-50817-6fbfec-comreturn.c @@ -1,10 +1,14 @@ int main() { a(); @@ -6476,7 +6512,7 @@ condexp.res diff = --- tests/condexp.c -+++ /tmp/cocci-output-33521-77da1e-condexp.c ++++ /tmp/cocci-output-50817-86db2f-condexp.c @@ -5,7 +5,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay (displayname); if (!dpy) { @@ -6489,7 +6525,7 @@ const.res diff = --- tests/const.c -+++ /tmp/cocci-output-33521-1ea3a2-const.c ++++ /tmp/cocci-output-50817-22df3d-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); @@ -6498,7 +6534,7 @@ const1bis.res diff = --- tests/const1bis.c -+++ /tmp/cocci-output-33521-f63845-const1bis.c ++++ /tmp/cocci-output-50817-1685b4-const1bis.c @@ -1,25 +1,25 @@ void foo(int j) { - const int i; @@ -6534,7 +6570,7 @@ const_adding.res diff = --- tests/const_adding.c -+++ /tmp/cocci-output-33521-c30921-const_adding.c ++++ /tmp/cocci-output-50817-9c81e9-const_adding.c @@ -2,6 +2,6 @@ void main(int i) { @@ -6546,7 +6582,7 @@ const_array.res diff = --- tests/const_array.c -+++ /tmp/cocci-output-33521-7be2e7-const_array.c ++++ /tmp/cocci-output-50817-1b6aab-const_array.c @@ -24,9 +24,9 @@ static const struct foo *r128_family4[] }; @@ -6565,7 +6601,7 @@ const_implicit_iso.res diff = --- tests/const_implicit_iso.c -+++ /tmp/cocci-output-33521-efbf51-const_implicit_iso.c ++++ /tmp/cocci-output-50817-f0af18-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; @@ -6575,7 +6611,7 @@ constptr.res diff = --- tests/constptr.c -+++ /tmp/cocci-output-33521-a25d4e-constptr.c ++++ /tmp/cocci-output-50817-5d1761-constptr.c @@ -1,7 +1,7 @@ int main() { @@ -6591,7 +6627,7 @@ constraints.res diff = --- tests/constraints.c -+++ /tmp/cocci-output-33521-65f034-constraints.c ++++ /tmp/cocci-output-50817-d24da5-constraints.c @@ -1,23 +1,23 @@ void f() @@ -6625,7 +6661,7 @@ constrem.res diff = --- tests/constrem.c -+++ /tmp/cocci-output-33521-26b793-constrem.c ++++ /tmp/cocci-output-50817-910c72-constrem.c @@ -1,3 +1 @@ -static const int a; @@ -6633,7 +6669,7 @@ constructor.res diff = --- tests/constructor.c -+++ /tmp/cocci-output-33521-3da66a-constructor.c ++++ /tmp/cocci-output-50817-59772c-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, @@ -6645,7 +6681,7 @@ constty.res diff = --- tests/constty.c -+++ /tmp/cocci-output-33521-557456-constty.c ++++ /tmp/cocci-output-50817-5a01ca-constty.c @@ -1,7 +1,6 @@ int main () { const int x; @@ -6657,7 +6693,7 @@ constx.res diff = --- tests/constx.c -+++ /tmp/cocci-output-33521-23b046-constx.c ++++ /tmp/cocci-output-50817-c4c543-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); @@ -6681,14 +6717,14 @@ cptr.res diff = --- tests/cptr.c -+++ /tmp/cocci-output-33521-d40889-cptr.c ++++ /tmp/cocci-output-50817-d2457c-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c -+++ /tmp/cocci-output-33521-b5affa-cr.c ++++ /tmp/cocci-output-50817-930493-cr.c @@ -1,7 +1,6 @@ int main(void) { @@ -6704,7 +6740,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-33521-0f2993-cr1a.c ++++ /tmp/cocci-output-50817-191541-cr1a.c @@ -6,14 +6,17 @@ int __init probe_base_port(int base) if (base) b = e = base; @@ -6729,7 +6765,7 @@ warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c -+++ /tmp/cocci-output-33521-176cb1-cs_check.c ++++ /tmp/cocci-output-50817-cd5579-cs_check.c @@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re static void nsp_cs_config(dev_link_t *link) { @@ -6742,7 +6778,7 @@ cst.res diff = --- tests/cst.c -+++ /tmp/cocci-output-33521-ac5b9b-cst.c ++++ /tmp/cocci-output-50817-72c4e1-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); @@ -6753,7 +6789,7 @@ cst_null.res diff = --- tests/cst_null.c -+++ /tmp/cocci-output-33521-396715-cst_null.c ++++ /tmp/cocci-output-50817-d4c266-cst_null.c @@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; @@ -6795,7 +6831,7 @@ warning: line 4: should foo be a metavariable? diff = --- tests/cststr.c -+++ /tmp/cocci-output-33521-223d4f-cststr.c ++++ /tmp/cocci-output-50817-d6f057-cststr.c @@ -1,3 +1,3 @@ int main () { - foo((ptr_t)"blah"); @@ -6805,7 +6841,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/csw.c -+++ /tmp/cocci-output-33521-20e521-csw.c ++++ /tmp/cocci-output-50817-b35834-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { @@ -6826,7 +6862,7 @@ warning: line 6: should blockDim be a metavariable? diff = --- tests/cuda.cpp -+++ /tmp/cocci-output-33521-70386b-cuda.cpp ++++ /tmp/cocci-output-50817-91e881-cuda.cpp @@ -15,6 +15,7 @@ int main() { dim3 blockDim(16, 16, 1); @@ -6838,7 +6874,7 @@ cuda1.res diff = --- tests/cuda1.cpp -+++ /tmp/cocci-output-33521-e329b7-cuda1.cpp ++++ /tmp/cocci-output-50817-6d69e6-cuda1.cpp @@ -1,4 +1,4 @@ int main() { @@ -6848,7 +6884,7 @@ cuda_noattr.res diff = --- tests/cuda_noattr.cpp -+++ /tmp/cocci-output-33521-f7181c-cuda_noattr.cpp ++++ /tmp/cocci-output-50817-c41ee8-cuda_noattr.cpp @@ -1,6 +1,7 @@ __global__ void kernel_2(int i) @@ -6860,7 +6896,7 @@ dbg.res diff = --- tests/dbg.c -+++ /tmp/cocci-output-33521-eefc95-dbg.c ++++ /tmp/cocci-output-50817-c106d8-dbg.c @@ -5,4 +5,6 @@ static inline void alloc_resource(struct if (pr) @@ -6871,7 +6907,7 @@ dbg1.res diff = --- tests/dbg1.c -+++ /tmp/cocci-output-33521-73a51b-dbg1.c ++++ /tmp/cocci-output-50817-18ddad-dbg1.c @@ -2,4 +2,5 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { @@ -6881,7 +6917,7 @@ dc_close.res diff = --- tests/dc_close.c -+++ /tmp/cocci-output-33521-c60d3c-dc_close.c ++++ /tmp/cocci-output-50817-12cb64-dc_close.c @@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs) INIT_WORK(&cs->work, icc_bh, cs); @@ -6893,7 +6929,7 @@ debug.res diff = --- tests/debug.c -+++ /tmp/cocci-output-33521-9742fd-debug.c ++++ /tmp/cocci-output-50817-1a9231-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { @@ -6903,7 +6939,7 @@ dec.res diff = --- tests/dec.c -+++ /tmp/cocci-output-33521-3fba81-dec.c ++++ /tmp/cocci-output-50817-7526ed-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; @@ -6915,7 +6951,7 @@ SPECIAL NAMES: adding __cb as a attribute diff = --- tests/decadd.c -+++ /tmp/cocci-output-33521-3d4860-decadd.c ++++ /tmp/cocci-output-50817-c9c39e-decadd.c @@ -1,3 +1,3 @@ struct x { - DECL(x); @@ -6925,7 +6961,7 @@ decdup2.res diff = --- tests/decdup2.c -+++ /tmp/cocci-output-33521-58abe3-decdup2.c ++++ /tmp/cocci-output-50817-4e7b93-decdup2.c @@ -1,2 +1,3 @@ +int www; BTF_ID_LIST_SINGLE(bpf_ima_inode_hash_btf_ids, struct, inode) @@ -6935,7 +6971,7 @@ decl.res diff = --- tests/decl.c -+++ /tmp/cocci-output-33521-be42fb-decl.c ++++ /tmp/cocci-output-50817-2e6c3a-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -6947,7 +6983,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/decl2.c -+++ /tmp/cocci-output-33521-2b224f-decl2.c ++++ /tmp/cocci-output-50817-9f393a-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -6961,7 +6997,7 @@ warning: line 4: should v be a metavariable? diff = --- tests/decl_and_ref.cpp -+++ /tmp/cocci-output-33521-73a2a2-decl_and_ref.cpp ++++ /tmp/cocci-output-50817-706aea-decl_and_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; @@ -6972,7 +7008,7 @@ warning: line 4: should b be a metavariable? diff = --- tests/decl_andand_ref.cpp -+++ /tmp/cocci-output-33521-f240e2-decl_andand_ref.cpp ++++ /tmp/cocci-output-50817-676542-decl_andand_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; @@ -6984,7 +7020,7 @@ warning: line 4: should v be a metavariable? diff = --- tests/decl_ptr_ref.cpp -+++ /tmp/cocci-output-33521-ce03ef-decl_ptr_ref.cpp ++++ /tmp/cocci-output-50817-e4d8d7-decl_ptr_ref.cpp @@ -3,5 +3,6 @@ int main() int v = 0; int a = 0; @@ -6995,7 +7031,7 @@ decl_space.res diff = --- tests/decl_space.c -+++ /tmp/cocci-output-33521-e82bd1-decl_space.c ++++ /tmp/cocci-output-50817-12ac87-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; @@ -7007,7 +7043,7 @@ decl_star.res diff = --- tests/decl_star.c -+++ /tmp/cocci-output-33521-0df919-decl_star.c ++++ /tmp/cocci-output-50817-51a43d-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; @@ -7019,7 +7055,7 @@ declend.res diff = --- tests/declend.c -+++ /tmp/cocci-output-33521-3ceeb2-declend.c ++++ /tmp/cocci-output-50817-2acfba-declend.c @@ -1,6 +1,5 @@ int x; @@ -7030,7 +7066,7 @@ declmeta.res diff = --- tests/declmeta.c -+++ /tmp/cocci-output-33521-759643-declmeta.c ++++ /tmp/cocci-output-50817-79b32f-declmeta.c @@ -1,7 +1,7 @@ -int b,c; +int c; @@ -7045,7 +7081,7 @@ decltype.res diff = --- tests/decltype.cpp -+++ /tmp/cocci-output-33521-e07183-decltype.cpp ++++ /tmp/cocci-output-50817-289cde-decltype.cpp @@ -3,5 +3,5 @@ int expr; int main () { decltype(expr) expr2; @@ -7056,13 +7092,13 @@ defe.res diff = --- tests/defe.c -+++ /tmp/cocci-output-33521-9780bb-defe.c ++++ /tmp/cocci-output-50817-b12303-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c -+++ /tmp/cocci-output-33521-4c46b4-define_exp.c ++++ /tmp/cocci-output-50817-96eff6-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) @@ -7073,7 +7109,7 @@ define_param.res diff = --- tests/define_param.c -+++ /tmp/cocci-output-33521-714b5c-define_param.c ++++ /tmp/cocci-output-50817-62fa85-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + @@ -7090,7 +7126,7 @@ definedots.res diff = --- tests/definedots.c -+++ /tmp/cocci-output-33521-6167d8-definedots.c ++++ /tmp/cocci-output-50817-ef0714-definedots.c @@ -1,3 +1,3 @@ -#define a(x,y...) 3 -#define a(x,...) 3 @@ -7101,7 +7137,7 @@ defineinit.res diff = --- tests/defineinit.c -+++ /tmp/cocci-output-33521-c0c01d-defineinit.c ++++ /tmp/cocci-output-50817-77a6e2-defineinit.c @@ -1,3 +1,3 @@ #define MYMACRO(adsf) { \ - .foo = (asdf),\ @@ -7111,7 +7147,7 @@ del2.res diff = --- tests/del2.c -+++ /tmp/cocci-output-33521-07e235-del2.c ++++ /tmp/cocci-output-50817-4e1486-del2.c @@ -4,8 +4,5 @@ int my_test_allocate_components(void) if (result != X_SUCCESS) return result; @@ -7124,7 +7160,7 @@ delete.res diff = --- tests/delete.cpp -+++ /tmp/cocci-output-33521-b57203-delete.cpp ++++ /tmp/cocci-output-50817-558989-delete.cpp @@ -1,6 +1,5 @@ int main() { @@ -7135,7 +7171,7 @@ delete_array.res diff = --- tests/delete_array.cpp -+++ /tmp/cocci-output-33521-826d7e-delete_array.cpp ++++ /tmp/cocci-output-50817-883cae-delete_array.cpp @@ -2,5 +2,4 @@ int main() { int * a; @@ -7145,7 +7181,7 @@ delete_function.res diff = --- tests/delete_function.c -+++ /tmp/cocci-output-33521-20885b-delete_function.c ++++ /tmp/cocci-output-50817-7b0558-delete_function.c @@ -2,12 +2,6 @@ int first () { return 0; } @@ -7162,7 +7198,7 @@ delp.res diff = --- tests/delp.c -+++ /tmp/cocci-output-33521-8f6e0e-delp.c ++++ /tmp/cocci-output-50817-9c5e23-delp.c @@ -1,4 +1,4 @@ int main () { return @@ -7172,7 +7208,7 @@ depfail.res diff = --- tests/depfail.c -+++ /tmp/cocci-output-33521-8040f6-depfail.c ++++ /tmp/cocci-output-50817-30d034-depfail.c @@ -1,5 +1,4 @@ int main(void) { @@ -7182,7 +7218,7 @@ deref.res diff = --- tests/deref.c -+++ /tmp/cocci-output-33521-267c39-deref.c ++++ /tmp/cocci-output-50817-06181a-deref.c @@ -1,6 +1,6 @@ int main () { int **q; @@ -7195,7 +7231,7 @@ destroy.res diff = --- tests/destroy.c -+++ /tmp/cocci-output-33521-4eaaa6-destroy.c ++++ /tmp/cocci-output-50817-f5ecdb-destroy.c @@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f goto out; @@ -7213,7 +7249,7 @@ SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/detect_cast_attr.c -+++ /tmp/cocci-output-33521-0bdf47-detect_cast_attr.c ++++ /tmp/cocci-output-50817-a306b2-detect_cast_attr.c @@ -2,9 +2,9 @@ int func() @@ -7242,7 +7278,7 @@ SPECIAL NAMES: adding __attr as a attribute diff = --- tests/detect_param_attr.c -+++ /tmp/cocci-output-33521-b50aa7-detect_param_attr.c ++++ /tmp/cocci-output-50817-c77fb0-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) { @@ -7263,7 +7299,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/detect_struct_endattr.c -+++ /tmp/cocci-output-33521-7485ac-detect_struct_endattr.c ++++ /tmp/cocci-output-50817-c3f1b3-detect_struct_endattr.c @@ -2,7 +2,6 @@ struct abcd { @@ -7275,7 +7311,7 @@ detect_struct_gccattr.res diff = --- tests/detect_struct_gccattr.c -+++ /tmp/cocci-output-33521-ccd0f8-detect_struct_gccattr.c ++++ /tmp/cocci-output-50817-492efd-detect_struct_gccattr.c @@ -1,18 +1,15 @@ struct abcd { int a; @@ -7319,7 +7355,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/devlink.c -+++ /tmp/cocci-output-33521-2e79c9-devlink.c ++++ /tmp/cocci-output-50817-442c37-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); @@ -7345,7 +7381,7 @@ SPECIAL NAMES: adding DISJ_DECLARER0 as a declarer diff = --- tests/disj.c -+++ /tmp/cocci-output-33521-b2735b-disj.c ++++ /tmp/cocci-output-50817-95d98b-disj.c @@ -1,31 +1,31 @@ void f() { int disj_id0; @@ -7397,7 +7433,7 @@ disjexpr.res diff = --- tests/disjexpr.c -+++ /tmp/cocci-output-33521-c42ed5-disjexpr.c ++++ /tmp/cocci-output-50817-2a0457-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); @@ -7406,7 +7442,7 @@ disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c -+++ /tmp/cocci-output-33521-92a3d0-disjexpr_ver1.c ++++ /tmp/cocci-output-50817-105136-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); @@ -7415,7 +7451,7 @@ disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c -+++ /tmp/cocci-output-33521-f66e2b-disjexpr_ver2.c ++++ /tmp/cocci-output-50817-cd38fc-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); @@ -7424,7 +7460,7 @@ disjid.res diff = --- tests/disjid.c -+++ /tmp/cocci-output-33521-a7d0d9-disjid.c ++++ /tmp/cocci-output-50817-a46077-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } @@ -7438,7 +7474,7 @@ distribute.res diff = --- tests/distribute.c -+++ /tmp/cocci-output-33521-791127-distribute.c ++++ /tmp/cocci-output-50817-59b299-distribute.c @@ -1,4 +1,4 @@ int main(int i) { @@ -7448,7 +7484,7 @@ dotcall.res diff = --- tests/dotcall.c -+++ /tmp/cocci-output-33521-aed454-dotcall.c ++++ /tmp/cocci-output-50817-f8feb9-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); @@ -7456,7 +7492,7 @@ dots_comma.res diff = --- tests/dots_comma.c -+++ /tmp/cocci-output-33521-46018f-dots_comma.c ++++ /tmp/cocci-output-50817-15d1c8-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -7466,7 +7502,7 @@ double.res diff = --- tests/double.c -+++ /tmp/cocci-output-33521-990e87-double.c ++++ /tmp/cocci-output-50817-f38c51-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))) { @@ -7477,7 +7513,7 @@ double_assign.res diff = --- tests/double_assign.c -+++ /tmp/cocci-output-33521-6a680e-double_assign.c ++++ /tmp/cocci-output-50817-8e5f6e-double_assign.c @@ -4,6 +4,5 @@ int main() { } @@ -7488,7 +7524,7 @@ double_lines.res diff = --- tests/double_lines.c -+++ /tmp/cocci-output-33521-49a92d-double_lines.c ++++ /tmp/cocci-output-50817-fe33d7-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); @@ -7501,7 +7537,7 @@ doubleconst.res diff = --- tests/doubleconst.c -+++ /tmp/cocci-output-33521-6cb1bc-doubleconst.c ++++ /tmp/cocci-output-50817-371ca4-doubleconst.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; @@ -7510,7 +7546,7 @@ doubleconst2.res diff = --- tests/doubleconst2.c -+++ /tmp/cocci-output-33521-964fee-doubleconst2.c ++++ /tmp/cocci-output-50817-86610d-doubleconst2.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; @@ -7519,7 +7555,7 @@ doubleconst4.res diff = --- tests/doubleconst4.c -+++ /tmp/cocci-output-33521-ebdfd6-doubleconst4.c ++++ /tmp/cocci-output-50817-ed79bd-doubleconst4.c @@ -1,3 +1,3 @@ int main () { - char const* const ccpc = &const_obj; @@ -7528,7 +7564,7 @@ doublepos.res diff = --- tests/doublepos.c -+++ /tmp/cocci-output-33521-ad79d8-doublepos.c ++++ /tmp/cocci-output-50817-934a7d-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); @@ -7538,7 +7574,7 @@ doubleswitch.res diff = --- tests/doubleswitch.c -+++ /tmp/cocci-output-33521-30099e-doubleswitch.c ++++ /tmp/cocci-output-50817-7514b8-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; @@ -7551,7 +7587,7 @@ doundo.res diff = --- tests/doundo.c -+++ /tmp/cocci-output-33521-bb7027-doundo.c ++++ /tmp/cocci-output-50817-74136a-doundo.c @@ -4,5 +4,5 @@ int main() { const s8 (*queue_priority_mapping)[2]; @@ -7562,7 +7598,7 @@ dowhile.res diff = --- tests/dowhile.c -+++ /tmp/cocci-output-33521-5bf8cf-dowhile.c ++++ /tmp/cocci-output-50817-d9dff8-dowhile.c @@ -1,7 +1,5 @@ int main() { do { @@ -7574,7 +7610,7 @@ dowhile_4.res diff = --- tests/dowhile_4.c -+++ /tmp/cocci-output-33521-3d6aad-dowhile_4.c ++++ /tmp/cocci-output-50817-dcbea6-dowhile_4.c @@ -2,5 +2,4 @@ int fun() { do { printf("dummy message"); @@ -7589,7 +7625,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-33521-587df4-dowhile_for_complex.c ++++ /tmp/cocci-output-50817-e2c2c0-dowhile_for_complex.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { @@ -7608,7 +7644,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-33521-e1c42c-dowhile_nested.c ++++ /tmp/cocci-output-50817-76287b-dowhile_nested.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { @@ -7622,7 +7658,7 @@ dropbr.res diff = --- tests/dropbr.c -+++ /tmp/cocci-output-33521-bdb239-dropbr.c ++++ /tmp/cocci-output-50817-c59931-dropbr.c @@ -1,5 +1,4 @@ int main () { - if (a) { @@ -7634,7 +7670,7 @@ dropcom.res diff = --- tests/dropcom.c -+++ /tmp/cocci-output-33521-a70774-dropcom.c ++++ /tmp/cocci-output-50817-cac2b7-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ @@ -7649,7 +7685,7 @@ dropenderr.res diff = --- tests/dropenderr.c -+++ /tmp/cocci-output-33521-2c620a-dropenderr.c ++++ /tmp/cocci-output-50817-8cef6b-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; @@ -7664,7 +7700,7 @@ dropf.res diff = --- tests/dropf.c -+++ /tmp/cocci-output-33521-2d8a29-dropf.c ++++ /tmp/cocci-output-50817-106df7-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); @@ -7673,7 +7709,7 @@ dropparam.res diff = --- tests/dropparam.c -+++ /tmp/cocci-output-33521-0f335c-dropparam.c ++++ /tmp/cocci-output-50817-66e5cc-dropparam.c @@ -2,11 +2,11 @@ int f(char *x, int y, char* z) { return; } @@ -7691,7 +7727,7 @@ dtest.res diff = --- tests/dtest.c -+++ /tmp/cocci-output-33521-7527f6-dtest.c ++++ /tmp/cocci-output-50817-69745f-dtest.c @@ -1,5 +1,5 @@ int main() { struct sk_buff *e; @@ -7703,7 +7739,7 @@ SPECIAL NAMES: adding Packet as a type diff = --- tests/eb1.c -+++ /tmp/cocci-output-33521-89d86d-eb1.c ++++ /tmp/cocci-output-50817-013ffe-eb1.c @@ -1,7 +1,13 @@ int func() { int c; @@ -7722,7 +7758,7 @@ edots.res diff = --- tests/edots.c -+++ /tmp/cocci-output-33521-7f4910-edots.c ++++ /tmp/cocci-output-50817-074032-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; @@ -7735,7 +7771,7 @@ edots_ver1.res diff = --- tests/edots_ver1.c -+++ /tmp/cocci-output-33521-83c24e-edots_ver1.c ++++ /tmp/cocci-output-50817-c1835b-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; @@ -7750,7 +7786,7 @@ efi3.res diff = --- tests/efi3.c -+++ /tmp/cocci-output-33521-fcaf8e-efi3.c ++++ /tmp/cocci-output-50817-25eba7-efi3.c @@ -6,6 +6,6 @@ static efi_status_t virt_efi_get_time(ef goto exit; @@ -7762,7 +7798,7 @@ elsify.res diff = --- tests/elsify.c -+++ /tmp/cocci-output-33521-fd8a21-elsify.c ++++ /tmp/cocci-output-50817-9359ea-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) @@ -7776,7 +7812,7 @@ empty.res diff = --- tests/empty.c -+++ /tmp/cocci-output-33521-cca895-empty.c ++++ /tmp/cocci-output-50817-f6b703-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { @@ -7790,7 +7826,7 @@ SPECIAL NAMES: adding autofree as a attribute diff = --- tests/end_attr.c -+++ /tmp/cocci-output-33521-277d61-end_attr.c ++++ /tmp/cocci-output-50817-009c54-end_attr.c @@ -1,10 +1,12 @@ int main() { - struct foo x autofree; @@ -7809,7 +7845,7 @@ end_commas.res diff = --- tests/end_commas.c -+++ /tmp/cocci-output-33521-d71c4d-end_commas.c ++++ /tmp/cocci-output-50817-600ecf-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", @@ -7822,7 +7858,7 @@ endcolon.res diff = --- tests/endcolon.cpp -+++ /tmp/cocci-output-33521-d992f3-endcolon.cpp ++++ /tmp/cocci-output-50817-dc7011-endcolon.cpp @@ -1,4 +1,4 @@ int main () { a::b :: c :: @@ -7835,7 +7871,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/endif.c -+++ /tmp/cocci-output-33521-19c2cf-endif.c ++++ /tmp/cocci-output-50817-b39a05-endif.c @@ -2,18 +2,23 @@ void f(int i) { x = 1; @@ -7863,7 +7899,7 @@ endline.res diff = --- tests/endline.cpp -+++ /tmp/cocci-output-33521-76d19d-endline.cpp ++++ /tmp/cocci-output-50817-38e289-endline.cpp @@ -1,4 +1,4 @@ int main() { std::vector:: @@ -7873,7 +7909,7 @@ endmodif.res diff = --- tests/endmodif.c -+++ /tmp/cocci-output-33521-5f6b65-endmodif.c ++++ /tmp/cocci-output-50817-784242-endmodif.c @@ -1,11 +1,12 @@ -void f(void) + @@ -7917,7 +7953,7 @@ endnl.res diff = --- tests/endnl.c -+++ /tmp/cocci-output-33521-c39383-endnl.c ++++ /tmp/cocci-output-50817-33f244-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO @@ -7963,7 +7999,7 @@ enum.res diff = --- tests/enum.c -+++ /tmp/cocci-output-33521-553aab-enum.c ++++ /tmp/cocci-output-50817-f3262d-enum.c @@ -5,5 +5,5 @@ typedef enum static reg_errcode_t regex_compile () @@ -7974,7 +8010,7 @@ enum_assign.res diff = --- tests/enum_assign.c -+++ /tmp/cocci-output-33521-090272-enum_assign.c ++++ /tmp/cocci-output-50817-2c89d9-enum_assign.c @@ -1,6 +1,7 @@ enum h { - a = 0, @@ -7988,14 +8024,14 @@ enumcast.res diff = --- tests/enumcast.c -+++ /tmp/cocci-output-33521-dbee12-enumcast.c ++++ /tmp/cocci-output-50817-65b87c-enumcast.c @@ -1 +1,2 @@ +enum{x = (int)1, }; int main() { return 12; } enumcpp.res diff = --- tests/enumcpp.cpp -+++ /tmp/cocci-output-33521-d53ca0-enumcpp.cpp ++++ /tmp/cocci-output-50817-2d6d03-enumcpp.cpp @@ -1,32 +1,3 @@ int main() { @@ -8032,7 +8068,7 @@ enumdots.res diff = --- tests/enumdots.c -+++ /tmp/cocci-output-33521-179f80-enumdots.c ++++ /tmp/cocci-output-50817-c62057-enumdots.c @@ -1,3 +1,2 @@ enum binder_work_type { - BINDER_WORK_TRANSACTION = 12, @@ -8046,7 +8082,7 @@ exp.res diff = --- tests/exp.c -+++ /tmp/cocci-output-33521-68dfe8-exp.c ++++ /tmp/cocci-output-50817-bf6af1-exp.c @@ -1,14 +1,14 @@ int main(int i) { @@ -8069,7 +8105,7 @@ expnest.res diff = --- tests/expnest.c -+++ /tmp/cocci-output-33521-6e3165-expnest.c ++++ /tmp/cocci-output-50817-758dde-expnest.c @@ -2,5 +2,5 @@ int main() { x = 3 + 4; x = f() + 15; @@ -8080,7 +8116,7 @@ expopt.res diff = --- tests/expopt.c -+++ /tmp/cocci-output-33521-c5ce82-expopt.c ++++ /tmp/cocci-output-50817-b74c1b-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; @@ -8091,7 +8127,7 @@ expopt2.res diff = --- tests/expopt2.c -+++ /tmp/cocci-output-33521-cf73d2-expopt2.c ++++ /tmp/cocci-output-50817-c65e26-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { @@ -8102,7 +8138,7 @@ expopt3.res diff = --- tests/expopt3.c -+++ /tmp/cocci-output-33521-c39a22-expopt3.c ++++ /tmp/cocci-output-50817-cb3873-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8114,7 +8150,7 @@ expopt3_ver1.res diff = --- tests/expopt3_ver1.c -+++ /tmp/cocci-output-33521-ef05d8-expopt3_ver1.c ++++ /tmp/cocci-output-50817-b58f3d-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8127,7 +8163,7 @@ expopt3_ver2.res diff = --- tests/expopt3_ver2.c -+++ /tmp/cocci-output-33521-c72ed4-expopt3_ver2.c ++++ /tmp/cocci-output-50817-226356-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -8139,7 +8175,7 @@ exprlist_comma.res diff = --- tests/exprlist_comma.c -+++ /tmp/cocci-output-33521-cd7f9d-exprlist_comma.c ++++ /tmp/cocci-output-50817-48ecb0-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -8149,7 +8185,7 @@ exprun.res diff = --- tests/exprun.c -+++ /tmp/cocci-output-33521-a050bd-exprun.c ++++ /tmp/cocci-output-50817-5df1c1-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) @@ -8235,7 +8271,7 @@ failing_andany.res diff = --- tests/failing_andany.c -+++ /tmp/cocci-output-33521-d20249-failing_andany.c ++++ /tmp/cocci-output-50817-c6e8a8-failing_andany.c @@ -1,13 +1,9 @@ static int smc_probe1(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) @@ -8253,7 +8289,7 @@ far.res diff = --- tests/far.c -+++ /tmp/cocci-output-33521-4b397f-far.c ++++ /tmp/cocci-output-50817-0c4a9d-far.c @@ -1,7 +1,7 @@ int main(void) { @@ -8269,7 +8305,7 @@ SPECIAL NAMES: adding __counted_by as a attribute diff = --- tests/far2.c -+++ /tmp/cocci-output-33521-beb632-far2.c ++++ /tmp/cocci-output-50817-9007e2-far2.c @@ -1,4 +1,4 @@ struct foo { size_t element_count; @@ -8279,7 +8315,7 @@ fields.res diff = --- tests/fields.c -+++ /tmp/cocci-output-33521-040cd6-fields.c ++++ /tmp/cocci-output-50817-2fe92c-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, @@ -8292,7 +8328,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c -+++ /tmp/cocci-output-33521-d05841-fieldsmin.c ++++ /tmp/cocci-output-50817-8d4080-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, @@ -8303,7 +8339,7 @@ finalclass.res diff = --- tests/finalclass.cpp -+++ /tmp/cocci-output-33521-39780a-finalclass.cpp ++++ /tmp/cocci-output-50817-47e65a-finalclass.cpp @@ -1,2 +1,2 @@ -class foo final { int x; }; +class foo final { int y; }; @@ -8315,7 +8351,7 @@ find_long.res diff = --- tests/find_long.c -+++ /tmp/cocci-output-33521-717a53-find_long.c ++++ /tmp/cocci-output-50817-d70c36-find_long.c @@ -3,8 +3,8 @@ long function() long a; int b; @@ -8331,7 +8367,7 @@ fix_flow_need.res diff = --- tests/fix_flow_need.c -+++ /tmp/cocci-output-33521-750db5-fix_flow_need.c ++++ /tmp/cocci-output-50817-74f4ed-fix_flow_need.c @@ -5,7 +5,6 @@ void main(int i) { if(1) { foo(); @@ -8343,7 +8379,7 @@ flex.res diff = --- tests/flex.c -+++ /tmp/cocci-output-33521-7bf7d7-flex.c ++++ /tmp/cocci-output-50817-ce9329-flex.c @@ -3,5 +3,5 @@ struct scmi_msg_resp_sensor_description struct { #define SENSOR_UPDATE_BASE(x) 3 @@ -8354,7 +8390,7 @@ fn_todo.res diff = --- tests/fn_todo.c -+++ /tmp/cocci-output-33521-c2b8cc-fn_todo.c ++++ /tmp/cocci-output-50817-d340fb-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; @@ -8366,7 +8402,7 @@ fnptr.res diff = --- tests/fnptr.c -+++ /tmp/cocci-output-33521-8ae8fe-fnptr.c ++++ /tmp/cocci-output-50817-c4cf4c-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, @@ -8378,14 +8414,14 @@ warning: line 6: should x be a metavariable? diff = --- tests/fnret.c -+++ /tmp/cocci-output-33521-3469d8-fnret.c ++++ /tmp/cocci-output-50817-7ef1c7-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c -+++ /tmp/cocci-output-33521-c79745-fnty.c ++++ /tmp/cocci-output-50817-a751b1-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { @@ -8395,14 +8431,14 @@ fntypedef.res diff = --- tests/fntypedef.c -+++ /tmp/cocci-output-33521-d1cddb-fntypedef.c ++++ /tmp/cocci-output-50817-80c4ba-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-33521-40bbf0-forc.cpp ++++ /tmp/cocci-output-50817-dfb68b-forc.cpp @@ -2,9 +2,9 @@ static void Ptngc_widediv() { while (rmask) @@ -8418,7 +8454,7 @@ fordots.res diff = --- tests/fordots.c -+++ /tmp/cocci-output-33521-8f8182-fordots.c ++++ /tmp/cocci-output-50817-457212-fordots.c @@ -1,4 +1,2 @@ int main () { - for(int i = 0; i != 12; i++) a = 2; @@ -8427,7 +8463,7 @@ format.res diff = --- tests/format.c -+++ /tmp/cocci-output-33521-b7ae09-format.c ++++ /tmp/cocci-output-50817-63ca76-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); @@ -8443,7 +8479,7 @@ formatlist.res diff = --- tests/formatlist.c -+++ /tmp/cocci-output-33521-fb1604-formatlist.c ++++ /tmp/cocci-output-50817-5fd22d-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); @@ -8463,7 +8499,7 @@ forrange2.res diff = --- tests/forrange2.cpp -+++ /tmp/cocci-output-33521-744f7a-forrange2.cpp ++++ /tmp/cocci-output-50817-96ee22-forrange2.cpp @@ -2,9 +2,9 @@ m2n::PtrM2N M2NConfiguration::getM2N(con { using std::get; @@ -8479,7 +8515,7 @@ fortest.res diff = --- tests/fortest.c -+++ /tmp/cocci-output-33521-2b3112-fortest.c ++++ /tmp/cocci-output-50817-87cede-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) @@ -8519,7 +8555,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fortype.c -+++ /tmp/cocci-output-33521-123d2e-fortype.c ++++ /tmp/cocci-output-50817-426915-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) @@ -8530,7 +8566,7 @@ four.res diff = --- tests/four.c -+++ /tmp/cocci-output-33521-320a49-four.c ++++ /tmp/cocci-output-50817-992954-four.c @@ -1,5 +1,3 @@ int main () { f(1); @@ -8540,7 +8576,7 @@ foura.res diff = --- tests/foura.c -+++ /tmp/cocci-output-33521-a934fb-foura.c ++++ /tmp/cocci-output-50817-631d70-foura.c @@ -1,5 +1,4 @@ int main () { f(1); @@ -8550,7 +8586,7 @@ fp.res diff = --- tests/fp.c -+++ /tmp/cocci-output-33521-eabae1-fp.c ++++ /tmp/cocci-output-50817-51af0b-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); @@ -8566,7 +8602,7 @@ fptr3.res diff = --- tests/fptr3.c -+++ /tmp/cocci-output-33521-2774dd-fptr3.c ++++ /tmp/cocci-output-50817-fe7d2d-fptr3.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } @@ -8582,7 +8618,7 @@ fsh.res diff = --- tests/fsh.c -+++ /tmp/cocci-output-33521-9e4064-fsh.c ++++ /tmp/cocci-output-50817-a04355-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); @@ -8593,7 +8629,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/fun.c -+++ /tmp/cocci-output-33521-aee78c-fun.c ++++ /tmp/cocci-output-50817-aa9378-fun.c @@ -1 +1,4 @@ +struct a { + int a; @@ -8602,7 +8638,7 @@ func.res diff = --- tests/func.c -+++ /tmp/cocci-output-33521-3a0c65-func.c ++++ /tmp/cocci-output-50817-3d60bb-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) @@ -8616,7 +8652,7 @@ funptr_array.res diff = --- tests/funptr_array.c -+++ /tmp/cocci-output-33521-8c59bd-funptr_array.c ++++ /tmp/cocci-output-50817-64129c-funptr_array.c @@ -1 +1 @@ -int (*x[2])(int x); +int (*x[2])(char x); @@ -8660,7 +8696,7 @@ gadget_misc.res diff = --- tests/gadget_misc.c -+++ /tmp/cocci-output-33521-b23bc8-gadget_misc.c ++++ /tmp/cocci-output-50817-7b843b-gadget_misc.c @@ -2,6 +2,5 @@ int main() { if(0) @@ -8674,7 +8710,7 @@ SPECIAL NAMES: adding double3x3 as a type diff = --- tests/gadget_ninelets_typedef.c -+++ /tmp/cocci-output-33521-f07291-gadget_ninelets_typedef.c ++++ /tmp/cocci-output-50817-0e2dfa-gadget_ninelets_typedef.c @@ -1,21 +1,23 @@ typedef double MyFloat; @@ -8708,7 +8744,7 @@ gadget_remove_mpi_function_calls.res diff = --- tests/gadget_remove_mpi_function_calls.c -+++ /tmp/cocci-output-33521-b42321-gadget_remove_mpi_function_calls.c ++++ /tmp/cocci-output-50817-a37563-gadget_remove_mpi_function_calls.c @@ -2,6 +2,5 @@ int main(int argc, char **argv) { @@ -8719,7 +8755,7 @@ gadget_remove_used_fields.res diff = --- tests/gadget_remove_used_fields.c -+++ /tmp/cocci-output-33521-97b18d-gadget_remove_used_fields.c ++++ /tmp/cocci-output-50817-022b25-gadget_remove_used_fields.c @@ -1,8 +1,8 @@ -struct particle_data { int i; int j; int k; } * P ; @@ -8757,7 +8793,7 @@ SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_soa_select.c -+++ /tmp/cocci-output-33521-747884-gadget_soa_select.c ++++ /tmp/cocci-output-50817-a7881a-gadget_soa_select.c @@ -1,5 +1,5 @@ struct sph_particle_data_soa_t { - int *Entropy; @@ -8768,7 +8804,7 @@ gadget_sorting_hook.res diff = --- tests/gadget_sorting_hook.c -+++ /tmp/cocci-output-33521-9569bb-gadget_sorting_hook.c ++++ /tmp/cocci-output-50817-1e456d-gadget_sorting_hook.c @@ -21,7 +21,16 @@ int main() any_sort_func(P); @@ -8793,7 +8829,7 @@ SPECIAL NAMES: adding MyFloat3 as a type diff = --- tests/gadget_triplets_typedef.c -+++ /tmp/cocci-output-33521-949a85-gadget_triplets_typedef.c ++++ /tmp/cocci-output-50817-dafe90-gadget_triplets_typedef.c @@ -3,6 +3,8 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -8822,7 +8858,7 @@ SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_triplets_typedef_ipcc.c -+++ /tmp/cocci-output-33521-6d4cf4-gadget_triplets_typedef_ipcc.c ++++ /tmp/cocci-output-50817-80cc4a-gadget_triplets_typedef_ipcc.c @@ -3,6 +3,7 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -8843,7 +8879,7 @@ gcc_attr_with_func.res diff = --- tests/gcc_attr_with_func.c -+++ /tmp/cocci-output-33521-e68bc6-gcc_attr_with_func.c ++++ /tmp/cocci-output-50817-9d0785-gcc_attr_with_func.c @@ -1,8 +1,8 @@ -int __attribute__((always_inline)) func (int a); +int __attribute__((always_inline)) func (); @@ -8880,7 +8916,7 @@ gcc_attr_with_var.res diff = --- tests/gcc_attr_with_var.c -+++ /tmp/cocci-output-33521-9b20af-gcc_attr_with_var.c ++++ /tmp/cocci-output-50817-6b781b-gcc_attr_with_var.c @@ -1,39 +1,39 @@ -int var1_end __attribute__((myattr1_end)); +int var1_end __attribute__((section(".shared"))); @@ -8939,7 +8975,7 @@ gcc_min_max.res diff = --- tests/gcc_min_max.c -+++ /tmp/cocci-output-33521-0317ef-gcc_min_max.c ++++ /tmp/cocci-output-50817-c3249e-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { @@ -8959,7 +8995,7 @@ SPECIAL NAMES: adding PVOID as a type diff = --- tests/getc.c -+++ /tmp/cocci-output-33521-3ac8d3-getc.c ++++ /tmp/cocci-output-50817-3b3a1c-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { @@ -8969,7 +9005,7 @@ gilles-question.res diff = --- tests/gilles-question.c -+++ /tmp/cocci-output-33521-b42714-gilles-question.c ++++ /tmp/cocci-output-50817-abd220-gilles-question.c @@ -2,8 +2,6 @@ void main(int i) { f(0); @@ -8983,7 +9019,7 @@ gotobreak.res diff = --- tests/gotobreak.c -+++ /tmp/cocci-output-33521-1ffdb4-gotobreak.c ++++ /tmp/cocci-output-50817-1ef4c5-gotobreak.c @@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } @@ -8994,7 +9030,7 @@ hashhash.res diff = --- tests/hashhash.c -+++ /tmp/cocci-output-33521-1c09c2-hashhash.c ++++ /tmp/cocci-output-50817-b5a026-hashhash.c @@ -1,5 +1,5 @@ #define FOO(x) foo ## x @@ -9007,7 +9043,7 @@ warning: line 4: should y be a metavariable? diff = --- tests/hd.c -+++ /tmp/cocci-output-33521-e018f0-hd.c ++++ /tmp/cocci-output-50817-412b94-hd.c @@ -1,3 +1,3 @@ #include "hd.h" @@ -9016,7 +9052,7 @@ headers.res diff = --- tests/headers.c -+++ /tmp/cocci-output-33521-4aa448-headers.c ++++ /tmp/cocci-output-50817-a3d8e7-headers.c @@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria } @@ -9035,7 +9071,7 @@ hex.res diff = --- tests/hex.c -+++ /tmp/cocci-output-33521-6008ba-hex.c ++++ /tmp/cocci-output-50817-496968-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); @@ -9044,7 +9080,7 @@ SPECIAL NAMES: adding FUNC as a initializer ending in a comma diff = --- tests/hil1.c -+++ /tmp/cocci-output-33521-4beef5-hil1.c ++++ /tmp/cocci-output-50817-0f068f-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, @@ -9069,7 +9105,7 @@ idstr.res diff = --- tests/idstr.c -+++ /tmp/cocci-output-33521-1fff09-idstr.c ++++ /tmp/cocci-output-50817-92e7a6-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); @@ -9079,7 +9115,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-33521-3364e7-if.c ++++ /tmp/cocci-output-50817-fe1797-if.c @@ -1,27 +1,37 @@ int main () { + before(); @@ -9121,7 +9157,7 @@ ifadd.res diff = --- tests/ifadd.c -+++ /tmp/cocci-output-33521-8ff5ed-ifadd.c ++++ /tmp/cocci-output-50817-080c48-ifadd.c @@ -3,6 +3,7 @@ int main() { if (x) { one(); @@ -9136,7 +9172,7 @@ ifd.res diff = --- tests/ifd.c -+++ /tmp/cocci-output-33521-62bb2b-ifd.c ++++ /tmp/cocci-output-50817-e72ec4-ifd.c @@ -1,9 +1,13 @@ int main () { one(); @@ -9154,7 +9190,7 @@ ifdef1.res diff = --- tests/ifdef1.c -+++ /tmp/cocci-output-33521-fb7c9e-ifdef1.c ++++ /tmp/cocci-output-50817-ee25ab-ifdef1.c @@ -1,5 +1,8 @@ #include #include @@ -9167,7 +9203,7 @@ ifdef2.res diff = --- tests/ifdef2.c -+++ /tmp/cocci-output-33521-f7bbe2-ifdef2.c ++++ /tmp/cocci-output-50817-cd6435-ifdef2.c @@ -1,6 +1,11 @@ #include #include @@ -9183,7 +9219,7 @@ ifdef3.res diff = --- tests/ifdef3.c -+++ /tmp/cocci-output-33521-93492a-ifdef3.c ++++ /tmp/cocci-output-50817-50c217-ifdef3.c @@ -2,6 +2,15 @@ #include #include @@ -9206,7 +9242,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-33521-2a2172-ifdef4.c ++++ /tmp/cocci-output-50817-db6e68-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { @@ -9222,7 +9258,7 @@ ifdef5.res diff = --- tests/ifdef5.c -+++ /tmp/cocci-output-33521-489963-ifdef5.c ++++ /tmp/cocci-output-50817-1a19cb-ifdef5.c @@ -11,3 +11,11 @@ void init_IRQ(void) uselessCall(); } @@ -9238,7 +9274,7 @@ ifdef6.res diff = --- tests/ifdef6.c -+++ /tmp/cocci-output-33521-1ca7d7-ifdef6.c ++++ /tmp/cocci-output-50817-8d18dc-ifdef6.c @@ -1,5 +1,8 @@ #include #include @@ -9251,7 +9287,7 @@ ifdef6a.res diff = --- tests/ifdef6a.c -+++ /tmp/cocci-output-33521-e06580-ifdef6a.c ++++ /tmp/cocci-output-50817-1d1c2a-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL @@ -9263,7 +9299,7 @@ ifdefmeta.res diff = --- tests/ifdefmeta.c -+++ /tmp/cocci-output-33521-ddf8da-ifdefmeta.c ++++ /tmp/cocci-output-50817-463542-ifdefmeta.c @@ -1,26 +1,22 @@ int main() { - buf = alloca(3 @@ -9316,7 +9352,7 @@ ifdefmeta1.res diff = --- tests/ifdefmeta1.c -+++ /tmp/cocci-output-33521-8e2218-ifdefmeta1.c ++++ /tmp/cocci-output-50817-3faa1b-ifdefmeta1.c @@ -1,17 +1,9 @@ int main() { - buf = alloca(3 @@ -9338,7 +9374,7 @@ ifdefmeta2.res diff = --- tests/ifdefmeta2.c -+++ /tmp/cocci-output-33521-647c5e-ifdefmeta2.c ++++ /tmp/cocci-output-50817-fe19e8-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 @@ -9355,7 +9391,7 @@ ifdefmeta3.res diff = --- tests/ifdefmeta3.c -+++ /tmp/cocci-output-33521-ff96c9-ifdefmeta3.c ++++ /tmp/cocci-output-50817-6c6b37-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); @@ -9372,7 +9408,7 @@ ifdefmeta4.res diff = --- tests/ifdefmeta4.c -+++ /tmp/cocci-output-33521-80e878-ifdefmeta4.c ++++ /tmp/cocci-output-50817-ca486e-ifdefmeta4.c @@ -1,14 +1,12 @@ int main() { - buf = alloca(3 @@ -9396,7 +9432,7 @@ ifend.res diff = --- tests/ifend.c -+++ /tmp/cocci-output-33521-8a7191-ifend.c ++++ /tmp/cocci-output-50817-23e3c0-ifend.c @@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG; #else static int vortex_debug = 1; @@ -9406,7 +9442,7 @@ ifgoto.res diff = --- tests/ifgoto.c -+++ /tmp/cocci-output-33521-bfcc40-ifgoto.c ++++ /tmp/cocci-output-50817-2703d9-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) @@ -9422,7 +9458,7 @@ SPECIAL NAMES: adding IFaceVtbl as a type diff = --- tests/ifields.c -+++ /tmp/cocci-output-33521-f433f9-ifields.c ++++ /tmp/cocci-output-50817-9497b8-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; @@ -9445,7 +9481,7 @@ ifif.res diff = --- tests/ifif.c -+++ /tmp/cocci-output-33521-8adcea-ifif.c ++++ /tmp/cocci-output-50817-ef9eaa-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 @@ -9463,7 +9499,7 @@ ifreturn.res diff = --- tests/ifreturn.c -+++ /tmp/cocci-output-33521-cf6488-ifreturn.c ++++ /tmp/cocci-output-50817-9915b4-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { @@ -9525,7 +9561,7 @@ ifreturn3.res diff = --- tests/ifreturn3.c -+++ /tmp/cocci-output-33521-429f55-ifreturn3.c ++++ /tmp/cocci-output-50817-c43853-ifreturn3.c @@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code) if(iFlag_Code==OK) { return OK; @@ -9551,7 +9587,7 @@ ifreturn4.res diff = --- tests/ifreturn4.c -+++ /tmp/cocci-output-33521-58c0e7-ifreturn4.c ++++ /tmp/cocci-output-50817-9290b0-ifreturn4.c @@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { @@ -9575,7 +9611,7 @@ ifreturn6.res diff = --- tests/ifreturn6.c -+++ /tmp/cocci-output-33521-aded34-ifreturn6.c ++++ /tmp/cocci-output-50817-992631-ifreturn6.c @@ -3,7 +3,8 @@ int main () { blah(); goto end; @@ -9589,7 +9625,7 @@ ifzer.res diff = --- tests/ifzer.c -+++ /tmp/cocci-output-33521-37fc79-ifzer.c ++++ /tmp/cocci-output-50817-3d8222-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). */ @@ -9600,7 +9636,7 @@ ifzz.res diff = --- tests/ifzz.c -+++ /tmp/cocci-output-33521-4b1cd8-ifzz.c ++++ /tmp/cocci-output-50817-8dd12f-ifzz.c @@ -2,9 +2,9 @@ if 0 char c; #endif @@ -9616,7 +9652,7 @@ inc.res diff = --- tests/inc.c -+++ /tmp/cocci-output-33521-ce4fcd-inc.c ++++ /tmp/cocci-output-50817-28df8d-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 @@ -9625,7 +9661,7 @@ incl.res diff = --- tests/incl.c -+++ /tmp/cocci-output-33521-bb6342-incl.c ++++ /tmp/cocci-output-50817-66093e-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include @@ -9638,7 +9674,7 @@ incl2.res diff = --- tests/incl2.c -+++ /tmp/cocci-output-33521-5e3395-incl2.c ++++ /tmp/cocci-output-50817-433928-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include @@ -9647,7 +9683,7 @@ inclifdef.res diff = --- tests/inclifdef.c -+++ /tmp/cocci-output-33521-89d511-inclifdef.c ++++ /tmp/cocci-output-50817-7ff0ef-inclifdef.c @@ -1,4 +1,5 @@ #include +#include @@ -9657,7 +9693,7 @@ include.res diff = --- tests/include.c -+++ /tmp/cocci-output-33521-92abff-include.c ++++ /tmp/cocci-output-50817-e4f0c7-include.c @@ -1,8 +1,6 @@ #include @@ -9670,7 +9706,7 @@ incompatible_value.res diff = --- tests/incompatible_value.c -+++ /tmp/cocci-output-33521-5e4be3-incompatible_value.c ++++ /tmp/cocci-output-50817-452b17-incompatible_value.c @@ -4,6 +4,6 @@ int main() { } @@ -9687,7 +9723,7 @@ inh1.res diff = --- tests/inh1.cpp -+++ /tmp/cocci-output-33521-e04e5a-inh1.cpp ++++ /tmp/cocci-output-50817-ccdc10-inh1.cpp @@ -1,6 +1,7 @@ // emits warning on c++ file: 5: list of length 3 or 4 expected #include @@ -9699,7 +9735,7 @@ inherited.res diff = --- tests/inherited.c -+++ /tmp/cocci-output-33521-fb59a7-inherited.c ++++ /tmp/cocci-output-50817-850d5e-inherited.c @@ -6,5 +6,5 @@ void main(int i) { h(2); h2(2); @@ -9710,7 +9746,7 @@ inherited_ver1.res diff = --- tests/inherited_ver1.c -+++ /tmp/cocci-output-33521-013ea8-inherited_ver1.c ++++ /tmp/cocci-output-50817-ac1557-inherited_ver1.c @@ -3,8 +3,8 @@ void main(int i) { //g(1); f(2); @@ -9726,7 +9762,7 @@ inhmet.res diff = --- tests/inhmet.c -+++ /tmp/cocci-output-33521-c8b764-inhmet.c ++++ /tmp/cocci-output-50817-72782e-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; @@ -9735,7 +9771,7 @@ inhpos.res diff = --- tests/inhpos.c -+++ /tmp/cocci-output-33521-07cc3a-inhpos.c ++++ /tmp/cocci-output-50817-f53473-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); @@ -9743,7 +9779,7 @@ init3tst.res diff = --- tests/init3tst.cpp -+++ /tmp/cocci-output-33521-69644e-init3tst.cpp ++++ /tmp/cocci-output-50817-1d5228-init3tst.cpp @@ -1,4 +1,4 @@ class TestUpperTriangle { public: @@ -9754,7 +9790,7 @@ warning: line 5: should var be a metavariable? diff = --- tests/initializer.c -+++ /tmp/cocci-output-33521-42bbfb-initializer.c ++++ /tmp/cocci-output-50817-4752bd-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, @@ -9770,14 +9806,14 @@ inline.res diff = --- tests/inline.c -+++ /tmp/cocci-output-33521-0deadb-inline.c ++++ /tmp/cocci-output-50817-05f277-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c -+++ /tmp/cocci-output-33521-d44ca2-insdef.c ++++ /tmp/cocci-output-50817-287a68-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include @@ -9785,7 +9821,7 @@ instruct.res diff = --- tests/instruct.cpp -+++ /tmp/cocci-output-33521-a1b89f-instruct.cpp ++++ /tmp/cocci-output-50817-ef4f90-instruct.cpp @@ -1,9 +1,7 @@ struct i { - using namespace foo; @@ -9806,7 +9842,7 @@ SPECIAL NAMES: adding u32 as a type diff = --- tests/int2bool-local.c -+++ /tmp/cocci-output-33521-eef082-int2bool-local.c ++++ /tmp/cocci-output-50817-5cbc4c-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; @@ -9849,7 +9885,7 @@ introbrace.res diff = --- tests/introbrace.c -+++ /tmp/cocci-output-33521-2a0712-introbrace.c ++++ /tmp/cocci-output-50817-a3d24a-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) @@ -9868,7 +9904,7 @@ invert.res diff = --- tests/invert.c -+++ /tmp/cocci-output-33521-496bf3-invert.c ++++ /tmp/cocci-output-50817-fdeab1-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; @@ -9877,7 +9913,7 @@ ip.res diff = --- tests/ip.c -+++ /tmp/cocci-output-33521-1b1baa-ip.c ++++ /tmp/cocci-output-50817-a38e85-ip.c @@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo) { if(sNoFo == 1) @@ -9906,7 +9942,7 @@ ip2.res diff = --- tests/ip2.c -+++ /tmp/cocci-output-33521-bd37eb-ip2.c ++++ /tmp/cocci-output-50817-dccd63-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { @@ -9931,7 +9967,7 @@ isococci.res diff = --- tests/isococci.c -+++ /tmp/cocci-output-33521-8bb734-isococci.c ++++ /tmp/cocci-output-50817-a2ba1f-isococci.c @@ -1,6 +1,3 @@ void f(int i) { @@ -9944,7 +9980,7 @@ warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c -+++ /tmp/cocci-output-33521-c6c8c6-isoif.c ++++ /tmp/cocci-output-50817-e9b2ba-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); @@ -9953,7 +9989,7 @@ isotest.res diff = --- tests/isotest.c -+++ /tmp/cocci-output-33521-cf1082-isotest.c ++++ /tmp/cocci-output-50817-abd5de-isotest.c @@ -1,7 +1,6 @@ void main(int i) { @@ -9965,7 +10001,7 @@ isotest2.res diff = --- tests/isotest2.c -+++ /tmp/cocci-output-33521-aea94c-isotest2.c ++++ /tmp/cocci-output-50817-589db1-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { @@ -9986,7 +10022,7 @@ SPECIAL NAMES: adding list_for_each as a iterator diff = --- tests/iterator.c -+++ /tmp/cocci-output-33521-84a325-iterator.c ++++ /tmp/cocci-output-50817-eb5ccb-iterator.c @@ -2,9 +2,5 @@ void pcibios_report_status(u_int status_ { struct list_head *l; @@ -10002,7 +10038,7 @@ SPECIAL NAMES: adding for_each_set_bit as a iterator diff = --- tests/iterprint.c -+++ /tmp/cocci-output-33521-02ef0f-iterprint.c ++++ /tmp/cocci-output-50817-9edcf6-iterprint.c @@ -1,6 +1,4 @@ int main () { - for(bit = 0; bit < size; bit++) { @@ -10017,7 +10053,7 @@ julia10.res diff = --- tests/julia10.c -+++ /tmp/cocci-output-33521-a4dfc9-julia10.c ++++ /tmp/cocci-output-50817-f87356-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); @@ -10029,7 +10065,7 @@ julia7.res diff = --- tests/julia7.c -+++ /tmp/cocci-output-33521-3eeb1c-julia7.c ++++ /tmp/cocci-output-50817-f4c44e-julia7.c @@ -1,7 +1,6 @@ int main(int x) { foo(); @@ -10042,7 +10078,7 @@ justremove.res diff = --- tests/justremove.c -+++ /tmp/cocci-output-33521-f640bb-justremove.c ++++ /tmp/cocci-output-50817-98fb6f-justremove.c @@ -1,17 +1,6 @@ int main () { - if (x) { @@ -10064,7 +10100,7 @@ keep_comma.res diff = --- tests/keep_comma.c -+++ /tmp/cocci-output-33521-1a7745-keep_comma.c ++++ /tmp/cocci-output-50817-6526e3-keep_comma.c @@ -1,4 +1,4 @@ int main () { - foo(); @@ -10074,7 +10110,7 @@ km.res diff = --- tests/km.c -+++ /tmp/cocci-output-33521-9de00e-km.c ++++ /tmp/cocci-output-50817-f32274-km.c @@ -1,5 +1,4 @@ int main() { - int *data = kmalloc(element->string.length + 1, GFP_KERNEL); @@ -10085,7 +10121,7 @@ kmalloc.res diff = --- tests/kmalloc.c -+++ /tmp/cocci-output-33521-08bf3b-kmalloc.c ++++ /tmp/cocci-output-50817-b92408-kmalloc.c @@ -1,9 +1,7 @@ int main() { struct bar *y; @@ -10103,7 +10139,7 @@ warning: r: metavariable S not used in the - or context code diff = --- tests/kmc.c -+++ /tmp/cocci-output-33521-be78ab-kmc.c ++++ /tmp/cocci-output-50817-6b7161-kmc.c @@ -10,5 +10,4 @@ dmabounce_register_dev(struct device *de err_destroy: @@ -10113,7 +10149,7 @@ kmtest4.res diff = --- tests/kmtest4.c -+++ /tmp/cocci-output-33521-0b568d-kmtest4.c ++++ /tmp/cocci-output-50817-d9a3ca-kmtest4.c @@ -1,4 +1,4 @@ int main () { x = kzalloc(3); @@ -10126,7 +10162,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/ktype.c -+++ /tmp/cocci-output-33521-8928b8-ktype.c ++++ /tmp/cocci-output-50817-c4475c-ktype.c @@ -3,8 +3,6 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -10142,7 +10178,7 @@ warning: r: metavariable T not used in the - or context code diff = --- tests/ktype2.c -+++ /tmp/cocci-output-33521-a9b683-ktype2.c ++++ /tmp/cocci-output-50817-9d75c2-ktype2.c @@ -3,11 +3,8 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { @@ -10159,7 +10195,7 @@ labels_metastatement.res diff = --- tests/labels_metastatement.c -+++ /tmp/cocci-output-33521-4893de-labels_metastatement.c ++++ /tmp/cocci-output-50817-f45cba-labels_metastatement.c @@ -1,9 +1,15 @@ int foo(int i) { @@ -10182,7 +10218,7 @@ labels_metastatement_ver1.res diff = --- tests/labels_metastatement_ver1.c -+++ /tmp/cocci-output-33521-0eb5c2-labels_metastatement_ver1.c ++++ /tmp/cocci-output-50817-85aed3-labels_metastatement_ver1.c @@ -1,5 +1,9 @@ int foo(int i) { @@ -10197,7 +10233,7 @@ lessone.res diff = --- tests/lessone.c -+++ /tmp/cocci-output-33521-ecc6c2-lessone.c ++++ /tmp/cocci-output-50817-c30a5e-lessone.c @@ -1,4 +1,4 @@ int min() { - return 2.56 < 1; @@ -10211,7 +10247,7 @@ lid.res diff = --- tests/lid.c -+++ /tmp/cocci-output-33521-701732-lid.c ++++ /tmp/cocci-output-50817-8e7773-lid.c @@ -1,6 +1,6 @@ int main () { int a; @@ -10223,7 +10259,7 @@ line_before_last.res diff = --- tests/line_before_last.c -+++ /tmp/cocci-output-33521-2c51df-line_before_last.c ++++ /tmp/cocci-output-50817-2a69a8-line_before_last.c @@ -1,17 +1,13 @@ int main () { - foo(); @@ -10245,7 +10281,7 @@ lineseq.res diff = --- tests/lineseq.c -+++ /tmp/cocci-output-33521-b1a83d-lineseq.c ++++ /tmp/cocci-output-50817-bed96d-lineseq.c @@ -1,6 +1,4 @@ int main () { - one(); @@ -10258,7 +10294,7 @@ list_initialization.res diff = --- tests/list_initialization.cpp -+++ /tmp/cocci-output-33521-ed16a5-list_initialization.cpp ++++ /tmp/cocci-output-50817-26ed35-list_initialization.cpp @@ -1,4 +1,3 @@ int main() { @@ -10288,7 +10324,7 @@ warning: line 86: should b be a metavariable? diff = --- tests/list_test.c -+++ /tmp/cocci-output-33521-bc3595-list_test.c ++++ /tmp/cocci-output-50817-bd7ee2-list_test.c @@ -1,55 +1,53 @@ int main () { - f(a); @@ -10487,14 +10523,14 @@ local.res diff = --- tests/local.c -+++ /tmp/cocci-output-33521-4f41cb-local.c ++++ /tmp/cocci-output-50817-7dbff1-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-33521-fa25f7-local_macro_fn_def_and_call.cpp ++++ /tmp/cocci-output-50817-cfd975-local_macro_fn_def_and_call.cpp @@ -1,11 +1,9 @@ void f(void) { #define SEMICOLON() ; @@ -10510,7 +10546,7 @@ localglobal.res diff = --- tests/localglobal.c -+++ /tmp/cocci-output-33521-72d757-localglobal.c ++++ /tmp/cocci-output-50817-be56d3-localglobal.c @@ -3,5 +3,5 @@ int a; int main(int b) { int c; @@ -10521,7 +10557,7 @@ localid.res diff = --- tests/localid.c -+++ /tmp/cocci-output-33521-39a85a-localid.c ++++ /tmp/cocci-output-50817-3d0036-localid.c @@ -2,8 +2,7 @@ int c; int main () { @@ -10536,7 +10572,7 @@ localmacroparams.res diff = --- tests/localmacroparams.c -+++ /tmp/cocci-output-33521-20977f-localmacroparams.c ++++ /tmp/cocci-output-50817-5693e2-localmacroparams.c @@ -1,2 +1,2 @@ -#define fn1(x) f(x) -#define fn2(x) f(y) @@ -10545,7 +10581,7 @@ log.res diff = --- tests/log.c -+++ /tmp/cocci-output-33521-8f8011-log.c ++++ /tmp/cocci-output-50817-629bc5-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { @@ -10555,7 +10591,7 @@ long.res diff = --- tests/long.c -+++ /tmp/cocci-output-33521-e6c768-long.c ++++ /tmp/cocci-output-50817-4caf01-long.c @@ -1,4 +1,4 @@ int main () { - hello_world("this is a very long sentence. this is a very long sentence. ", @@ -10566,7 +10602,7 @@ longconst.res diff = --- tests/longconst.c -+++ /tmp/cocci-output-33521-1f25e5-longconst.c ++++ /tmp/cocci-output-50817-fa58d0-longconst.c @@ -2,18 +2,18 @@ long function1() { long a; @@ -10603,7 +10639,7 @@ warning: line 5: should a be a metavariable? diff = --- tests/longline2.c -+++ /tmp/cocci-output-33521-772797-longline2.c ++++ /tmp/cocci-output-50817-a84c3c-longline2.c @@ -1,8 +1,16 @@ int main() { - f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a,shdkjsdsdhkjsa,x,y,z); @@ -10628,7 +10664,7 @@ longlong.res diff = --- tests/longlong.c -+++ /tmp/cocci-output-33521-76de49-longlong.c ++++ /tmp/cocci-output-50817-a04381-longlong.c @@ -1,6 +1,6 @@ -long long a; +int a; @@ -10641,7 +10677,7 @@ longlongint.res diff = --- tests/longlongint.c -+++ /tmp/cocci-output-33521-9f4372-longlongint.c ++++ /tmp/cocci-output-50817-35166f-longlongint.c @@ -1,9 +1,3 @@ int main() { - unsigned int x; @@ -10655,7 +10691,7 @@ loop.res diff = --- tests/loop.c -+++ /tmp/cocci-output-33521-be3ae3-loop.c ++++ /tmp/cocci-output-50817-35dc3a-loop.c @@ -1,5 +1,3 @@ int main() { - f(); @@ -10666,7 +10702,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/lvalue.c -+++ /tmp/cocci-output-33521-610bb3-lvalue.c ++++ /tmp/cocci-output-50817-88b383-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; @@ -10678,7 +10714,7 @@ SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/macro.c -+++ /tmp/cocci-output-33521-6d4057-macro.c ++++ /tmp/cocci-output-50817-16ecd2-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))) @@ -10690,7 +10726,7 @@ macro_before_bool.res diff = --- tests/macro_before_bool.c -+++ /tmp/cocci-output-33521-e431b6-macro_before_bool.c ++++ /tmp/cocci-output-50817-a341da-macro_before_bool.c @@ -1,4 +1,5 @@ static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) { @@ -10700,7 +10736,7 @@ macro_int16.res diff = --- tests/macro_int16.c -+++ /tmp/cocci-output-33521-ff7523-macro_int16.c ++++ /tmp/cocci-output-50817-400c1e-macro_int16.c @@ -4,6 +4,6 @@ void main(void) { @@ -10712,7 +10748,7 @@ macro_params.res diff = --- tests/macro_params.c -+++ /tmp/cocci-output-33521-578d4e-macro_params.c ++++ /tmp/cocci-output-50817-500fd8-macro_params.c @@ -5,9 +5,9 @@ int main(int argc, char **argv) { @@ -10728,7 +10764,7 @@ macro_stmt_when_fn_type.res diff = --- tests/macro_stmt_when_fn_type.cpp -+++ /tmp/cocci-output-33521-109198-macro_stmt_when_fn_type.cpp ++++ /tmp/cocci-output-50817-a97d60-macro_stmt_when_fn_type.cpp @@ -1,4 +1,3 @@ -#define APPLY_FOR_ROLE return; #define APPLY_FOR_ROLE_HINT MACROSTATEMENT @@ -10737,7 +10773,7 @@ match_init.res diff = --- tests/match_init.c -+++ /tmp/cocci-output-33521-338404-match_init.c ++++ /tmp/cocci-output-50817-f28bad-match_init.c @@ -1,15 +1,15 @@ int probably_works () { - int x = 3; @@ -10760,7 +10796,7 @@ match_no_meta.res diff = --- tests/match_no_meta.c -+++ /tmp/cocci-output-33521-057397-match_no_meta.c ++++ /tmp/cocci-output-50817-f0d374-match_no_meta.c @@ -2,6 +2,4 @@ void main(int i) { foo(1); @@ -10773,7 +10809,7 @@ warning: line 14: should i be a metavariable? diff = --- tests/max.c -+++ /tmp/cocci-output-33521-1879cd-max.c ++++ /tmp/cocci-output-50817-97c9c6-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; @@ -10782,7 +10818,7 @@ md1.res diff = --- tests/md1.c -+++ /tmp/cocci-output-33521-3877f9-md1.c ++++ /tmp/cocci-output-50817-b8dae1-md1.c @@ -1,9 +1,11 @@ struct main { - int a; @@ -10803,7 +10839,7 @@ md2.res diff = --- tests/md2.c -+++ /tmp/cocci-output-33521-9f559b-md2.c ++++ /tmp/cocci-output-50817-47333f-md2.c @@ -1,11 +1,13 @@ int main() { - int a; @@ -10826,7 +10862,7 @@ md3.res diff = --- tests/md3.c -+++ /tmp/cocci-output-33521-119c95-md3.c ++++ /tmp/cocci-output-50817-10101d-md3.c @@ -1,5 +1,5 @@ struct s_t { - double one[3]; @@ -10837,7 +10873,7 @@ mdadd.res diff = --- tests/mdadd.c -+++ /tmp/cocci-output-33521-38cab6-mdadd.c ++++ /tmp/cocci-output-50817-547b76-mdadd.c @@ -1,3 +1,5 @@ int main () { - int a,b,c; @@ -10848,7 +10884,7 @@ mdec.res diff = --- tests/mdec.c -+++ /tmp/cocci-output-33521-e04eb1-mdec.c ++++ /tmp/cocci-output-50817-76040b-mdec.c @@ -1,23 +1,26 @@ int main () { - int a, b, c, d; @@ -10913,7 +10949,7 @@ mdeclrep.res diff = --- tests/mdeclrep.c -+++ /tmp/cocci-output-33521-674840-mdeclrep.c ++++ /tmp/cocci-output-50817-43b9a1-mdeclrep.c @@ -1,19 +1,22 @@ int main () { - int a,x,c; @@ -10944,7 +10980,7 @@ mdindex.res diff = --- tests/mdindex.c -+++ /tmp/cocci-output-33521-dd9892-mdindex.c ++++ /tmp/cocci-output-50817-0e3b63-mdindex.c @@ -1,5 +1,5 @@ int main() { @@ -10956,7 +10992,7 @@ memory.res diff = --- tests/memory.c -+++ /tmp/cocci-output-33521-cd613f-memory.c ++++ /tmp/cocci-output-50817-af90a4-memory.c @@ -2,6 +2,5 @@ int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) @@ -10973,7 +11009,7 @@ SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/metaattr.c -+++ /tmp/cocci-output-33521-86c454-metaattr.c ++++ /tmp/cocci-output-50817-0548d6-metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; @@ -10986,7 +11022,7 @@ warning: line 43: x, previously declared as a metavariable, is used as an identifier diff = --- tests/metaline.c -+++ /tmp/cocci-output-33521-a36d28-metaline.c ++++ /tmp/cocci-output-50817-79af3e-metaline.c @@ -1,9 +1,8 @@ int main () { - static int x; @@ -11004,7 +11040,7 @@ metaops.res diff = --- tests/metaops.c -+++ /tmp/cocci-output-33521-7f5aec-metaops.c ++++ /tmp/cocci-output-50817-067732-metaops.c @@ -2,24 +2,24 @@ int p1() { int x = 0; int y = 1; @@ -11080,7 +11116,7 @@ metaops0.res diff = --- tests/metaops0.c -+++ /tmp/cocci-output-33521-4ab222-metaops0.c ++++ /tmp/cocci-output-50817-de3f9c-metaops0.c @@ -1,44 +1,11 @@ int p1() { - int x = 0; @@ -11129,7 +11165,7 @@ metaruleelem.res diff = --- tests/metaruleelem.c -+++ /tmp/cocci-output-33521-fab91d-metaruleelem.c ++++ /tmp/cocci-output-50817-47dba1-metaruleelem.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -11142,7 +11178,7 @@ metastatement2.res diff = --- tests/metastatement2.c -+++ /tmp/cocci-output-33521-ec7c3b-metastatement2.c ++++ /tmp/cocci-output-50817-8ca1d1-metastatement2.c @@ -1,6 +1,5 @@ void main(int i) { @@ -11153,7 +11189,7 @@ metastatement_for.res diff = --- tests/metastatement_for.c -+++ /tmp/cocci-output-33521-681c8b-metastatement_for.c ++++ /tmp/cocci-output-50817-a61005-metastatement_for.c @@ -1,9 +1,6 @@ void main(void) { @@ -11167,7 +11203,7 @@ metastatement_if.res diff = --- tests/metastatement_if.c -+++ /tmp/cocci-output-33521-b67cf9-metastatement_if.c ++++ /tmp/cocci-output-50817-3acf97-metastatement_if.c @@ -5,8 +5,4 @@ void main(void) printf("%d", i); } @@ -11180,7 +11216,7 @@ mincom.res diff = --- tests/mincom.c -+++ /tmp/cocci-output-33521-eedfe4-mincom.c ++++ /tmp/cocci-output-50817-30d288-mincom.c @@ -1,5 +1,7 @@ int main () { - if (rc == LS_NONE_FIRST_DE) @@ -11194,14 +11230,14 @@ minenum.res diff = --- tests/minenum.c -+++ /tmp/cocci-output-33521-833af1-minenum.c ++++ /tmp/cocci-output-50817-c3900c-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-33521-8b66d8-minenum1.c ++++ /tmp/cocci-output-50817-aca1c6-minenum1.c @@ -1,2 +1,2 @@ -enum h { x, a, z, +enum h { x, qq, @@ -11209,7 +11245,7 @@ minfn.res diff = --- tests/minfn.c -+++ /tmp/cocci-output-33521-b9efcc-minfn.c ++++ /tmp/cocci-output-50817-c9d552-minfn.c @@ -1,13 +1,5 @@ int main () { return first; } @@ -11227,7 +11263,7 @@ mini_null_ref.res diff = --- tests/mini_null_ref.c -+++ /tmp/cocci-output-33521-b5ce46-mini_null_ref.c ++++ /tmp/cocci-output-50817-bae02e-mini_null_ref.c @@ -2,11 +2,12 @@ static int __devinit w90p910_keypad_prob { const struct w90p910_keypad_platform_data *pdata = @@ -11245,7 +11281,7 @@ miniclass.res diff = --- tests/miniclass.cpp -+++ /tmp/cocci-output-33521-7013e3-miniclass.cpp ++++ /tmp/cocci-output-50817-dc3ccf-miniclass.cpp @@ -1,28 +1,28 @@ class foo { @@ -11291,7 +11327,7 @@ miniswap.res diff = --- tests/miniswap.c -+++ /tmp/cocci-output-33521-3ab607-miniswap.c ++++ /tmp/cocci-output-50817-0a9130-miniswap.c @@ -1,5 +1,5 @@ static void swap_refcount_rec(void *a, void *b, int size) { @@ -11302,7 +11338,7 @@ minstruct.res diff = --- tests/minstruct.c -+++ /tmp/cocci-output-33521-86cf1b-minstruct.c ++++ /tmp/cocci-output-50817-9d4cbe-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", @@ -11315,7 +11351,7 @@ minusdots.res diff = --- tests/minusdots.c -+++ /tmp/cocci-output-33521-86a468-minusdots.c ++++ /tmp/cocci-output-50817-9e2c6f-minusdots.c @@ -1,9 +1,2 @@ void main(int i) { - @@ -11329,7 +11365,7 @@ minusdots_ver1.res diff = --- tests/minusdots_ver1.c -+++ /tmp/cocci-output-33521-894c9b-minusdots_ver1.c ++++ /tmp/cocci-output-50817-6555ea-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - @@ -11340,7 +11376,7 @@ move_type.res diff = --- tests/move_type.c -+++ /tmp/cocci-output-33521-86d180-move_type.c ++++ /tmp/cocci-output-50817-cbfa19-move_type.c @@ -1,6 +1,6 @@ int main() { - int x; @@ -11352,7 +11388,7 @@ multi.res diff = --- tests/multi.c -+++ /tmp/cocci-output-33521-1dcfc8-multi.c ++++ /tmp/cocci-output-50817-410742-multi.c @@ -3,4 +3,5 @@ int main() { g(1); g(1); @@ -11369,7 +11405,7 @@ warning: line 4: should ab be a metavariable? diff = --- tests/multichars.c -+++ /tmp/cocci-output-33521-3b1964-multichars.c ++++ /tmp/cocci-output-50817-14e50a-multichars.c @@ -1,5 +1,5 @@ int main () { - f('XYZ',ab); @@ -11382,7 +11418,7 @@ multidec.res diff = --- tests/multidec.c -+++ /tmp/cocci-output-33521-3cbcae-multidec.c ++++ /tmp/cocci-output-50817-73c30a-multidec.c @@ -1,11 +1,6 @@ int main () { int x = 3,z; @@ -11399,7 +11435,7 @@ multidecl3.res diff = --- tests/multidecl3.c -+++ /tmp/cocci-output-33521-39561c-multidecl3.c ++++ /tmp/cocci-output-50817-62d48a-multidecl3.c @@ -1,17 +1,13 @@ int main () { - int *i, i[12], i, k, r; @@ -11423,7 +11459,7 @@ multipath.res diff = --- tests/multipath.c -+++ /tmp/cocci-output-33521-ca439d-multipath.c ++++ /tmp/cocci-output-50817-694437-multipath.c @@ -2,8 +2,8 @@ static void multipathd(struct md_thread { for (;;) { @@ -11439,7 +11475,7 @@ warning: rule starting on line 3: metavariable T not used in the - or context code diff = --- tests/multiplus.c -+++ /tmp/cocci-output-33521-5c023e-multiplus.c ++++ /tmp/cocci-output-50817-388e3b-multiplus.c @@ -1,4 +1,4 @@ -static void xm_link_timer(void *arg) +static void xm_link_timer(struct work_struct *work) @@ -11449,7 +11485,7 @@ multiremove.res diff = --- tests/multiremove.c -+++ /tmp/cocci-output-33521-37bac5-multiremove.c ++++ /tmp/cocci-output-50817-65fcbd-multiremove.c @@ -1,8 +1,5 @@ int main () { if (x) { xyz1(); } @@ -11462,7 +11498,7 @@ multistruct.res diff = --- tests/multistruct.c -+++ /tmp/cocci-output-33521-4f46b0-multistruct.c ++++ /tmp/cocci-output-50817-588865-multistruct.c @@ -1,5 +1,3 @@ -struct one x; @@ -11472,7 +11508,7 @@ multitype.res diff = --- tests/multitype.c -+++ /tmp/cocci-output-33521-341344-multitype.c ++++ /tmp/cocci-output-50817-fd2c83-multitype.c @@ -3,5 +3,5 @@ typedef struct foo { int a; } foo_t; int main() { foo_t * x; @@ -11484,7 +11520,7 @@ warning: non_delayed_fn: metavariable T not used in the - or context code diff = --- tests/multitypedef.c -+++ /tmp/cocci-output-33521-17c5eb-multitypedef.c ++++ /tmp/cocci-output-50817-ff1746-multitypedef.c @@ -5,5 +5,5 @@ typedef struct HYSDN_CARD { int ergo_inithardware(hysdn_card * card) @@ -11495,7 +11531,7 @@ multivars.res diff = --- tests/multivars.c -+++ /tmp/cocci-output-33521-db6342-multivars.c ++++ /tmp/cocci-output-50817-4368c9-multivars.c @@ -1,5 +1,5 @@ void main(int i) { @@ -11510,7 +11546,7 @@ warning: line 4: should kfree be a metavariable? diff = --- tests/mv.c -+++ /tmp/cocci-output-33521-c35c07-mv.c ++++ /tmp/cocci-output-50817-f72c86-mv.c @@ -1,4 +1,4 @@ int main() { - u8 *xxx __free(kfree); @@ -11520,7 +11556,7 @@ na.res diff = --- tests/na.c -+++ /tmp/cocci-output-33521-c4f9d2-na.c ++++ /tmp/cocci-output-50817-040d43-na.c @@ -4,10 +4,10 @@ void foo() { int i; @@ -11539,7 +11575,7 @@ nameless.res diff = --- tests/nameless.c -+++ /tmp/cocci-output-33521-658b26-nameless.c ++++ /tmp/cocci-output-50817-380968-nameless.c @@ -1,6 +1,6 @@ typedef union { int foo; @@ -11557,7 +11593,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-33521-aeccc8-nest.c ++++ /tmp/cocci-output-50817-ff9374-nest.c @@ -1,7 +1,7 @@ void info_func(int i) { foo(); @@ -11571,7 +11607,7 @@ nestadd.res diff = --- tests/nestadd.c -+++ /tmp/cocci-output-33521-74400c-nestadd.c ++++ /tmp/cocci-output-50817-5045f4-nestadd.c @@ -1,3 +1,12 @@ int main() { foo(); @@ -11589,7 +11625,7 @@ warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c -+++ /tmp/cocci-output-33521-961952-nestone.c ++++ /tmp/cocci-output-50817-643361-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} @@ -11598,7 +11634,7 @@ nestseq.res diff = --- tests/nestseq.c -+++ /tmp/cocci-output-33521-03c425-nestseq.c ++++ /tmp/cocci-output-50817-e635e5-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); @@ -11608,7 +11644,7 @@ neststruct.res diff = --- tests/neststruct.c -+++ /tmp/cocci-output-33521-c6b4a7-neststruct.c ++++ /tmp/cocci-output-50817-6d9860-neststruct.c @@ -8,6 +8,6 @@ struct usb_hub { static int hub_configure(struct usb_hub *hub) @@ -11622,7 +11658,7 @@ newsimple.res diff = --- tests/newsimple.cpp -+++ /tmp/cocci-output-33521-3328f0-newsimple.cpp ++++ /tmp/cocci-output-50817-295ef5-newsimple.cpp @@ -1,6 +1,6 @@ int main() { @@ -11635,7 +11671,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/nl.c -+++ /tmp/cocci-output-33521-cdf107-nl.c ++++ /tmp/cocci-output-50817-ada428-nl.c @@ -1,4 +1,4 @@ int main() { - if (x) return; @@ -11646,7 +11682,7 @@ noa.res diff = --- tests/noa.c -+++ /tmp/cocci-output-33521-15f34c-noa.c ++++ /tmp/cocci-output-50817-4e1c5b-noa.c @@ -2,6 +2,6 @@ int main () { if (x) { a(); } else { a(); } } @@ -11659,7 +11695,7 @@ SPECIAL NAMES: adding gfp_t as a type diff = --- tests/nocast.c -+++ /tmp/cocci-output-33521-c54643-nocast.c ++++ /tmp/cocci-output-50817-0e2122-nocast.c @@ -1,4 +1,4 @@ -int main (unsigned int __nocast gfp_mask, int x) { +int main (gfp_t gfp_mask, int x) { @@ -11669,7 +11705,7 @@ noexcept.res diff = --- tests/noexcept.cpp -+++ /tmp/cocci-output-33521-a70813-noexcept.cpp ++++ /tmp/cocci-output-50817-71453e-noexcept.cpp @@ -1,9 +1,9 @@ -void foo() noexcept {} +void bar() noexcept {} @@ -11686,7 +11722,7 @@ noret.res diff = --- tests/noret.c -+++ /tmp/cocci-output-33521-307a9d-noret.c ++++ /tmp/cocci-output-50817-bbcf01-noret.c @@ -1,18 +1,18 @@ -main (int x); -static xmain (int x); @@ -11718,7 +11754,7 @@ not.res diff = --- tests/not.c -+++ /tmp/cocci-output-33521-7b4104-not.c ++++ /tmp/cocci-output-50817-b87c13-not.c @@ -1,9 +1,9 @@ int main() { int x; @@ -11735,7 +11771,7 @@ notest.res diff = --- tests/notest.c -+++ /tmp/cocci-output-33521-7ccc44-notest.c ++++ /tmp/cocci-output-50817-9297db-notest.c @@ -1,6 +1,6 @@ int main() { struct foo *x; @@ -11749,7 +11785,7 @@ warning: line 6: should false be a metavariable? diff = --- tests/notnot.c -+++ /tmp/cocci-output-33521-37c382-notnot.c ++++ /tmp/cocci-output-50817-378bee-notnot.c @@ -1,4 +1,4 @@ bool foo(int bar) { @@ -11759,7 +11795,7 @@ notpp.res diff = --- tests/notpp.cpp -+++ /tmp/cocci-output-33521-b83643-notpp.cpp ++++ /tmp/cocci-output-50817-173d65-notpp.cpp @@ -1,4 +1,4 @@ void main () { - if (not m2n->usesTwoLevelInitialization()) @@ -11769,7 +11805,7 @@ noty.res diff = --- tests/noty.c -+++ /tmp/cocci-output-33521-bdd402-noty.c ++++ /tmp/cocci-output-50817-971798-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } @@ -11778,7 +11814,7 @@ noty2.res diff = --- tests/noty2.c -+++ /tmp/cocci-output-33521-fdaf26-noty2.c ++++ /tmp/cocci-output-50817-770183-noty2.c @@ -1,14 +1,11 @@ main () { - foo(); @@ -11798,7 +11834,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/null_bool.c -+++ /tmp/cocci-output-33521-548306-null_bool.c ++++ /tmp/cocci-output-50817-52efbc-null_bool.c @@ -1,8 +1,8 @@ int main () { - if (x != NULL) return; @@ -11815,7 +11851,7 @@ null_type.res diff = --- tests/null_type.c -+++ /tmp/cocci-output-33521-7e7cbd-null_type.c ++++ /tmp/cocci-output-50817-aaeaa3-null_type.c @@ -2,7 +2,7 @@ int main(int i) { int *x; @@ -11830,7 +11866,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/oddifdef.c -+++ /tmp/cocci-output-33521-01812a-oddifdef.c ++++ /tmp/cocci-output-50817-a998b6-oddifdef.c @@ -7,9 +7,7 @@ void one () { a = 5; @@ -11863,7 +11899,7 @@ of.res diff = --- tests/of.c -+++ /tmp/cocci-output-33521-f792d1-of.c ++++ /tmp/cocci-output-50817-a2229c-of.c @@ -1,16 +1,20 @@ static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { @@ -11890,7 +11926,7 @@ oneline.res diff = --- tests/oneline.c -+++ /tmp/cocci-output-33521-fe9537-oneline.c ++++ /tmp/cocci-output-50817-bec73c-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); @@ -11901,7 +11937,7 @@ op.res diff = --- tests/op.c -+++ /tmp/cocci-output-33521-a35222-op.c ++++ /tmp/cocci-output-50817-f43dd0-op.c @@ -1,5 +1,4 @@ int main () { - return 3; @@ -11912,7 +11948,7 @@ opt.res diff = --- tests/opt.c -+++ /tmp/cocci-output-33521-a591e8-opt.c ++++ /tmp/cocci-output-50817-6af040-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); @@ -11920,7 +11956,7 @@ optional_qualifier.res diff = --- tests/optional_qualifier.c -+++ /tmp/cocci-output-33521-cfc024-optional_qualifier.c ++++ /tmp/cocci-output-50817-fef10f-optional_qualifier.c @@ -1,2 +1,2 @@ -int a; +const int a; @@ -11928,7 +11964,7 @@ optional_storage.res diff = --- tests/optional_storage.c -+++ /tmp/cocci-output-33521-e31126-optional_storage.c ++++ /tmp/cocci-output-50817-772705-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) @@ -11938,7 +11974,7 @@ orexp.res diff = --- tests/orexp.c -+++ /tmp/cocci-output-33521-e504a6-orexp.c ++++ /tmp/cocci-output-50817-1a2fb1-orexp.c @@ -1,3 +1,3 @@ int main() { - bar(12+12); @@ -11953,7 +11989,7 @@ warning: xxx: metavariable f not used in the - or context code diff = --- tests/overshoot.c -+++ /tmp/cocci-output-33521-ec376d-overshoot.c ++++ /tmp/cocci-output-50817-93795b-overshoot.c @@ -1,9 +1,8 @@ int main () { a(); @@ -11973,7 +12009,7 @@ warning: line 20: should errp be a metavariable? diff = --- tests/p1p2.c -+++ /tmp/cocci-output-33521-ccc976-p1p2.c ++++ /tmp/cocci-output-50817-c3b1d3-p1p2.c @@ -1,3 +1,3 @@ -int main(int x, Error **errp); +int __attribute__((nonnull(1))) main(int x, Error **errp); @@ -11983,7 +12019,7 @@ p9.res diff = --- tests/p9.c -+++ /tmp/cocci-output-33521-426108-p9.c ++++ /tmp/cocci-output-50817-c3c860-p9.c @@ -1,3 +1,3 @@ -int f(int, int, int x) { +int f(int v0, int v1, int x) { @@ -11992,7 +12028,7 @@ pa.res diff = --- tests/pa.c -+++ /tmp/cocci-output-33521-fd08ca-pa.c ++++ /tmp/cocci-output-50817-ad89d8-pa.c @@ -4,7 +4,8 @@ char *parse_args(const char *doing, unsigned num, s16 min_level, @@ -12007,7 +12043,7 @@ param.res diff = --- tests/param.c -+++ /tmp/cocci-output-33521-cf6c96-param.c ++++ /tmp/cocci-output-50817-77244c-param.c @@ -1 +1 @@ -void foo() { return; } + @@ -12016,7 +12052,7 @@ warning: line 14: should y be a metavariable? diff = --- tests/param_end.c -+++ /tmp/cocci-output-33521-c9baa5-param_end.c ++++ /tmp/cocci-output-50817-a02908-param_end.c @@ -1,15 +1,15 @@ -int one (int x) { return; } +int one () { return; } @@ -12044,7 +12080,7 @@ param_to_exp.res diff = --- tests/param_to_exp.c -+++ /tmp/cocci-output-33521-1c724b-param_to_exp.c ++++ /tmp/cocci-output-50817-01cb7a-param_to_exp.c @@ -1,3 +1,4 @@ int main (int x, int y) { + foo(x, y); @@ -12053,14 +12089,14 @@ param_ver1.res diff = --- tests/param_ver1.c -+++ /tmp/cocci-output-33521-8986a2-param_ver1.c ++++ /tmp/cocci-output-50817-127065-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c -+++ /tmp/cocci-output-33521-2a96aa-parameters_dots.c ++++ /tmp/cocci-output-50817-a6b55c-parameters_dots.c @@ -1,7 +1,3 @@ void main(int i) { - @@ -12072,7 +12108,7 @@ parenmac.res diff = --- tests/parenmac.c -+++ /tmp/cocci-output-33521-e2a023-parenmac.c ++++ /tmp/cocci-output-50817-aa4b48-parenmac.c @@ -1 +1 @@ -#define TXSSZ(val) (val<<4) +#define TXSSZ(val) ((val)<<4) @@ -12080,7 +12116,7 @@ warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/partial.c -+++ /tmp/cocci-output-33521-49d66b-partial.c ++++ /tmp/cocci-output-50817-5b0d36-partial.c @@ -1,3 +1,3 @@ #define CS_THIS_MODULE THIS_MODULE, #define CS_OWNER owner: @@ -12089,7 +12125,7 @@ partialmd.res diff = --- tests/partialmd.c -+++ /tmp/cocci-output-33521-89dd04-partialmd.c ++++ /tmp/cocci-output-50817-de60b0-partialmd.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12099,7 +12135,7 @@ partialmd2.res diff = --- tests/partialmd2.c -+++ /tmp/cocci-output-33521-7728fe-partialmd2.c ++++ /tmp/cocci-output-50817-7fac05-partialmd2.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12109,7 +12145,7 @@ partialmd3.res diff = --- tests/partialmd3.c -+++ /tmp/cocci-output-33521-a00f54-partialmd3.c ++++ /tmp/cocci-output-50817-108654-partialmd3.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; @@ -12120,7 +12156,7 @@ warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type.c -+++ /tmp/cocci-output-33521-803614-pb_distribute_type.c ++++ /tmp/cocci-output-50817-d34891-pb_distribute_type.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12144,7 +12180,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2.c -+++ /tmp/cocci-output-33521-2e824f-pb_distribute_type2.c ++++ /tmp/cocci-output-50817-0ddad5-pb_distribute_type2.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12171,7 +12207,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c -+++ /tmp/cocci-output-33521-40b35d-pb_distribute_type4.c ++++ /tmp/cocci-output-50817-10a849-pb_distribute_type4.c @@ -1,15 +1,15 @@ int foo() { - int x; @@ -12195,7 +12231,7 @@ warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c -+++ /tmp/cocci-output-33521-419b1c-pb_params_iso.c ++++ /tmp/cocci-output-50817-c00055-pb_params_iso.c @@ -1,17 +1,17 @@ -int f(bool a, int i, bool b) { @@ -12221,7 +12257,7 @@ pb_parsing_macro.res diff = --- tests/pb_parsing_macro.c -+++ /tmp/cocci-output-33521-f0ff0b-pb_parsing_macro.c ++++ /tmp/cocci-output-50817-b27888-pb_parsing_macro.c @@ -1,4 +1,4 @@ #define FOO_METH_TEST(a) prefix_##a void FOO_METH_TEST(foo)(int x){ @@ -12231,7 +12267,7 @@ pb_tag_symbols.res diff = --- tests/pb_tag_symbols.c -+++ /tmp/cocci-output-33521-fe73ad-pb_tag_symbols.c ++++ /tmp/cocci-output-50817-284831-pb_tag_symbols.c @@ -1,5 +1,3 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -12241,7 +12277,7 @@ pcim.res diff = --- tests/pcim.c -+++ /tmp/cocci-output-33521-26b92b-pcim.c ++++ /tmp/cocci-output-50817-007cb4-pcim.c @@ -1,5 +1,6 @@ int main () { - ctx->sensePA = pci_map_single(adapter->dev, cmd->sense_buffer, @@ -12254,7 +12290,7 @@ pcomma.res diff = --- tests/pcomma.c -+++ /tmp/cocci-output-33521-053432-pcomma.c ++++ /tmp/cocci-output-50817-4532d6-pcomma.c @@ -1,14 +1,14 @@ -int main (int x) {} +int main (char c, int x) {} @@ -12281,7 +12317,7 @@ pif.res diff = --- tests/pif.c -+++ /tmp/cocci-output-33521-82b1f2-pif.c ++++ /tmp/cocci-output-50817-0b3ddd-pif.c @@ -1,5 +1 @@ -void f(void) -{ @@ -12292,14 +12328,14 @@ plus33.res diff = --- tests/plus33.c -+++ /tmp/cocci-output-33521-cf739d-plus33.c ++++ /tmp/cocci-output-50817-e89304-plus33.c @@ -1 +1,2 @@ +typedef double double3x3[3][3]; int x; pmac.res diff = --- tests/pmac.c -+++ /tmp/cocci-output-33521-a33b46-pmac.c ++++ /tmp/cocci-output-50817-5a0eb2-pmac.c @@ -4,7 +4,5 @@ #include #endif @@ -12315,7 +12351,7 @@ posiso.res diff = --- tests/posiso.c -+++ /tmp/cocci-output-33521-e3585f-posiso.c ++++ /tmp/cocci-output-50817-3923e1-posiso.c @@ -1,9 +1,7 @@ int main () { int *x; @@ -12329,7 +12365,7 @@ positionc.res diff = --- tests/positionc.c -+++ /tmp/cocci-output-33521-3d8aa7-positionc.c ++++ /tmp/cocci-output-50817-f11d1f-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; @@ -12342,7 +12378,7 @@ post.res diff = --- tests/post.c -+++ /tmp/cocci-output-33521-a7a9a7-post.c ++++ /tmp/cocci-output-50817-8833e2-post.c @@ -1,8 +1,6 @@ int main() { - f(3, foo + bar, 5); @@ -12355,7 +12391,7 @@ pragma2.res diff = --- tests/pragma2.c -+++ /tmp/cocci-output-33521-e51176-pragma2.c ++++ /tmp/cocci-output-50817-d3f2a7-pragma2.c @@ -4,7 +4,7 @@ int main() int n = 3; // FIXME: problem: uncommenting this breaks matching @@ -12370,7 +12406,7 @@ warning: rule starting on line 1: metavariable i not used in the - or context code diff = --- tests/pragma3.c -+++ /tmp/cocci-output-33521-476268-pragma3.c ++++ /tmp/cocci-output-50817-f9b904-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') */ @@ -12383,7 +12419,7 @@ pragmatest1.res diff = --- tests/pragmatest1.c -+++ /tmp/cocci-output-33521-7ed6ef-pragmatest1.c ++++ /tmp/cocci-output-50817-71a209-pragmatest1.c @@ -1,3 +1 @@ -#pragma xxx a b c @@ -12398,7 +12434,7 @@ warning: rule starting on line 1: metavariable E not used in the - or context code diff = --- tests/print_return.c -+++ /tmp/cocci-output-33521-f13a81-print_return.c ++++ /tmp/cocci-output-50817-8fa026-print_return.c @@ -1,4 +1,3 @@ int config(struct pcmcia_device *link) { - bar(); @@ -12408,7 +12444,7 @@ proto.res diff = --- tests/proto.c -+++ /tmp/cocci-output-33521-3dd75a-proto.c ++++ /tmp/cocci-output-50817-7e52e3-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); @@ -12423,7 +12459,7 @@ proto2.res diff = --- tests/proto2.c -+++ /tmp/cocci-output-33521-7eda1b-proto2.c ++++ /tmp/cocci-output-50817-6e8e93-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); @@ -12440,7 +12476,7 @@ proto_ver1.res diff = --- tests/proto_ver1.c -+++ /tmp/cocci-output-33521-0220c5-proto_ver1.c ++++ /tmp/cocci-output-50817-f46bf0-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); @@ -12455,7 +12491,7 @@ proto_ver2.res diff = --- tests/proto_ver2.c -+++ /tmp/cocci-output-33521-45bc81-proto_ver2.c ++++ /tmp/cocci-output-50817-9084bc-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); @@ -12484,7 +12520,7 @@ protoassert.res diff = --- tests/protoassert.c -+++ /tmp/cocci-output-33521-33fa89-protoassert.c ++++ /tmp/cocci-output-50817-0b66ec-protoassert.c @@ -1,6 +1,8 @@ static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); @@ -12498,7 +12534,7 @@ protocpp.res diff = --- tests/protocpp.cpp -+++ /tmp/cocci-output-33521-550777-protocpp.cpp ++++ /tmp/cocci-output-50817-2c9aac-protocpp.cpp @@ -1 +1 @@ -int mm_write_banner(std::ofstream &ofs, MM_typecode matcode); +int mm_write_banner(std::ofstream &ofs, MM_typecode xxx); @@ -12507,7 +12543,7 @@ ptrar.res diff = --- tests/ptrar.c -+++ /tmp/cocci-output-33521-353f65-ptrar.c ++++ /tmp/cocci-output-50817-40d333-ptrar.c @@ -1,8 +1,8 @@ int main () { struct foo *x; @@ -12524,7 +12560,7 @@ ptrconstptr.res diff = --- tests/ptrconstptr.c -+++ /tmp/cocci-output-33521-4540ac-ptrconstptr.c ++++ /tmp/cocci-output-50817-dfb227-ptrconstptr.c @@ -1,3 +1,3 @@ void main() { - const char * const * x; @@ -12536,7 +12572,7 @@ warning: rule starting on line 12: metavariable S not used in the - or context code diff = --- tests/putloop.c -+++ /tmp/cocci-output-33521-875e3b-putloop.c ++++ /tmp/cocci-output-50817-e272c7-putloop.c @@ -4,13 +4,11 @@ static int atmel_pctl_dt_node_to_map(str unsigned int *num_maps) { @@ -12566,7 +12602,7 @@ qual.res diff = --- tests/qual.cpp -+++ /tmp/cocci-output-33521-2f87f8-qual.cpp ++++ /tmp/cocci-output-50817-c2ed2b-qual.cpp @@ -1,3 +1,3 @@ int main () { - return std::isspace(text[index]); @@ -12575,7 +12611,7 @@ qualclass.res diff = --- tests/qualclass.cpp -+++ /tmp/cocci-output-33521-7089a0-qualclass.cpp ++++ /tmp/cocci-output-50817-d8ebfe-qualclass.cpp @@ -1,3 +1,3 @@ class ResidualNorm : public ::testing::Test { - int x; @@ -12585,7 +12621,7 @@ SPECIAL NAMES: adding survived_r1 as a type diff = --- tests/qualifier.c -+++ /tmp/cocci-output-33521-6855fc-qualifier.c ++++ /tmp/cocci-output-50817-e33735-qualifier.c @@ -1,11 +1,11 @@ int *foo(const int *i) { @@ -12623,7 +12659,7 @@ range.res diff = --- tests/range.c -+++ /tmp/cocci-output-33521-bb598c-range.c ++++ /tmp/cocci-output-50817-8d65cf-range.c @@ -1,17 +1,8 @@ int main() { - f(1); @@ -12646,7 +12682,7 @@ SPECIAL NAMES: adding RB_DECLARE_CALLBACKS_MAX as a declarer diff = --- tests/rb.c -+++ /tmp/cocci-output-33521-52c11e-rb.c ++++ /tmp/cocci-output-50817-db604a-rb.c @@ -1,2 +1 @@ -RB_DECLARE_CALLBACKS_MAX(static, augment_callbacks, struct drbd_interval, -rb, sector_t, end, NODE_END); @@ -12654,7 +12690,7 @@ rcu3.res diff = --- tests/rcu3.c -+++ /tmp/cocci-output-33521-73324e-rcu3.c ++++ /tmp/cocci-output-50817-68d93b-rcu3.c @@ -3,6 +3,6 @@ static struct mtd_chip_driver *get_mtd_c struct list_head *pos; struct mtd_chip_driver *this; @@ -12667,7 +12703,7 @@ refl.res diff = --- tests/refl.c -+++ /tmp/cocci-output-33521-dd7b19-refl.c ++++ /tmp/cocci-output-50817-da7638-refl.c @@ -1,5 +1,3 @@ int main () { int x; @@ -12677,7 +12713,7 @@ regesc.res diff = --- tests/regesc.c -+++ /tmp/cocci-output-33521-4dd64d-regesc.c ++++ /tmp/cocci-output-50817-05ea9a-regesc.c @@ -1,5 +1,5 @@ int main () { - f(".foo"); @@ -12689,7 +12725,7 @@ regexp.res diff = --- tests/regexp.c -+++ /tmp/cocci-output-33521-3344fe-regexp.c ++++ /tmp/cocci-output-50817-3c7a1f-regexp.c @@ -1,9 +1,23 @@ int main(void) { @@ -12717,7 +12753,7 @@ regexp2.res diff = --- tests/regexp2.c -+++ /tmp/cocci-output-33521-492002-regexp2.c ++++ /tmp/cocci-output-50817-9e6fe1-regexp2.c @@ -2,9 +2,23 @@ int main(void) { @@ -12745,7 +12781,7 @@ regexp3.res diff = --- tests/regexp3.c -+++ /tmp/cocci-output-33521-d03d8b-regexp3.c ++++ /tmp/cocci-output-50817-fbad22-regexp3.c @@ -2,10 +2,27 @@ int main(void) { @@ -12781,7 +12817,7 @@ rem1.res diff = --- tests/rem1.c -+++ /tmp/cocci-output-33521-085aef-rem1.c ++++ /tmp/cocci-output-50817-94fc9d-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -12791,7 +12827,7 @@ rem2.res diff = --- tests/rem2.c -+++ /tmp/cocci-output-33521-1549fd-rem2.c ++++ /tmp/cocci-output-50817-8e7bf5-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); @@ -12801,7 +12837,7 @@ remaft.res diff = --- tests/remaft.c -+++ /tmp/cocci-output-33521-de1df0-remaft.c ++++ /tmp/cocci-output-50817-be796e-remaft.c @@ -1,8 +1,6 @@ int main() { #ifdef BLAH @@ -12814,7 +12850,7 @@ remcom.res diff = --- tests/remcom.c -+++ /tmp/cocci-output-33521-b1bda7-remcom.c ++++ /tmp/cocci-output-50817-a0d174-remcom.c @@ -3,20 +3,12 @@ asyncmeta_retry( Operation *op ) { @@ -12842,7 +12878,7 @@ remcom2.res diff = --- tests/remcom2.c -+++ /tmp/cocci-output-33521-03509c-remcom2.c ++++ /tmp/cocci-output-50817-203d85-remcom2.c @@ -2,7 +2,5 @@ int fn() { if (y) { @@ -12854,7 +12890,7 @@ remodif.res diff = --- tests/remodif.c -+++ /tmp/cocci-output-33521-87efa5-remodif.c ++++ /tmp/cocci-output-50817-c9ac6a-remodif.c @@ -5,7 +5,7 @@ static int hexium_attach(struct saa7146_ DEB_EE("\n"); @@ -12867,7 +12903,7 @@ remove-code-in-branch1.res diff = --- tests/remove-code-in-branch1.c -+++ /tmp/cocci-output-33521-096118-remove-code-in-branch1.c ++++ /tmp/cocci-output-50817-7294e4-remove-code-in-branch1.c @@ -1,7 +1,7 @@ int main(void) { @@ -12880,7 +12916,7 @@ remove_call.res diff = --- tests/remove_call.c -+++ /tmp/cocci-output-33521-329877-remove_call.c ++++ /tmp/cocci-output-50817-387208-remove_call.c @@ -1,6 +1,2 @@ int main () { - int x = 3 + FN() + FN(); @@ -12892,7 +12928,7 @@ SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/remove_cast_attr.c -+++ /tmp/cocci-output-33521-49ea7b-remove_cast_attr.c ++++ /tmp/cocci-output-50817-dc0915-remove_cast_attr.c @@ -2,9 +2,9 @@ int func() @@ -12909,7 +12945,7 @@ remove_cast_attr_allminus.res diff = --- tests/remove_cast_attr_allminus.c -+++ /tmp/cocci-output-33521-d1c521-remove_cast_attr_allminus.c ++++ /tmp/cocci-output-50817-48191e-remove_cast_attr_allminus.c @@ -2,9 +2,9 @@ int func() @@ -12930,7 +12966,7 @@ SPECIAL NAMES: adding __macro_attr as a attribute diff = --- tests/remove_macrodecl_attr.c -+++ /tmp/cocci-output-33521-2af057-remove_macrodecl_attr.c ++++ /tmp/cocci-output-50817-0c5f15-remove_macrodecl_attr.c @@ -1,3 +1,3 @@ #define __macro_attr MACROANNOTATION @@ -12940,7 +12976,7 @@ SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/remove_metaattr.c -+++ /tmp/cocci-output-33521-6b67fa-remove_metaattr.c ++++ /tmp/cocci-output-50817-0abebb-remove_metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; @@ -12952,7 +12988,7 @@ SPECIAL NAMES: adding __nocast as a attribute diff = --- tests/remove_param_attrs.c -+++ /tmp/cocci-output-33521-8702de-remove_param_attrs.c ++++ /tmp/cocci-output-50817-380746-remove_param_attrs.c @@ -6,15 +6,15 @@ int func2(int x, int __nocast y) { return 0; } @@ -12976,7 +13012,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr.c -+++ /tmp/cocci-output-33521-d34602-remove_struct_endattr.c ++++ /tmp/cocci-output-50817-1bbfa5-remove_struct_endattr.c @@ -4,4 +4,4 @@ struct abcd { int a; int b; @@ -12987,7 +13023,7 @@ SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr_allminus.c -+++ /tmp/cocci-output-33521-2eccae-remove_struct_endattr_allminus.c ++++ /tmp/cocci-output-50817-4a4afc-remove_struct_endattr_allminus.c @@ -1,13 +1 @@ #define __struct_endattr MACROANNOTATION - @@ -13005,7 +13041,7 @@ remparam.res diff = --- tests/remparam.c -+++ /tmp/cocci-output-33521-357f60-remparam.c ++++ /tmp/cocci-output-50817-c3e147-remparam.c @@ -1,14 +1,14 @@ static irqreturn_t -snd_ad1889_interrupt(void *dev_id, int x, @@ -13028,7 +13064,7 @@ rems.res diff = --- tests/rems.c -+++ /tmp/cocci-output-33521-454923-rems.c ++++ /tmp/cocci-output-50817-f4ebc8-rems.c @@ -1,5 +1,4 @@ int main () { x(); @@ -13038,7 +13074,7 @@ rems1.res diff = --- tests/rems1.c -+++ /tmp/cocci-output-33521-508bc5-rems1.c ++++ /tmp/cocci-output-50817-ece2b8-rems1.c @@ -1,5 +1,4 @@ int main () { x(); @@ -13050,7 +13086,7 @@ warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct.c -+++ /tmp/cocci-output-33521-7bdc96-remstruct.c ++++ /tmp/cocci-output-50817-260088-remstruct.c @@ -1,13 +1,4 @@ -static struct irqchip mpuio_irq_chip = { - .ack = mpuio_ack_irq, @@ -13068,7 +13104,7 @@ remu.res diff = --- tests/remu.c -+++ /tmp/cocci-output-33521-059007-remu.c ++++ /tmp/cocci-output-50817-dc20c8-remu.c @@ -1,5 +1,4 @@ struct anon_vma { int x; @@ -13078,7 +13114,7 @@ replace_typedef.res diff = --- tests/replace_typedef.c -+++ /tmp/cocci-output-33521-a6b82d-replace_typedef.c ++++ /tmp/cocci-output-50817-9c7c2e-replace_typedef.c @@ -3,8 +3,8 @@ typedef struct foo { int x; } foo_t; typedef int int_t; @@ -13093,7 +13129,7 @@ replacement3.res diff = --- tests/replacement3.c -+++ /tmp/cocci-output-33521-e2d32b-replacement3.c ++++ /tmp/cocci-output-50817-4d7e7d-replacement3.c @@ -1,6 +1,5 @@ int main() { - int *i; @@ -13105,7 +13141,7 @@ reserved.res diff = --- tests/reserved.c -+++ /tmp/cocci-output-33521-0c954e-reserved.c ++++ /tmp/cocci-output-50817-46a377-reserved.c @@ -1,7 +1,4 @@ int main() { - f(1,1); @@ -13117,7 +13153,7 @@ retest.res diff = --- tests/retest.c -+++ /tmp/cocci-output-33521-ac36b6-retest.c ++++ /tmp/cocci-output-50817-e5045d-retest.c @@ -1,6 +1,6 @@ int main () { foo(); @@ -13129,7 +13165,7 @@ retmacro.res diff = --- tests/retmacro.c -+++ /tmp/cocci-output-33521-d16b2d-retmacro.c ++++ /tmp/cocci-output-50817-a42874-retmacro.c @@ -1,6 +1,6 @@ #define REG_PATTERN_TEST(R, M, W) \ { \ @@ -13152,7 +13188,7 @@ warning: rule starting on line 18: metavariable S not used in the - or context code diff = --- tests/return.c -+++ /tmp/cocci-output-33521-13f511-return.c ++++ /tmp/cocci-output-50817-2ce2b2-return.c @@ -1,6 +1,9 @@ void foo(int y) { int x; @@ -13168,7 +13204,7 @@ return_implicit.res diff = --- tests/return_implicit.c -+++ /tmp/cocci-output-33521-0d4a79-return_implicit.c ++++ /tmp/cocci-output-50817-b08cb7-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { @@ -13178,7 +13214,7 @@ retval.res diff = --- tests/retval.c -+++ /tmp/cocci-output-33521-51911f-retval.c ++++ /tmp/cocci-output-50817-f367d0-retval.c @@ -1,21 +1,15 @@ int main () { if (retval1) { @@ -13208,7 +13244,7 @@ retval2.res diff = --- tests/retval2.c -+++ /tmp/cocci-output-33521-1c892a-retval2.c ++++ /tmp/cocci-output-50817-db5a10-retval2.c @@ -11,7 +11,7 @@ int getlen(int *input, size_t maxlen, in return -1; } @@ -13222,7 +13258,7 @@ warning: rule starting on line 8: metavariable p1 not used in the - or context code diff = --- tests/reusevar.c -+++ /tmp/cocci-output-33521-de2190-reusevar.c ++++ /tmp/cocci-output-50817-d74a2e-reusevar.c @@ -1,8 +1,5 @@ int main () { - f(x); @@ -13240,7 +13276,7 @@ SPECIAL NAMES: adding __ro_after_init as a attribute diff = --- tests/roa.c -+++ /tmp/cocci-output-33521-195c37-roa.c ++++ /tmp/cocci-output-50817-5d66f2-roa.c @@ -1,10 +1,10 @@ -struct arm_delay_ops arm_delay_ops __ro_after_init = { +struct found used __ro_after_init = { @@ -13258,7 +13294,7 @@ rptr.res diff = --- tests/rptr.c -+++ /tmp/cocci-output-33521-1bc748-rptr.c ++++ /tmp/cocci-output-50817-db17d1-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { @@ -13271,7 +13307,7 @@ same_expr.res diff = --- tests/same_expr.c -+++ /tmp/cocci-output-33521-63aa4a-same_expr.c ++++ /tmp/cocci-output-50817-6899f2-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { @@ -13282,7 +13318,7 @@ sbef.res diff = --- tests/sbef.c -+++ /tmp/cocci-output-33521-921ee8-sbef.c ++++ /tmp/cocci-output-50817-6c845e-sbef.c @@ -2,6 +2,5 @@ int main () { { a(); @@ -13293,7 +13329,7 @@ sbef2.res diff = --- tests/sbef2.c -+++ /tmp/cocci-output-33521-ce5535-sbef2.c ++++ /tmp/cocci-output-50817-401938-sbef2.c @@ -1,5 +1,4 @@ int main() { f(12); @@ -13303,7 +13339,7 @@ scope_problem.res diff = --- tests/scope_problem.c -+++ /tmp/cocci-output-33521-9ed2de-scope_problem.c ++++ /tmp/cocci-output-50817-a647c0-scope_problem.c @@ -1,15 +1,7 @@ void main(int i) { - @@ -13325,7 +13361,7 @@ SPECIAL NAMES: adding MyFloat as a type diff = --- tests/sd_2.c -+++ /tmp/cocci-output-33521-fb8a5b-sd_2.c ++++ /tmp/cocci-output-50817-01ae64-sd_2.c @@ -1 +1 @@ - struct particle_data_extra { MyFloat Mass; }; + struct particle_data_extra { MyFloat *Mass; }; @@ -13336,7 +13372,7 @@ warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/shared_brace.c -+++ /tmp/cocci-output-33521-57eb30-shared_brace.c ++++ /tmp/cocci-output-50817-9e2b6c-shared_brace.c @@ -1,9 +1,7 @@ int __init ixj_init(void) @@ -13357,7 +13393,7 @@ warning: line 23: should p be a metavariable? diff = --- tests/signed.c -+++ /tmp/cocci-output-33521-2a395e-signed.c ++++ /tmp/cocci-output-50817-b363f6-signed.c @@ -1,5 +1,5 @@ -int main(signed *m, unsigned *p) { - signed x; @@ -13372,7 +13408,7 @@ SPECIAL NAMES: adding DEFINE_MUTEX as a declarer diff = --- tests/sis.c -+++ /tmp/cocci-output-33521-8c7425-sis.c ++++ /tmp/cocci-output-50817-f1941c-sis.c @@ -1,4 +1,4 @@ -DECLARE_MUTEX(disconnect_sem); +DEFINE_MUTEX(disconnect_sem); @@ -13382,7 +13418,7 @@ sizeof.res diff = --- tests/sizeof.c -+++ /tmp/cocci-output-33521-51f4ed-sizeof.c ++++ /tmp/cocci-output-50817-9cb6c4-sizeof.c @@ -1,7 +1,7 @@ int main (int param) { @@ -13396,7 +13432,7 @@ sizeof_julia.res diff = --- tests/sizeof_julia.c -+++ /tmp/cocci-output-33521-dc9820-sizeof_julia.c ++++ /tmp/cocci-output-50817-94b8f6-sizeof_julia.c @@ -1,5 +1,5 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) @@ -13407,7 +13443,7 @@ sizeptr.res diff = --- tests/sizeptr.c -+++ /tmp/cocci-output-33521-5e0daf-sizeptr.c ++++ /tmp/cocci-output-50817-990b76-sizeptr.c @@ -5,7 +5,7 @@ int main () { ssize_t b; ptrdiff_t c; @@ -13422,7 +13458,7 @@ sizestar.res diff = --- tests/sizestar.c -+++ /tmp/cocci-output-33521-492acb-sizestar.c ++++ /tmp/cocci-output-50817-002032-sizestar.c @@ -1,7 +1,7 @@ int main () { max = num_var_ranges; @@ -13435,7 +13471,7 @@ sizet.res diff = --- tests/sizet.cpp -+++ /tmp/cocci-output-33521-7e92ca-sizet.cpp ++++ /tmp/cocci-output-50817-18007c-sizet.cpp @@ -1,3 +1,2 @@ int main() { - size_t x; @@ -13443,7 +13479,7 @@ sizet1.res diff = --- tests/sizet1.c -+++ /tmp/cocci-output-33521-5dcc2c-sizet1.c ++++ /tmp/cocci-output-50817-86fb8c-sizet1.c @@ -1,3 +1,2 @@ int main() { - size_t x; @@ -13451,7 +13487,7 @@ skip.res diff = --- tests/skip.c -+++ /tmp/cocci-output-33521-82e598-skip.c ++++ /tmp/cocci-output-50817-8d07ac-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); @@ -13462,7 +13498,7 @@ sl2.res diff = --- tests/sl2.c -+++ /tmp/cocci-output-33521-226f72-sl2.c ++++ /tmp/cocci-output-50817-f462ed-sl2.c @@ -1,11 +1,14 @@ int main () { + something(); @@ -13488,7 +13524,7 @@ smallfn.res diff = --- tests/smallfn.c -+++ /tmp/cocci-output-33521-23ee29-smallfn.c ++++ /tmp/cocci-output-50817-418f82-smallfn.c @@ -1,30 +1,65 @@ int main () { if (y) { @@ -13568,7 +13604,7 @@ snip_field.res diff = --- tests/snip_field.cpp -+++ /tmp/cocci-output-33521-f21feb-snip_field.cpp ++++ /tmp/cocci-output-50817-d3aa68-snip_field.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; @@ -13581,7 +13617,7 @@ snprintf.res diff = --- tests/snprintf.c -+++ /tmp/cocci-output-33521-ee0311-snprintf.c ++++ /tmp/cocci-output-50817-ee2fc0-snprintf.c @@ -1,4 +1,4 @@ static ssize_t idletimer_tg_show(char *buf) { @@ -13591,7 +13627,7 @@ sp.res diff = --- tests/sp.c -+++ /tmp/cocci-output-33521-8a3cb1-sp.c ++++ /tmp/cocci-output-50817-22bbcc-sp.c @@ -1,4 +1,4 @@ -typedef struct { +struct name { @@ -13603,7 +13639,7 @@ spacing.res diff = --- tests/spacing.c -+++ /tmp/cocci-output-33521-542420-spacing.c ++++ /tmp/cocci-output-50817-0a54d9-spacing.c @@ -1,8 +1,21 @@ typedef int *foo; @@ -13629,7 +13665,7 @@ spl.res diff = --- tests/spl.c -+++ /tmp/cocci-output-33521-591653-spl.c ++++ /tmp/cocci-output-50817-ee2aeb-spl.c @@ -2,11 +2,13 @@ int main() { spin_lock(&isp116x->lock); /* take idle endpoints out of the schedule */ @@ -13647,7 +13683,7 @@ split_funcall1.res diff = --- tests/split_funcall1.c -+++ /tmp/cocci-output-33521-f91a32-split_funcall1.c ++++ /tmp/cocci-output-50817-c4452b-split_funcall1.c @@ -1,4 +1,4 @@ int main(void) { @@ -13657,7 +13693,7 @@ split_funcall2.res diff = --- tests/split_funcall2.c -+++ /tmp/cocci-output-33521-977d38-split_funcall2.c ++++ /tmp/cocci-output-50817-241c58-split_funcall2.c @@ -1,4 +1,4 @@ int main(void) { @@ -13667,7 +13703,7 @@ square.res diff = --- tests/square.c -+++ /tmp/cocci-output-33521-a01d57-square.c ++++ /tmp/cocci-output-50817-a68cb4-square.c @@ -2,7 +2,7 @@ int two() { return 2; } int main() { int a[3]; @@ -13683,7 +13719,7 @@ SPECIAL NAMES: adding LPINT as a type diff = --- tests/starprint.c -+++ /tmp/cocci-output-33521-02f2ab-starprint.c ++++ /tmp/cocci-output-50817-2c7bd4-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; @@ -13695,7 +13731,7 @@ static.res diff = --- tests/static.c -+++ /tmp/cocci-output-33521-2434b0-static.c ++++ /tmp/cocci-output-50817-4c75f9-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { @@ -13706,7 +13742,7 @@ stm10.res diff = --- tests/stm10.c -+++ /tmp/cocci-output-33521-29b1a4-stm10.c ++++ /tmp/cocci-output-50817-56d389-stm10.c @@ -1,6 +1,7 @@ int main(int x) { f(); @@ -13718,7 +13754,7 @@ stm10_ver1.res diff = --- tests/stm10_ver1.c -+++ /tmp/cocci-output-33521-6bee50-stm10_ver1.c ++++ /tmp/cocci-output-50817-c1156e-stm10_ver1.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13729,7 +13765,7 @@ stm2.res diff = --- tests/stm2.c -+++ /tmp/cocci-output-33521-805b6c-stm2.c ++++ /tmp/cocci-output-50817-94f908-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); @@ -13739,7 +13775,7 @@ stm3.res diff = --- tests/stm3.c -+++ /tmp/cocci-output-33521-f893cb-stm3.c ++++ /tmp/cocci-output-50817-d9a301-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); @@ -13750,7 +13786,7 @@ stm4.res diff = --- tests/stm4.c -+++ /tmp/cocci-output-33521-799f13-stm4.c ++++ /tmp/cocci-output-50817-3fd69d-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); @@ -13760,7 +13796,7 @@ stm5.res diff = --- tests/stm5.c -+++ /tmp/cocci-output-33521-a9886c-stm5.c ++++ /tmp/cocci-output-50817-84b4ff-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); @@ -13772,7 +13808,7 @@ stm6.res diff = --- tests/stm6.c -+++ /tmp/cocci-output-33521-248a93-stm6.c ++++ /tmp/cocci-output-50817-8fabdc-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13785,7 +13821,7 @@ stm8.res diff = --- tests/stm8.c -+++ /tmp/cocci-output-33521-8a5e12-stm8.c ++++ /tmp/cocci-output-50817-8f57fb-stm8.c @@ -1,5 +1,6 @@ int main(int x) { f(); @@ -13796,7 +13832,7 @@ stm_exp.res diff = --- tests/stm_exp.c -+++ /tmp/cocci-output-33521-b91482-stm_exp.c ++++ /tmp/cocci-output-50817-a90ab9-stm_exp.c @@ -1,7 +1,5 @@ int main() { - abs(); @@ -13808,7 +13844,7 @@ stmt.res diff = --- tests/stmt.c -+++ /tmp/cocci-output-33521-35cb88-stmt.c ++++ /tmp/cocci-output-50817-63f700-stmt.c @@ -1,4 +1,5 @@ int f() { int x; @@ -13818,7 +13854,7 @@ stmt_removed_and_added.res diff = --- tests/stmt_removed_and_added.c -+++ /tmp/cocci-output-33521-a34279-stmt_removed_and_added.c ++++ /tmp/cocci-output-50817-5feb45-stmt_removed_and_added.c @@ -1,6 +1,6 @@ void main() { @@ -13831,7 +13867,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/str_init.c -+++ /tmp/cocci-output-33521-24d2e4-str_init.c ++++ /tmp/cocci-output-50817-50a3ef-str_init.c @@ -1,7 +1,3 @@ struct foo x = { - .aaa = 5, @@ -13844,7 +13880,7 @@ warning: rule starting on line 1: metavariable f not used in the - or context code diff = --- tests/strangeorder.c -+++ /tmp/cocci-output-33521-263df0-strangeorder.c ++++ /tmp/cocci-output-50817-f4b947-strangeorder.c @@ -4,8 +4,10 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_client *client; @@ -13860,7 +13896,7 @@ strid.res diff = --- tests/strid.c -+++ /tmp/cocci-output-33521-b50870-strid.c ++++ /tmp/cocci-output-50817-196fe7-strid.c @@ -1,4 +1,4 @@ int main () { struct foo *a; @@ -13870,7 +13906,7 @@ strid2.res diff = --- tests/strid2.c -+++ /tmp/cocci-output-33521-e9d411-strid2.c ++++ /tmp/cocci-output-50817-ce50da-strid2.c @@ -3,8 +3,8 @@ int main () { enum foo1 *b; struct foo a1; @@ -13886,7 +13922,7 @@ strtest.res diff = --- tests/strtest.c -+++ /tmp/cocci-output-33521-6dc9b2-strtest.c ++++ /tmp/cocci-output-50817-1c8561-strtest.c @@ -1,3 +1,3 @@ int main() { - printf("hello\n"); @@ -13895,7 +13931,7 @@ struct.res diff = --- tests/struct.c -+++ /tmp/cocci-output-33521-2b46a1-struct.c ++++ /tmp/cocci-output-50817-12ebc8-struct.c @@ -8,7 +8,5 @@ struct foo { int main() { @@ -13907,7 +13943,7 @@ struct_metavar.res diff = --- tests/struct_metavar.c -+++ /tmp/cocci-output-33521-13bd4b-struct_metavar.c ++++ /tmp/cocci-output-50817-0d29a8-struct_metavar.c @@ -9,9 +9,6 @@ struct foo { int main() { struct foo *a; @@ -13921,7 +13957,7 @@ struct_typedef.res diff = --- tests/struct_typedef.c -+++ /tmp/cocci-output-33521-f2bdfc-struct_typedef.c ++++ /tmp/cocci-output-50817-d84087-struct_typedef.c @@ -1,5 +1,5 @@ -typedef struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -13935,7 +13971,7 @@ warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c -+++ /tmp/cocci-output-33521-f77caa-structfoo.c ++++ /tmp/cocci-output-50817-12db10-structfoo.c @@ -1,4 +1 @@ -struct foo my_foo[] = { -.a = 1, @@ -13945,7 +13981,7 @@ structptr_func.res diff = --- tests/structptr_func.c -+++ /tmp/cocci-output-33521-6379dc-structptr_func.c ++++ /tmp/cocci-output-50817-e924ac-structptr_func.c @@ -1,5 +1,6 @@ void func(struct socket *sock, struct sockaddr *uaddr, int peer) { @@ -13957,7 +13993,7 @@ substruct.res diff = --- tests/substruct.c -+++ /tmp/cocci-output-33521-ac3dce-substruct.c ++++ /tmp/cocci-output-50817-f8bb9e-substruct.c @@ -1,5 +1,5 @@ struct a { int a; } x[2] = { @@ -13969,14 +14005,14 @@ sw.res diff = --- tests/sw.c -+++ /tmp/cocci-output-33521-8bfcc8-sw.c ++++ /tmp/cocci-output-50817-b69f75-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c -+++ /tmp/cocci-output-33521-448cb2-swap3.c ++++ /tmp/cocci-output-50817-43b334-swap3.c @@ -2,7 +2,7 @@ static void __ar955x_tx_iq_cal_sort(stru struct coeff *coeff, int i, int nmeasurement) @@ -13989,7 +14025,7 @@ switch.res diff = --- tests/switch.c -+++ /tmp/cocci-output-33521-284fe4-switch.c ++++ /tmp/cocci-output-50817-6edb8c-switch.c @@ -3,6 +3,5 @@ int main () { default: break; @@ -14001,7 +14037,7 @@ warning: switch_1: metavariable S_1 not used in the - or context code diff = --- tests/switchdecl.c -+++ /tmp/cocci-output-33521-74abf1-switchdecl.c ++++ /tmp/cocci-output-50817-c8bb24-switchdecl.c @@ -4,7 +4,7 @@ switch (2) { int x; @@ -14015,7 +14051,7 @@ warning: line 12: should g be a metavariable? diff = --- tests/symbol.c -+++ /tmp/cocci-output-33521-f1461b-symbol.c ++++ /tmp/cocci-output-50817-07b848-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; @@ -14027,7 +14063,7 @@ td.res diff = --- tests/td.c -+++ /tmp/cocci-output-33521-e37269-td.c ++++ /tmp/cocci-output-50817-6d680d-td.c @@ -1,5 +1,5 @@ -struct foo {int a;}; +struct foo {int b;}; @@ -14040,7 +14076,7 @@ tdnl.res diff = --- tests/tdnl.c -+++ /tmp/cocci-output-33521-9b0a52-tdnl.c ++++ /tmp/cocci-output-50817-6acd6e-tdnl.c @@ -4,5 +4,4 @@ void main() { @@ -14050,7 +14086,7 @@ tdplus.res diff = --- tests/tdplus.c -+++ /tmp/cocci-output-33521-ddc0a7-tdplus.c ++++ /tmp/cocci-output-50817-e3204f-tdplus.c @@ -1 +1 @@ -typedef int (*filler_t)(int, int); +typedef int (*filler_t)(int, struct address_space *, int); @@ -14059,7 +14095,7 @@ SPECIAL NAMES: adding abc as a type diff = --- tests/template_test.cpp -+++ /tmp/cocci-output-33521-eca663-template_test.cpp ++++ /tmp/cocci-output-50817-11e85d-template_test.cpp @@ -1,5 +1,6 @@ int min() { int x; @@ -14070,7 +14106,7 @@ templates1.res diff = --- tests/templates1.cpp -+++ /tmp/cocci-output-33521-ddabc1-templates1.cpp ++++ /tmp/cocci-output-50817-2eb5c8-templates1.cpp @@ -1,9 +1,9 @@ -template +template @@ -14086,7 +14122,7 @@ tern.res diff = --- tests/tern.c -+++ /tmp/cocci-output-33521-a6c0db-tern.c ++++ /tmp/cocci-output-50817-725825-tern.c @@ -1,4 +1,4 @@ int main () { - return (wc >= 0 && wc <= 0x7f ? wc : 0x7f); @@ -14096,7 +14132,7 @@ test0.res diff = --- tests/test0.c -+++ /tmp/cocci-output-33521-5b8aa2-test0.c ++++ /tmp/cocci-output-50817-11bdea-test0.c @@ -1,5 +1,3 @@ int main(int i) { - f(1); @@ -14106,7 +14142,7 @@ test1.res diff = --- tests/test1.c -+++ /tmp/cocci-output-33521-08f2c7-test1.c ++++ /tmp/cocci-output-50817-f6ce75-test1.c @@ -6,9 +6,9 @@ void main(int foo) { x(); if(1) { @@ -14123,7 +14159,7 @@ test10_ver1.res diff = --- tests/test10_ver1.c -+++ /tmp/cocci-output-33521-97d12a-test10_ver1.c ++++ /tmp/cocci-output-50817-c0592e-test10_ver1.c @@ -3,7 +3,7 @@ void main(int i) { f(1); g(1); @@ -14137,7 +14173,7 @@ test11_ver1.res diff = --- tests/test11_ver1.c -+++ /tmp/cocci-output-33521-7a0c5d-test11_ver1.c ++++ /tmp/cocci-output-50817-131fce-test11_ver1.c @@ -2,6 +2,6 @@ void main(int i) { f(1); g(1); @@ -14149,7 +14185,7 @@ test12.res diff = --- tests/test12.c -+++ /tmp/cocci-output-33521-d340cc-test12.c ++++ /tmp/cocci-output-50817-ddb915-test12.c @@ -1,6 +1,6 @@ void main(int foo) { @@ -14161,7 +14197,7 @@ test2.res diff = --- tests/test2.c -+++ /tmp/cocci-output-33521-5a0e13-test2.c ++++ /tmp/cocci-output-50817-a98dc0-test2.c @@ -2,7 +2,7 @@ void main() { f(1,2,3); @@ -14175,7 +14211,7 @@ test3.res diff = --- tests/test3.c -+++ /tmp/cocci-output-33521-a10d5b-test3.c ++++ /tmp/cocci-output-50817-2999a4-test3.c @@ -4,7 +4,7 @@ void main() f(3); @@ -14189,7 +14225,7 @@ test4.res diff = --- tests/test4.c -+++ /tmp/cocci-output-33521-f609d0-test4.c ++++ /tmp/cocci-output-50817-9e61f1-test4.c @@ -1,7 +1,6 @@ void main() { @@ -14201,7 +14237,7 @@ test5.res diff = --- tests/test5.c -+++ /tmp/cocci-output-33521-822b12-test5.c ++++ /tmp/cocci-output-50817-1237b0-test5.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -14217,7 +14253,7 @@ test5_ver1.res diff = --- tests/test5_ver1.c -+++ /tmp/cocci-output-33521-ccb7ea-test5_ver1.c ++++ /tmp/cocci-output-50817-2ef18e-test5_ver1.c @@ -12,9 +12,9 @@ void main() { f(1); @@ -14233,7 +14269,7 @@ test6.res diff = --- tests/test6.c -+++ /tmp/cocci-output-33521-c8343c-test6.c ++++ /tmp/cocci-output-50817-e3583e-test6.c @@ -4,13 +4,13 @@ void main() { /* a comment */ @@ -14264,7 +14300,7 @@ test7.res diff = --- tests/test7.c -+++ /tmp/cocci-output-33521-5b08e4-test7.c ++++ /tmp/cocci-output-50817-a54dd5-test7.c @@ -2,10 +2,12 @@ void main() { @@ -14283,7 +14319,7 @@ test8.res diff = --- tests/test8.c -+++ /tmp/cocci-output-33521-61cab3-test8.c ++++ /tmp/cocci-output-50817-ec63d8-test8.c @@ -1,7 +1,6 @@ -void main(int foo) { +void main(char i, int foo) { @@ -14296,7 +14332,7 @@ test9.res diff = --- tests/test9.c -+++ /tmp/cocci-output-33521-cd5c6c-test9.c ++++ /tmp/cocci-output-50817-6b4e1d-test9.c @@ -4,9 +4,9 @@ void main(int foo) { // f(1); // if uncomment then problems g(2); @@ -14312,7 +14348,7 @@ test_s.res diff = --- tests/test_s.c -+++ /tmp/cocci-output-33521-00a4c3-test_s.c ++++ /tmp/cocci-output-50817-b6a23a-test_s.c @@ -2,7 +2,7 @@ int main () { if (x-one) { one(); @@ -14340,7 +14376,7 @@ warning: line 39: should y be a metavariable? diff = --- tests/test_unsigned_meta.c -+++ /tmp/cocci-output-33521-7d08f4-test_unsigned_meta.c ++++ /tmp/cocci-output-50817-dd3866-test_unsigned_meta.c @@ -1,8 +1,12 @@ int main () { - unsigned int x; @@ -14360,7 +14396,7 @@ testand.res diff = --- tests/testand.c -+++ /tmp/cocci-output-33521-a0b7b9-testand.c ++++ /tmp/cocci-output-50817-c1cb54-testand.c @@ -1,5 +1,5 @@ int main () { f(1,2,3,4); @@ -14372,7 +14408,7 @@ testand2.res diff = --- tests/testand2.c -+++ /tmp/cocci-output-33521-43b0c2-testand2.c ++++ /tmp/cocci-output-50817-fbcdc1-testand2.c @@ -1,6 +1,6 @@ int main () { f(1,2,3,4); @@ -14384,7 +14420,7 @@ three_types.res diff = --- tests/three_types.c -+++ /tmp/cocci-output-33521-118e04-three_types.c ++++ /tmp/cocci-output-50817-152a65-three_types.c @@ -7,5 +7,5 @@ via_init_dmablit(drm_device_t *dev) { drm_via_blitq_t *blitq; @@ -14395,7 +14431,7 @@ threea.res diff = --- tests/threea.c -+++ /tmp/cocci-output-33521-4d7a61-threea.c ++++ /tmp/cocci-output-50817-27f63f-threea.c @@ -1,4 +1,3 @@ int main() { f(12); @@ -14404,7 +14440,7 @@ tloop.res diff = --- tests/tloop.c -+++ /tmp/cocci-output-33521-83044f-tloop.c ++++ /tmp/cocci-output-50817-7ce50c-tloop.c @@ -1,6 +1,5 @@ int foo(void) { @@ -14415,7 +14451,7 @@ tmpinit.res diff = --- tests/tmpinit.cpp -+++ /tmp/cocci-output-33521-302618-tmpinit.cpp ++++ /tmp/cocci-output-50817-411ceb-tmpinit.cpp @@ -1,3 +1,3 @@ class TestSymmetricCoo: public ::testing::Test { - const std::vector VA { std::vector(nnzA,4) }; @@ -14429,7 +14465,7 @@ SPECIAL NAMES: adding module_param as a declarer diff = --- tests/top.c -+++ /tmp/cocci-output-33521-1d8af2-top.c ++++ /tmp/cocci-output-50817-c28a69-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); @@ -14437,7 +14473,7 @@ SPECIAL NAMES: adding LIST_HEAD as a declarer diff = --- tests/topdec.c -+++ /tmp/cocci-output-33521-e7aac7-topdec.c ++++ /tmp/cocci-output-50817-662e73-topdec.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ @@ -14447,7 +14483,7 @@ topdec_ver1.res diff = --- tests/topdec_ver1.c -+++ /tmp/cocci-output-33521-1dcb5b-topdec_ver1.c ++++ /tmp/cocci-output-50817-394463-topdec_ver1.c @@ -4,4 +4,4 @@ static int debug; /* Network device part of the driver */ @@ -14457,7 +14493,7 @@ topdec_ver2.res diff = --- tests/topdec_ver2.c -+++ /tmp/cocci-output-33521-25ec3f-topdec_ver2.c ++++ /tmp/cocci-output-50817-e9d863-topdec_ver2.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ @@ -14467,7 +14503,7 @@ topdecl.res diff = --- tests/topdecl.c -+++ /tmp/cocci-output-33521-0ffd70-topdecl.c ++++ /tmp/cocci-output-50817-b474a0-topdecl.c @@ -1,3 +1,3 @@ int main () { - int x = foo(); @@ -14478,7 +14514,7 @@ SPECIAL NAMES: adding module_param as a declarer diff = --- tests/toplevel_macrostmt.c -+++ /tmp/cocci-output-33521-1beafa-toplevel_macrostmt.c ++++ /tmp/cocci-output-50817-11d18d-toplevel_macrostmt.c @@ -2,7 +2,7 @@ void main(int i) { } @@ -14492,7 +14528,7 @@ warning: line 5: should usb_stor_host_template be a metavariable? diff = --- tests/toplevel_struct.c -+++ /tmp/cocci-output-33521-15d39c-toplevel_struct.c ++++ /tmp/cocci-output-50817-29c320-toplevel_struct.c @@ -3,6 +3,7 @@ struct SHT usb_stor_host_template = { .name = "usb-storage", .proc_name = "usb-storage", @@ -14518,7 +14554,7 @@ triplet.res diff = --- tests/triplet.c -+++ /tmp/cocci-output-33521-d9242f-triplet.c ++++ /tmp/cocci-output-50817-708c75-triplet.c @@ -1,5 +1,6 @@ typedef double dtriplet_t[3] ; // FIXME: such code would not be parsed on cocci side @@ -14529,7 +14565,7 @@ try_catch.res diff = --- tests/try_catch.cpp -+++ /tmp/cocci-output-33521-d26d0e-try_catch.cpp ++++ /tmp/cocci-output-50817-dcad20-try_catch.cpp @@ -1,5 +1,6 @@ int main() { @@ -14543,7 +14579,7 @@ warning: rule starting on line 10: metavariable B not used in the - or context code diff = --- tests/tup.c -+++ /tmp/cocci-output-33521-c28491-tup.c ++++ /tmp/cocci-output-50817-71ab16-tup.c @@ -1,7 +1,7 @@ static int cm206_block_ioctl(struct inode *inode, struct file *file, unsigned cmd, unsigned long arg) @@ -14556,7 +14592,7 @@ twomatch.res diff = --- tests/twomatch.c -+++ /tmp/cocci-output-33521-250c00-twomatch.c ++++ /tmp/cocci-output-50817-fc020a-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); @@ -14568,7 +14604,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/twoproto.c -+++ /tmp/cocci-output-33521-6b9bb7-twoproto.c ++++ /tmp/cocci-output-50817-b74957-twoproto.c @@ -1,11 +1,9 @@ static void tc574_config(dev_link_t *link); @@ -14586,7 +14622,7 @@ ty.res diff = --- tests/ty.c -+++ /tmp/cocci-output-33521-020c53-ty.c ++++ /tmp/cocci-output-50817-a10172-ty.c @@ -1,4 +1,4 @@ int main () { - struct foo x; @@ -14597,7 +14633,7 @@ warning: line 7: should x be a metavariable? diff = --- tests/ty1.c -+++ /tmp/cocci-output-33521-910962-ty1.c ++++ /tmp/cocci-output-50817-81222e-ty1.c @@ -1,4 +1,3 @@ int fn(int y) { char x; @@ -14606,7 +14642,7 @@ ty_tyexp.res diff = --- tests/ty_tyexp.c -+++ /tmp/cocci-output-33521-656f13-ty_tyexp.c ++++ /tmp/cocci-output-50817-55c1a5-ty_tyexp.c @@ -1,11 +1,11 @@ void main(double z) { @@ -14628,7 +14664,7 @@ SPECIAL NAMES: adding uint64_t as a type diff = --- tests/tydisj.c -+++ /tmp/cocci-output-33521-1e45b0-tydisj.c ++++ /tmp/cocci-output-50817-a40832-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(); @@ -14639,7 +14675,7 @@ SPECIAL NAMES: adding Location as a type diff = --- tests/tyex.c -+++ /tmp/cocci-output-33521-e765a0-tyex.c ++++ /tmp/cocci-output-50817-eaffc9-tyex.c @@ -1,12 +1,15 @@ typedef struct { double x; @@ -14661,7 +14697,7 @@ type.res diff = --- tests/type.c -+++ /tmp/cocci-output-33521-743dc1-type.c ++++ /tmp/cocci-output-50817-027cc4-type.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -14672,7 +14708,7 @@ type1.res diff = --- tests/type1.c -+++ /tmp/cocci-output-33521-71a2e2-type1.c ++++ /tmp/cocci-output-50817-7cc5f3-type1.c @@ -1,5 +1,5 @@ int foo() { - int x; @@ -14683,7 +14719,7 @@ type_and_var.res diff = --- tests/type_and_var.c -+++ /tmp/cocci-output-33521-2c99e9-type_and_var.c ++++ /tmp/cocci-output-50817-796594-type_and_var.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; @@ -14720,7 +14756,7 @@ type_and_var2.res diff = --- tests/type_and_var2.c -+++ /tmp/cocci-output-33521-8d3898-type_and_var2.c ++++ /tmp/cocci-output-50817-8b8b76-type_and_var2.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; @@ -14757,7 +14793,7 @@ type_annotated.res diff = --- tests/type_annotated.c -+++ /tmp/cocci-output-33521-c24d7d-type_annotated.c ++++ /tmp/cocci-output-50817-e12b4c-type_annotated.c @@ -4,7 +4,7 @@ void f1(int z) { struct foo2 j; int k; @@ -14778,7 +14814,7 @@ type_constraints.res diff = --- tests/type_constraints.c -+++ /tmp/cocci-output-33521-96f0ce-type_constraints.c ++++ /tmp/cocci-output-50817-12def1-type_constraints.c @@ -1,9 +1,9 @@ void f(void) { int i; @@ -14795,7 +14831,7 @@ type_ver1.res diff = --- tests/type_ver1.c -+++ /tmp/cocci-output-33521-9439f9-type_ver1.c ++++ /tmp/cocci-output-50817-7e871c-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; @@ -14806,7 +14842,7 @@ type_ver2.res diff = --- tests/type_ver2.c -+++ /tmp/cocci-output-33521-4725a8-type_ver2.c ++++ /tmp/cocci-output-50817-921206-type_ver2.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; @@ -14818,7 +14854,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef.c -+++ /tmp/cocci-output-33521-f62c17-typedef.c ++++ /tmp/cocci-output-50817-0a13b2-typedef.c @@ -1,15 +1,15 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -14842,7 +14878,7 @@ SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef3.c -+++ /tmp/cocci-output-33521-c262ab-typedef3.c ++++ /tmp/cocci-output-50817-3063a1-typedef3.c @@ -1,5 +1,5 @@ typedef struct bluecard_info_t { - dev_link_t link; @@ -14861,7 +14897,7 @@ typeof.res diff = --- tests/typeof.c -+++ /tmp/cocci-output-33521-79e89d-typeof.c ++++ /tmp/cocci-output-50817-b187c1-typeof.c @@ -1,6 +1,4 @@ int main() { int x; @@ -14872,7 +14908,7 @@ typeof_expr.res diff = --- tests/typeof_expr.c -+++ /tmp/cocci-output-33521-9bd6b6-typeof_expr.c ++++ /tmp/cocci-output-50817-64bb7e-typeof_expr.c @@ -1,4 +1,4 @@ int main () { int x = 0; @@ -14882,7 +14918,7 @@ typin.res diff = --- tests/typin.c -+++ /tmp/cocci-output-33521-cecdd8-typin.c ++++ /tmp/cocci-output-50817-591df9-typin.c @@ -2,7 +2,7 @@ int x; char y; @@ -14905,7 +14941,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-33521-e1ed5d-unbrace.c ++++ /tmp/cocci-output-50817-d11598-unbrace.c @@ -5,8 +5,6 @@ static int mlxsw_sp_flower_parse_actions struct netlink_ext_ack *extack) { @@ -15100,7 +15136,7 @@ undref.res diff = --- tests/undref.c -+++ /tmp/cocci-output-33521-2afb21-undref.c ++++ /tmp/cocci-output-50817-cbfcf7-undref.c @@ -1,3 +1,3 @@ int main () { - bar(); @@ -15117,7 +15153,7 @@ unelse.res diff = --- tests/unelse.c -+++ /tmp/cocci-output-33521-480f73-unelse.c ++++ /tmp/cocci-output-50817-9fc4f5-unelse.c @@ -2,8 +2,6 @@ static short find_control(u16 control_in { if (!*pI) @@ -15132,7 +15168,7 @@ unfree.res diff = --- tests/unfree.c -+++ /tmp/cocci-output-33521-50c13e-unfree.c ++++ /tmp/cocci-output-50817-e243e6-unfree.c @@ -2,8 +2,7 @@ static void mppe_free(void *arg) { struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; @@ -15146,7 +15182,7 @@ unl.res diff = --- tests/unl.c -+++ /tmp/cocci-output-33521-e0dac9-unl.c ++++ /tmp/cocci-output-50817-ab1c75-unl.c @@ -1,10 +1,10 @@ int main () { - if (new_pe == NULL) { @@ -15163,7 +15199,7 @@ unstruct.res diff = --- tests/unstruct.c -+++ /tmp/cocci-output-33521-8ad0c6-unstruct.c ++++ /tmp/cocci-output-50817-b3af30-unstruct.c @@ -1,4 +1,4 @@ -struct foo x __read_mostly = { .a = 12, }; @@ -15174,7 +15210,7 @@ unused.res diff = --- tests/unused.c -+++ /tmp/cocci-output-33521-134b2a-unused.c ++++ /tmp/cocci-output-50817-b8557f-unused.c @@ -2,5 +2,5 @@ static int synth_field_string_size(char { char *start; @@ -15185,7 +15221,7 @@ updassign.res diff = --- tests/updassign.c -+++ /tmp/cocci-output-33521-b8d1ad-updassign.c ++++ /tmp/cocci-output-50817-98db8d-updassign.c @@ -1,3 +1,3 @@ int main () { - int r = 1 + 2; @@ -15194,7 +15230,7 @@ useless_cast.res diff = --- tests/useless_cast.c -+++ /tmp/cocci-output-33521-be952b-useless_cast.c ++++ /tmp/cocci-output-50817-717935-useless_cast.c @@ -8,7 +8,7 @@ struct device { struct device *dev; @@ -15208,7 +15244,7 @@ warning: rule starting on line 2: metavariable i not used in the - or context code diff = --- tests/using1.cpp -+++ /tmp/cocci-output-33521-9e1994-using1.cpp ++++ /tmp/cocci-output-50817-1f02d2-using1.cpp @@ -1,5 +1,4 @@ namespace ns {}; int main() @@ -15222,7 +15258,7 @@ warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using3.cpp -+++ /tmp/cocci-output-33521-ea9998-using3.cpp ++++ /tmp/cocci-output-50817-5e4f79-using3.cpp @@ -1,5 +1,4 @@ int main() { @@ -15234,7 +15270,7 @@ warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using4.cpp -+++ /tmp/cocci-output-33521-8ac301-using4.cpp ++++ /tmp/cocci-output-50817-3a83d9-using4.cpp @@ -1,6 +1,6 @@ // TODO: FIXME: will use 'std::vector::value_type;' once template support is improved int main() @@ -15246,7 +15282,7 @@ usingtest.res diff = --- tests/usingtest.cpp -+++ /tmp/cocci-output-33521-c6e2b1-usingtest.cpp ++++ /tmp/cocci-output-50817-0c14b4-usingtest.cpp @@ -18,4 +18,4 @@ class TestSpMM_OfAnyTypeSquare: public S int x[1]; }; @@ -15256,7 +15292,7 @@ usingtype.res diff = --- tests/usingtype.cpp -+++ /tmp/cocci-output-33521-6fac32-usingtype.cpp ++++ /tmp/cocci-output-50817-32f496-usingtype.cpp @@ -1 +1 @@ -using mytime_t = double ; +using mytime_t = int ; @@ -15267,7 +15303,7 @@ warning: line 13: should ty_id be a metavariable? diff = --- tests/varargs.c -+++ /tmp/cocci-output-33521-659f7f-varargs.c ++++ /tmp/cocci-output-50817-6c2ecf-varargs.c @@ -1,6 +1,7 @@ static void @@ -15281,7 +15317,7 @@ varargs2.res diff = --- tests/varargs2.c -+++ /tmp/cocci-output-33521-3d9bc6-varargs2.c ++++ /tmp/cocci-output-50817-9bbe1e-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { @@ -15290,7 +15326,7 @@ varargs3.res diff = --- tests/varargs3.c -+++ /tmp/cocci-output-33521-20fced-varargs3.c ++++ /tmp/cocci-output-50817-07072b-varargs3.c @@ -1,4 +1,3 @@ -static int foo(char *fmt, ...) { @@ -15309,7 +15345,7 @@ video1bis.res diff = --- tests/video1bis.c -+++ /tmp/cocci-output-33521-5e3726-video1bis.c ++++ /tmp/cocci-output-50817-f49fc4-video1bis.c @@ -3,7 +3,5 @@ void *arg) { if (cmd == VIDIOCGTUNER) { @@ -15321,7 +15357,7 @@ virtual_constructor.res diff = --- tests/virtual_constructor.cpp -+++ /tmp/cocci-output-33521-b284f6-virtual_constructor.cpp ++++ /tmp/cocci-output-50817-1278a8-virtual_constructor.cpp @@ -4,6 +4,5 @@ class A { virtual ~A(){int i;} // destructors can be declared 'virtual' }; @@ -15332,7 +15368,7 @@ void.res diff = --- tests/void.c -+++ /tmp/cocci-output-33521-6591e5-void.c ++++ /tmp/cocci-output-50817-7c0420-void.c @@ -2,4 +2,14 @@ int xbar(void) { return; } // this is some info about bar @@ -15351,7 +15387,7 @@ vpos.res diff = --- tests/vpos.c -+++ /tmp/cocci-output-33521-9dac5c-vpos.c ++++ /tmp/cocci-output-50817-bff0a6-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); @@ -15368,7 +15404,7 @@ SPECIAL NAMES: adding wchar_t as a type diff = --- tests/wchar.c -+++ /tmp/cocci-output-33521-6b0839-wchar.c ++++ /tmp/cocci-output-50817-33c61a-wchar.c @@ -1,13 +1,4 @@ #include #include @@ -15386,7 +15422,7 @@ whitespace.res diff = --- tests/whitespace.c -+++ /tmp/cocci-output-33521-2f7af3-whitespace.c ++++ /tmp/cocci-output-50817-b10f56-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); @@ -15395,7 +15431,7 @@ wierd_argument.res diff = --- tests/wierd_argument.c -+++ /tmp/cocci-output-33521-f448f2-wierd_argument.c ++++ /tmp/cocci-output-50817-f5d147-wierd_argument.c @@ -1,7 +1,7 @@ static void ewx_i2c_setlines(snd_i2c_bus_t *bus, int clk, int data) { @@ -15411,7 +15447,7 @@ wrongcheck.res diff = --- tests/wrongcheck.c -+++ /tmp/cocci-output-33521-d78814-wrongcheck.c ++++ /tmp/cocci-output-50817-a3a1a6-wrongcheck.c @@ -1,5 +1,3 @@ int main () { - err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, @@ -15422,7 +15458,7 @@ warning: rule starting on line 1: metavariable A not used in the + code diff = --- tests/ws2.c -+++ /tmp/cocci-output-33521-cfdb0e-ws2.c ++++ /tmp/cocci-output-50817-af222f-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) @@ -15435,7 +15471,7 @@ SPECIAL NAMES: adding FOO as a declarer diff = --- tests/xfield.c -+++ /tmp/cocci-output-33521-36a148-xfield.c ++++ /tmp/cocci-output-50817-9c7829-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; @@ -15445,7 +15481,7 @@ y2.res diff = --- tests/y2.c -+++ /tmp/cocci-output-33521-794493-y2.c ++++ /tmp/cocci-output-50817-2dcef1-y2.c @@ -1,10 +1,6 @@ static void asuscom_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) @@ -15460,7 +15496,7 @@ zero.res diff = --- tests/zero.c -+++ /tmp/cocci-output-33521-5fc0fd-zero.c ++++ /tmp/cocci-output-50817-182702-zero.c @@ -1,6 +1,2 @@ int main () { - memset(command, 0, sizeof(struct sbp2_command_info)); @@ -15471,7 +15507,7 @@ zeroline.res diff = --- tests/zeroline.c -+++ /tmp/cocci-output-33521-38e9a0-zeroline.c ++++ /tmp/cocci-output-50817-a43545-zeroline.c @@ -1,6 +1,7 @@ int main () { - int x; @@ -16327,7 +16363,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-33521-a70813-noexcept.cpp", line 9, column 88, charpos = 245 +File "/tmp/cocci-output-50817-71453e-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 @@ -16677,7 +16713,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-33521-eca663-template_test.cpp", line 3, column 2, charpos = 23 +File "/tmp/cocci-output-50817-11e85d-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 @@ -16848,7 +16884,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-33521-c6e2b1-usingtest.cpp", line 12, column 104, charpos = 506 +File "/tmp/cocci-output-50817-0c14b4-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 @@ -17763,19 +17799,19 @@ diversion by libc6 to: /lib/ld-linux.so.2.usr-is-merged dh_installdeb dh_ocaml -W: coccinelle doesn't resolve dependency on unit Token_views_c +W: coccinelle doesn't resolve dependency on unit Parsing_stat +W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Lexer_parser W: coccinelle doesn't resolve dependency on unit Token_annot -W: coccinelle doesn't resolve dependency on unit Cpp_token_c -W: coccinelle doesn't resolve dependency on unit Parsing_stat -W: coccinelle doesn't resolve dependency on unit Control_flow_c +W: coccinelle doesn't resolve dependency on unit Token_views_c W: coccinelle doesn't resolve dependency on unit Ograph_extended +W: coccinelle doesn't resolve dependency on unit Control_flow_c dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.2.deb-1_all.deb'. -dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.2.deb-1_i386.deb'. dpkg-deb: building package 'coccinelle' in '../coccinelle_1.2.deb-1_i386.deb'. +dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.2.deb-1_i386.deb'. +dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.2.deb-1_all.deb'. dpkg-genbuildinfo --build=binary -O../coccinelle_1.2.deb-1_i386.buildinfo dpkg-genchanges --build=binary -O../coccinelle_1.2.deb-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -17783,12 +17819,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/41662/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/41662/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/50810 and its subdirectories -I: Current time: Tue Nov 25 16:38:48 -12 2025 -I: pbuilder-time-stamp: 1764131928 +I: removing directory /srv/workspace/pbuilder/41662 and its subdirectories +I: Current time: Thu Oct 24 12:26:46 +14 2024 +I: pbuilder-time-stamp: 1729722406