diff for duplicates of <1471999507-913-3-git-send-email-mcgrof@kernel.org> diff --git a/a/1.txt b/N1/1.txt index e60e246..5656293 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -36,8 +36,8 @@ request_firmware*() API on the initial probe or init routine. There are 4 offenders at this time: -mcgrof at ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci -mcgrof at ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report +mcgrof@ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci +mcgrof@ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report drivers/fmc/fmc-fakedev.c: ERROR: driver call request firmware call on its init routine on line 321. drivers/fmc/fmc-write-eeprom.c: ERROR: driver call request firmware call on its probe routine on line 136. @@ -55,7 +55,7 @@ o This now supports iteration, this extends our coverage on the report o Update documentation and commit log to accept the fate of not being able to remove the usermode helper. -[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof at do-not-panic.com +[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof@do-not-panic.com Cc: Alessandro Rubini <rubini@gnudd.com> Cc: Kevin Cernekee <cernekee@gmail.com> @@ -71,15 +71,15 @@ Cc: Gilles Muller <Gilles.Muller@lip6.fr> Cc: Nicolas Palix <nicolas.palix@imag.fr> Cc: Thierry Martinez <martinez@nsup.org> Cc: Michal Marek <mmarek@suse.com> -Cc: cocci at systeme.lip6.fr +Cc: cocci@systeme.lip6.fr Cc: Alessandro Rubini <rubini@gnudd.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> -Cc: linux-serial at vger.kernel.org -Cc: linux-doc at vger.kernel.org -Cc: linux-serial at vger.kernel.org -Cc: linuxppc-dev at lists.ozlabs.org +Cc: linux-serial@vger.kernel.org +Cc: linux-doc@vger.kernel.org +Cc: linux-serial@vger.kernel.org +Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> --- Documentation/firmware_class/README | 20 ++++ @@ -158,7 +158,7 @@ index 000000000000..cf180c59e042 + +// ------------------------------------------------------------------------- + -+ at initialize:python@ ++@initialize:python@ +@@ + +seen = set() @@ -199,19 +199,19 @@ index 000000000000..cf180c59e042 + .probe_op = drv_probe, +}; + -+ at hascall depends on !after_start && defines_module_init@ ++@hascall depends on !after_start && defines_module_init@ +position p; +@@ + +( -+request_firmware at p(...) ++request_firmware@p(...) +| -+request_firmware_nowait at p(...) ++request_firmware_nowait@p(...) +| -+request_firmware_direct at p(...) ++request_firmware_direct@p(...) +) + -+ at script:python@ ++@script:python@ +init << defines_module_init.init; +p << hascall.p; +@@ @@ -220,7 +220,7 @@ index 000000000000..cf180c59e042 + print_err("init", p[0].file, int(p[0].line)) + cocci.include_match(False) + -+ at script:python@ ++@script:python@ +drv_probe << has_probe.drv_probe; +p << hascall.p; +@@ @@ -229,20 +229,20 @@ index 000000000000..cf180c59e042 + print_err("probe", p[0].file, int(p[0].line)) + cocci.include_match(False) + -+ at script:python@ ++@script:python@ +p << hascall.p; +@@ + +add_if_not_present(p[0].current_element, p[0].file, p[0].line) + -+ at hasrecall depends on after_start@ ++@hasrecall depends on after_start@ +position p; +identifier virtual.fn; +@@ + -+fn at p(...) ++fn@p(...) + -+ at script:python@ ++@script:python@ +init << defines_module_init.init; +p << hasrecall.p; +starter << virtual.starter; @@ -252,7 +252,7 @@ index 000000000000..cf180c59e042 + print_err("init", p[0].file, int(starter)) + cocci.include_match(False) + -+ at script:python@ ++@script:python@ +drv_probe << has_probe.drv_probe; +p << hasrecall.p; +starter << virtual.starter; diff --git a/a/content_digest b/N1/content_digest index b4317b0..02101e4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,45 @@ "ref\01466117661-22075-1-git-send-email-mcgrof@kernel.org\0" "ref\01471999507-913-1-git-send-email-mcgrof@kernel.org\0" - "From\0mcgrof@kernel.org (mcgrof at kernel.org)\0" - "Subject\0[Cocci] [PATCH v3 2/5] firmware: annotate thou shalt not request fw on init or probe\0" + "From\0mcgrof@kernel.org\0" + "Subject\0[PATCH v3 2/5] firmware: annotate thou shalt not request fw on init or probe\0" "Date\0Tue, 23 Aug 2016 17:45:04 -0700\0" - "To\0cocci@systeme.lip6.fr\0" + "To\0ming.lei@canonical.com" + akpm@linux-foundation.org + " gregkh@linuxfoundation.org\0" + "Cc\0dmitry.torokhov@gmail.com" + linux-doc@vger.kernel.org + Gilles.Muller@lip6.fr + tiwai@suse.de + Daniel Vetter <daniel.vetter@ffwll.ch> + Alessandro Rubini <rubini@gnudd.com> + stephen.boyd@linaro.org + bjorn.andersson@linaro.org + teg@jklm.no + chunkeey@googlemail.com + cocci@systeme.lip6.fr + jwboyer@fedoraproject.org + Jonathan Corbet <corbet@lwn.net> + Kevin Cernekee <cernekee@gmail.com> + Thierry Martinez <martinez@nsup.org> + linux-serial@vger.kernel.org + jslaby@suse.com + zohar@linux.vnet.ibm.com + arend.vanspriel@broadcom.com + linuxppc-dev@lists.ozlabs.org + Kees Cook <keescook@chromium.org> + hauke@hauke-m.de + nicolas.palix@imag.fr + Abhay_Salunke@dell.com + Julia.Lawall@lip6.fr + broonie@kernel.org + j.anaszewski@samsung.com + kvalo@codeaurora.org + dhowells@redhat.com + dwmw2@infradead.org + markivx@codeaurora.org + daniel.wagner@bmw-carit.de + linux-kernel@vger.kernel.org + " luto@amacapital\0" "\00:1\0" "b\0" "From: \"Luis R. Rodriguez\" <mcgrof@kernel.org>\n" @@ -44,8 +80,8 @@ "\n" "There are 4 offenders at this time:\n" "\n" - "mcgrof at ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci\n" - "mcgrof at ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report\n" + "mcgrof@ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci\n" + "mcgrof@ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report\n" "\n" "drivers/fmc/fmc-fakedev.c: ERROR: driver call request firmware call on its init routine on line 321.\n" "drivers/fmc/fmc-write-eeprom.c: ERROR: driver call request firmware call on its probe routine on line 136.\n" @@ -63,7 +99,7 @@ "o Update documentation and commit log to accept the fate of not being\n" " able to remove the usermode helper.\n" "\n" - "[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof at do-not-panic.com\n" + "[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof@do-not-panic.com\n" "\n" "Cc: Alessandro Rubini <rubini@gnudd.com>\n" "Cc: Kevin Cernekee <cernekee@gmail.com>\n" @@ -79,15 +115,15 @@ "Cc: Nicolas Palix <nicolas.palix@imag.fr>\n" "Cc: Thierry Martinez <martinez@nsup.org>\n" "Cc: Michal Marek <mmarek@suse.com>\n" - "Cc: cocci at systeme.lip6.fr\n" + "Cc: cocci@systeme.lip6.fr\n" "Cc: Alessandro Rubini <rubini@gnudd.com>\n" "Cc: Kevin Cernekee <cernekee@gmail.com>\n" "Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n" "Cc: Jiri Slaby <jslaby@suse.com>\n" - "Cc: linux-serial at vger.kernel.org\n" - "Cc: linux-doc at vger.kernel.org\n" - "Cc: linux-serial at vger.kernel.org\n" - "Cc: linuxppc-dev at lists.ozlabs.org\n" + "Cc: linux-serial@vger.kernel.org\n" + "Cc: linux-doc@vger.kernel.org\n" + "Cc: linux-serial@vger.kernel.org\n" + "Cc: linuxppc-dev@lists.ozlabs.org\n" "Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>\n" "---\n" " Documentation/firmware_class/README | 20 ++++\n" @@ -166,7 +202,7 @@ "+\n" "+// -------------------------------------------------------------------------\n" "+\n" - "+ at initialize:python@\n" + "+@initialize:python@\n" "+@@\n" "+\n" "+seen = set()\n" @@ -207,19 +243,19 @@ "+\t.probe_op = drv_probe,\n" "+};\n" "+\n" - "+ at hascall depends on !after_start && defines_module_init@\n" + "+@hascall depends on !after_start && defines_module_init@\n" "+position p;\n" "+@@\n" "+\n" "+(\n" - "+request_firmware at p(...)\n" + "+request_firmware@p(...)\n" "+|\n" - "+request_firmware_nowait at p(...)\n" + "+request_firmware_nowait@p(...)\n" "+|\n" - "+request_firmware_direct at p(...)\n" + "+request_firmware_direct@p(...)\n" "+)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+init << defines_module_init.init;\n" "+p << hascall.p;\n" "+@@\n" @@ -228,7 +264,7 @@ "+ print_err(\"init\", p[0].file, int(p[0].line))\n" "+ cocci.include_match(False)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+drv_probe << has_probe.drv_probe;\n" "+p << hascall.p;\n" "+@@\n" @@ -237,20 +273,20 @@ "+ print_err(\"probe\", p[0].file, int(p[0].line))\n" "+ cocci.include_match(False)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+p << hascall.p;\n" "+@@\n" "+\n" "+add_if_not_present(p[0].current_element, p[0].file, p[0].line)\n" "+\n" - "+ at hasrecall depends on after_start@\n" + "+@hasrecall depends on after_start@\n" "+position p;\n" "+identifier virtual.fn;\n" "+@@\n" "+\n" - "+fn at p(...)\n" + "+fn@p(...)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+init << defines_module_init.init;\n" "+p << hasrecall.p;\n" "+starter << virtual.starter;\n" @@ -260,7 +296,7 @@ "+ print_err(\"init\", p[0].file, int(starter))\n" "+ cocci.include_match(False)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+drv_probe << has_probe.drv_probe;\n" "+p << hasrecall.p;\n" "+starter << virtual.starter;\n" @@ -279,4 +315,4 @@ "-- \n" 2.9.2 -d34f0a73e697fcb58dee6e02a7d0aee97c97bf781a3b3bfd6257def5c9e42d76 +eecf7c0b08563ff4cc280c6ae2a0810c28a3924988279bc9fd81b5e6ceb3c375
diff --git a/a/1.txt b/N2/1.txt index e60e246..5656293 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -36,8 +36,8 @@ request_firmware*() API on the initial probe or init routine. There are 4 offenders at this time: -mcgrof at ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci -mcgrof at ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report +mcgrof@ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci +mcgrof@ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report drivers/fmc/fmc-fakedev.c: ERROR: driver call request firmware call on its init routine on line 321. drivers/fmc/fmc-write-eeprom.c: ERROR: driver call request firmware call on its probe routine on line 136. @@ -55,7 +55,7 @@ o This now supports iteration, this extends our coverage on the report o Update documentation and commit log to accept the fate of not being able to remove the usermode helper. -[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof at do-not-panic.com +[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof@do-not-panic.com Cc: Alessandro Rubini <rubini@gnudd.com> Cc: Kevin Cernekee <cernekee@gmail.com> @@ -71,15 +71,15 @@ Cc: Gilles Muller <Gilles.Muller@lip6.fr> Cc: Nicolas Palix <nicolas.palix@imag.fr> Cc: Thierry Martinez <martinez@nsup.org> Cc: Michal Marek <mmarek@suse.com> -Cc: cocci at systeme.lip6.fr +Cc: cocci@systeme.lip6.fr Cc: Alessandro Rubini <rubini@gnudd.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> -Cc: linux-serial at vger.kernel.org -Cc: linux-doc at vger.kernel.org -Cc: linux-serial at vger.kernel.org -Cc: linuxppc-dev at lists.ozlabs.org +Cc: linux-serial@vger.kernel.org +Cc: linux-doc@vger.kernel.org +Cc: linux-serial@vger.kernel.org +Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> --- Documentation/firmware_class/README | 20 ++++ @@ -158,7 +158,7 @@ index 000000000000..cf180c59e042 + +// ------------------------------------------------------------------------- + -+ at initialize:python@ ++@initialize:python@ +@@ + +seen = set() @@ -199,19 +199,19 @@ index 000000000000..cf180c59e042 + .probe_op = drv_probe, +}; + -+ at hascall depends on !after_start && defines_module_init@ ++@hascall depends on !after_start && defines_module_init@ +position p; +@@ + +( -+request_firmware at p(...) ++request_firmware@p(...) +| -+request_firmware_nowait at p(...) ++request_firmware_nowait@p(...) +| -+request_firmware_direct at p(...) ++request_firmware_direct@p(...) +) + -+ at script:python@ ++@script:python@ +init << defines_module_init.init; +p << hascall.p; +@@ @@ -220,7 +220,7 @@ index 000000000000..cf180c59e042 + print_err("init", p[0].file, int(p[0].line)) + cocci.include_match(False) + -+ at script:python@ ++@script:python@ +drv_probe << has_probe.drv_probe; +p << hascall.p; +@@ @@ -229,20 +229,20 @@ index 000000000000..cf180c59e042 + print_err("probe", p[0].file, int(p[0].line)) + cocci.include_match(False) + -+ at script:python@ ++@script:python@ +p << hascall.p; +@@ + +add_if_not_present(p[0].current_element, p[0].file, p[0].line) + -+ at hasrecall depends on after_start@ ++@hasrecall depends on after_start@ +position p; +identifier virtual.fn; +@@ + -+fn at p(...) ++fn@p(...) + -+ at script:python@ ++@script:python@ +init << defines_module_init.init; +p << hasrecall.p; +starter << virtual.starter; @@ -252,7 +252,7 @@ index 000000000000..cf180c59e042 + print_err("init", p[0].file, int(starter)) + cocci.include_match(False) + -+ at script:python@ ++@script:python@ +drv_probe << has_probe.drv_probe; +p << hasrecall.p; +starter << virtual.starter; diff --git a/a/content_digest b/N2/content_digest index b4317b0..35e8f01 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,9 +1,51 @@ "ref\01466117661-22075-1-git-send-email-mcgrof@kernel.org\0" "ref\01471999507-913-1-git-send-email-mcgrof@kernel.org\0" - "From\0mcgrof@kernel.org (mcgrof at kernel.org)\0" - "Subject\0[Cocci] [PATCH v3 2/5] firmware: annotate thou shalt not request fw on init or probe\0" + "From\0mcgrof@kernel.org\0" + "Subject\0[PATCH v3 2/5] firmware: annotate thou shalt not request fw on init or probe\0" "Date\0Tue, 23 Aug 2016 17:45:04 -0700\0" - "To\0cocci@systeme.lip6.fr\0" + "To\0ming.lei@canonical.com" + akpm@linux-foundation.org + " gregkh@linuxfoundation.org\0" + "Cc\0daniel.wagner@bmw-carit.de" + mmarek@suse.com + linux-kernel@vger.kernel.org + markivx@codeaurora.org + stephen.boyd@linaro.org + zohar@linux.vnet.ibm.com + broonie@kernel.org + tiwai@suse.de + johannes@sipsolutions.net + chunkeey@googlemail.com + hauke@hauke-m.de + jwboyer@fedoraproject.org + dmitry.torokhov@gmail.com + dwmw2@infradead.org + jslaby@suse.com + torvalds@linux-foundation.org + luto@amacapital.net + fengguang.wu@intel.com + rpurdie@rpsys.net + j.anaszewski@samsung.com + Abhay_Salunke@dell.com + Julia.Lawall@lip6.fr + Gilles.Muller@lip6.fr + nicolas.palix@imag.fr + teg@jklm.no + dhowells@redhat.com + bjorn.andersson@linaro.org + arend.vanspriel@broadcom.com + kvalo@codeaurora.org + Luis R. Rodriguez <mcgrof@kernel.org> + Alessandro Rubini <rubini@gnudd.com> + Kevin Cernekee <cernekee@gmail.com> + Daniel Vetter <daniel.vetter@ffwll.ch> + Kees Cook <keescook@chromium.org> + Jonathan Corbet <corbet@lwn.net> + Thierry Martinez <martinez@nsup.org> + cocci@systeme.lip6.fr + linux-serial@vger.kernel.org + linux-doc@vger.kernel.org + " linuxppc-dev@lists.ozlabs.org\0" "\00:1\0" "b\0" "From: \"Luis R. Rodriguez\" <mcgrof@kernel.org>\n" @@ -44,8 +86,8 @@ "\n" "There are 4 offenders at this time:\n" "\n" - "mcgrof at ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci\n" - "mcgrof at ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report\n" + "mcgrof@ergon ~/linux-next (git::20160609)$ export COCCI=scripts/coccinelle/api/request_firmware.cocci\n" + "mcgrof@ergon ~/linux-next (git::20160609)$ make coccicheck MODE=report\n" "\n" "drivers/fmc/fmc-fakedev.c: ERROR: driver call request firmware call on its init routine on line 321.\n" "drivers/fmc/fmc-write-eeprom.c: ERROR: driver call request firmware call on its probe routine on line 136.\n" @@ -63,7 +105,7 @@ "o Update documentation and commit log to accept the fate of not being\n" " able to remove the usermode helper.\n" "\n" - "[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof at do-not-panic.com\n" + "[0] https://lkml.kernel.org/r/1440811107-861-1-git-send-email-mcgrof@do-not-panic.com\n" "\n" "Cc: Alessandro Rubini <rubini@gnudd.com>\n" "Cc: Kevin Cernekee <cernekee@gmail.com>\n" @@ -79,15 +121,15 @@ "Cc: Nicolas Palix <nicolas.palix@imag.fr>\n" "Cc: Thierry Martinez <martinez@nsup.org>\n" "Cc: Michal Marek <mmarek@suse.com>\n" - "Cc: cocci at systeme.lip6.fr\n" + "Cc: cocci@systeme.lip6.fr\n" "Cc: Alessandro Rubini <rubini@gnudd.com>\n" "Cc: Kevin Cernekee <cernekee@gmail.com>\n" "Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n" "Cc: Jiri Slaby <jslaby@suse.com>\n" - "Cc: linux-serial at vger.kernel.org\n" - "Cc: linux-doc at vger.kernel.org\n" - "Cc: linux-serial at vger.kernel.org\n" - "Cc: linuxppc-dev at lists.ozlabs.org\n" + "Cc: linux-serial@vger.kernel.org\n" + "Cc: linux-doc@vger.kernel.org\n" + "Cc: linux-serial@vger.kernel.org\n" + "Cc: linuxppc-dev@lists.ozlabs.org\n" "Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>\n" "---\n" " Documentation/firmware_class/README | 20 ++++\n" @@ -166,7 +208,7 @@ "+\n" "+// -------------------------------------------------------------------------\n" "+\n" - "+ at initialize:python@\n" + "+@initialize:python@\n" "+@@\n" "+\n" "+seen = set()\n" @@ -207,19 +249,19 @@ "+\t.probe_op = drv_probe,\n" "+};\n" "+\n" - "+ at hascall depends on !after_start && defines_module_init@\n" + "+@hascall depends on !after_start && defines_module_init@\n" "+position p;\n" "+@@\n" "+\n" "+(\n" - "+request_firmware at p(...)\n" + "+request_firmware@p(...)\n" "+|\n" - "+request_firmware_nowait at p(...)\n" + "+request_firmware_nowait@p(...)\n" "+|\n" - "+request_firmware_direct at p(...)\n" + "+request_firmware_direct@p(...)\n" "+)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+init << defines_module_init.init;\n" "+p << hascall.p;\n" "+@@\n" @@ -228,7 +270,7 @@ "+ print_err(\"init\", p[0].file, int(p[0].line))\n" "+ cocci.include_match(False)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+drv_probe << has_probe.drv_probe;\n" "+p << hascall.p;\n" "+@@\n" @@ -237,20 +279,20 @@ "+ print_err(\"probe\", p[0].file, int(p[0].line))\n" "+ cocci.include_match(False)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+p << hascall.p;\n" "+@@\n" "+\n" "+add_if_not_present(p[0].current_element, p[0].file, p[0].line)\n" "+\n" - "+ at hasrecall depends on after_start@\n" + "+@hasrecall depends on after_start@\n" "+position p;\n" "+identifier virtual.fn;\n" "+@@\n" "+\n" - "+fn at p(...)\n" + "+fn@p(...)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+init << defines_module_init.init;\n" "+p << hasrecall.p;\n" "+starter << virtual.starter;\n" @@ -260,7 +302,7 @@ "+ print_err(\"init\", p[0].file, int(starter))\n" "+ cocci.include_match(False)\n" "+\n" - "+ at script:python@\n" + "+@script:python@\n" "+drv_probe << has_probe.drv_probe;\n" "+p << hasrecall.p;\n" "+starter << virtual.starter;\n" @@ -279,4 +321,4 @@ "-- \n" 2.9.2 -d34f0a73e697fcb58dee6e02a7d0aee97c97bf781a3b3bfd6257def5c9e42d76 +97e57c44388cbc69be76a0c1199f6f6a4f667b8433486e1c8696068fd497e19c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.