From: Julia Lawall <Julia.Lawall@inria.fr> To: Corey Minyard <minyard@acm.org> Cc: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>, "Joe Perches" <joe@perches.com>, "Thomas Gleixner" <tglx@linutronix.de>, kernel-janitors@vger.kernel.org, "Arnd Bergmann" <arnd@arndb.de>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 02/18] ipmi:bt-bmc: use semicolons rather than commas to separate statements Date: Sun, 27 Sep 2020 21:12:12 +0200 [thread overview] Message-ID: <1601233948-11629-3-git-send-email-Julia.Lawall@inria.fr> (raw) In-Reply-To: <1601233948-11629-1-git-send-email-Julia.Lawall@inria.fr> Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // <smpl> @@ expression e1,e2; @@ e1 -, +; e2 ... when any // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> --- drivers/char/ipmi/bt-bmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/ipmi/bt-bmc.c b/drivers/char/ipmi/bt-bmc.c index a395e2e70dc5..6e3d247b55d1 100644 --- a/drivers/char/ipmi/bt-bmc.c +++ b/drivers/char/ipmi/bt-bmc.c @@ -462,9 +462,9 @@ static int bt_bmc_probe(struct platform_device *pdev) mutex_init(&bt_bmc->mutex); init_waitqueue_head(&bt_bmc->queue); - bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR, - bt_bmc->miscdev.name = DEVICE_NAME, - bt_bmc->miscdev.fops = &bt_bmc_fops, + bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR; + bt_bmc->miscdev.name = DEVICE_NAME; + bt_bmc->miscdev.fops = &bt_bmc_fops; bt_bmc->miscdev.parent = dev; rc = misc_register(&bt_bmc->miscdev); if (rc) {
WARNING: multiple messages have this Message-ID (diff)
From: Julia Lawall <Julia.Lawall@inria.fr> To: Corey Minyard <minyard@acm.org> Cc: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>, "Joe Perches" <joe@perches.com>, "Thomas Gleixner" <tglx@linutronix.de>, kernel-janitors@vger.kernel.org, "Arnd Bergmann" <arnd@arndb.de>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 02/18] ipmi:bt-bmc: use semicolons rather than commas to separate statements Date: Sun, 27 Sep 2020 19:12:12 +0000 [thread overview] Message-ID: <1601233948-11629-3-git-send-email-Julia.Lawall@inria.fr> (raw) In-Reply-To: <1601233948-11629-1-git-send-email-Julia.Lawall@inria.fr> Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // <smpl> @@ expression e1,e2; @@ e1 -, +; e2 ... when any // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> --- drivers/char/ipmi/bt-bmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/ipmi/bt-bmc.c b/drivers/char/ipmi/bt-bmc.c index a395e2e70dc5..6e3d247b55d1 100644 --- a/drivers/char/ipmi/bt-bmc.c +++ b/drivers/char/ipmi/bt-bmc.c @@ -462,9 +462,9 @@ static int bt_bmc_probe(struct platform_device *pdev) mutex_init(&bt_bmc->mutex); init_waitqueue_head(&bt_bmc->queue); - bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR, - bt_bmc->miscdev.name = DEVICE_NAME, - bt_bmc->miscdev.fops = &bt_bmc_fops, + bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR; + bt_bmc->miscdev.name = DEVICE_NAME; + bt_bmc->miscdev.fops = &bt_bmc_fops; bt_bmc->miscdev.parent = dev; rc = misc_register(&bt_bmc->miscdev); if (rc) {
next prev parent reply other threads:[~2020-09-27 19:55 UTC|newest] Thread overview: 195+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-27 19:12 [PATCH 00/18] use semicolons rather than commas to separate statements Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` [PATCH 01/18] clk: uniphier: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-14 0:44 ` Stephen Boyd 2020-10-14 0:44 ` Stephen Boyd 2020-10-14 0:44 ` Stephen Boyd 2020-09-27 19:12 ` Julia Lawall [this message] 2020-09-27 19:12 ` [PATCH 02/18] ipmi:bt-bmc: " Julia Lawall 2020-09-27 19:12 ` [PATCH 03/18] [ARM] pata_icside: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-28 16:47 ` Joe Perches 2020-09-28 16:47 ` Joe Perches 2020-09-28 17:11 ` Julia Lawall 2020-09-28 17:11 ` Julia Lawall 2020-09-28 17:57 ` Joe Perches 2020-09-28 17:57 ` Joe Perches 2020-09-27 19:12 ` [PATCH 04/18] hwrng: stm32 - " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-02 11:55 ` Herbert Xu 2020-10-02 11:55 ` Herbert Xu 2020-10-02 11:55 ` Herbert Xu 2020-09-27 19:12 ` [PATCH 05/18] bcma: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-01 13:24 ` Kalle Valo 2020-10-01 13:24 ` Kalle Valo 2020-09-27 19:12 ` [PATCH 06/18] hwrng: iproc-rng200 - " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-28 1:42 ` Florian Fainelli 2020-09-28 1:42 ` Florian Fainelli 2020-09-28 1:42 ` Florian Fainelli 2020-10-02 11:55 ` Herbert Xu 2020-10-02 11:55 ` Herbert Xu 2020-10-02 11:55 ` Herbert Xu 2020-09-27 19:12 ` [PATCH 07/18] hwrng: mxc-rnga " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-02 11:55 ` Herbert Xu 2020-10-02 11:55 ` Herbert Xu 2020-09-27 19:12 ` [PATCH 08/18] agp: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` [PATCH 09/18] clk: mvebu: ap80x-cpu: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-14 0:44 ` Stephen Boyd 2020-10-14 0:44 ` Stephen Boyd 2020-09-27 19:12 ` [PATCH 10/18] clk: meson: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-28 9:47 ` Jerome Brunet 2020-09-28 9:47 ` Jerome Brunet 2020-09-28 9:47 ` Jerome Brunet 2020-09-28 9:47 ` Jerome Brunet 2020-10-08 1:54 ` Stephen Boyd 2020-10-08 1:54 ` Stephen Boyd 2020-10-08 1:54 ` Stephen Boyd 2020-10-08 1:54 ` Stephen Boyd 2020-10-14 0:44 ` Stephen Boyd 2020-10-14 0:44 ` Stephen Boyd 2020-10-14 0:44 ` Stephen Boyd 2020-10-14 0:44 ` Stephen Boyd 2020-09-27 19:12 ` [PATCH 11/18] clocksource/drivers/mps2-timer: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` [PATCH 11/18] clocksource/drivers/mps2-timer: use semicolons rather than commas to separate statemen Julia Lawall 2020-10-01 8:13 ` [tip: timers/core] clocksource/drivers/mps2-timer: Use semicolons rather than commas to separate statements tip-bot2 for Julia Lawall 2020-09-27 19:12 ` [PATCH 12/18] ACPI: use " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 20:27 ` Christophe JAILLET 2020-09-27 20:27 ` Christophe JAILLET 2020-09-27 19:12 ` [PATCH 13/18] crypto: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-02 11:56 ` Herbert Xu 2020-10-02 11:56 ` Herbert Xu 2020-09-27 19:12 ` [PATCH 14/18] regmap: debugfs: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` [PATCH 15/18] counter: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-28 15:37 ` David Lechner 2020-09-28 15:37 ` David Lechner 2020-09-29 15:27 ` Jonathan Cameron 2020-09-29 15:27 ` Jonathan Cameron 2020-09-27 19:12 ` [PATCH 16/18] clocksource/drivers: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-02 14:29 ` [tip: timers/core] clocksource/drivers/armada-370-xp: Use " tip-bot2 for Julia Lawall 2020-09-27 19:12 ` [PATCH 17/18] crypto: atmel-tdes - use " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-10-02 11:56 ` Herbert Xu 2020-10-02 11:56 ` Herbert Xu 2020-10-02 11:56 ` Herbert Xu 2020-09-27 19:12 ` [PATCH 18/18] drbd: " Julia Lawall 2020-09-27 19:12 ` Julia Lawall 2020-09-27 20:08 ` [PATCH 00/18] " Joe Perches 2020-09-27 20:08 ` Joe Perches 2020-09-27 20:08 ` Joe Perches 2020-09-27 20:08 ` Joe Perches 2020-09-28 19:35 ` Mark Brown 2020-09-28 19:35 ` Mark Brown 2020-09-29 0:45 ` Joe Perches 2020-09-29 0:45 ` Joe Perches 2020-09-29 0:45 ` Joe Perches 2020-09-29 0:45 ` Joe Perches 2020-09-29 11:37 ` Mark Brown 2020-09-29 11:37 ` Mark Brown 2020-09-29 11:37 ` Mark Brown 2020-09-29 11:37 ` Mark Brown 2020-09-29 11:46 ` Julia Lawall 2020-09-29 11:46 ` Julia Lawall 2020-09-29 11:46 ` Julia Lawall 2020-09-29 11:46 ` Julia Lawall 2020-09-29 12:37 ` Mark Brown 2020-09-29 12:37 ` Mark Brown 2020-09-29 12:37 ` Mark Brown 2020-09-29 12:37 ` Mark Brown 2020-09-29 12:44 ` Julia Lawall 2020-09-29 12:44 ` Julia Lawall 2020-09-29 12:44 ` Julia Lawall 2020-09-29 12:44 ` Julia Lawall 2020-09-30 19:33 ` Joe Perches 2020-09-30 19:33 ` Joe Perches 2020-09-30 19:33 ` Joe Perches 2020-09-30 19:33 ` Joe Perches 2020-10-01 11:01 ` Mark Brown 2020-10-01 11:01 ` Mark Brown 2020-10-01 11:01 ` Mark Brown 2020-10-01 11:01 ` Mark Brown 2020-10-03 18:40 ` Joe Perches 2020-10-03 18:40 ` Joe Perches 2020-10-03 18:40 ` Joe Perches 2020-10-03 18:40 ` Joe Perches 2020-10-03 19:15 ` Konstantin Ryabitsev 2020-10-03 19:15 ` Konstantin Ryabitsev 2020-10-03 19:15 ` Konstantin Ryabitsev 2020-10-03 19:15 ` Konstantin Ryabitsev 2020-10-03 19:18 ` Julia Lawall 2020-10-03 19:18 ` Julia Lawall 2020-10-03 19:18 ` Julia Lawall 2020-10-03 19:18 ` Julia Lawall 2020-10-03 19:31 ` Konstantin Ryabitsev 2020-10-03 19:31 ` Konstantin Ryabitsev 2020-10-03 19:31 ` Konstantin Ryabitsev 2020-10-03 19:31 ` Konstantin Ryabitsev 2020-10-03 19:43 ` Joe Perches 2020-10-03 19:43 ` Joe Perches 2020-10-03 19:43 ` Joe Perches 2020-10-03 19:43 ` Joe Perches 2020-10-05 16:52 ` Mark Brown 2020-10-05 16:52 ` Mark Brown 2020-10-05 16:52 ` Mark Brown 2020-10-05 16:52 ` Mark Brown 2020-10-05 16:52 ` Mark Brown 2020-10-03 19:27 ` Joe Perches 2020-10-03 19:27 ` Joe Perches 2020-10-03 19:27 ` Joe Perches 2020-10-03 19:27 ` Joe Perches 2020-10-03 19:36 ` Joe Perches 2020-10-03 19:36 ` Joe Perches 2020-10-03 19:36 ` Joe Perches 2020-10-03 19:36 ` Joe Perches 2020-09-29 12:20 ` Ard Biesheuvel 2020-09-29 12:20 ` Ard Biesheuvel 2020-09-29 12:20 ` Ard Biesheuvel 2020-09-29 12:20 ` Ard Biesheuvel 2020-09-29 12:36 ` Julia Lawall 2020-09-29 12:36 ` Julia Lawall 2020-09-29 12:36 ` Julia Lawall 2020-09-29 12:36 ` Julia Lawall 2020-09-29 12:41 ` Dan Carpenter 2020-09-29 12:41 ` Dan Carpenter 2020-09-29 12:41 ` Dan Carpenter 2020-09-29 12:41 ` Dan Carpenter 2020-09-29 12:47 ` Julia Lawall 2020-09-29 12:47 ` Julia Lawall 2020-09-29 12:47 ` Julia Lawall 2020-09-29 12:47 ` Julia Lawall 2020-09-29 13:34 ` Joe Perches 2020-09-29 13:34 ` Joe Perches 2020-09-29 13:34 ` Joe Perches 2020-09-29 13:34 ` Joe Perches 2020-09-29 13:42 ` Julia Lawall 2020-09-29 13:42 ` Julia Lawall 2020-09-29 13:42 ` Julia Lawall 2020-09-29 13:42 ` Julia Lawall 2020-09-29 13:42 ` Shuah Khan 2020-09-29 13:42 ` Shuah Khan 2020-09-29 13:42 ` Shuah Khan 2020-09-29 13:42 ` Shuah Khan 2020-10-02 16:47 ` Shuah Khan 2020-10-02 16:47 ` Shuah Khan 2020-10-02 16:47 ` Shuah Khan 2020-10-02 16:47 ` Shuah Khan
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1601233948-11629-3-git-send-email-Julia.Lawall@inria.fr \ --to=julia.lawall@inria.fr \ --cc=arnd@arndb.de \ --cc=gregkh@linuxfoundation.org \ --cc=joe@perches.com \ --cc=kernel-janitors@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=minyard@acm.org \ --cc=openipmi-developer@lists.sourceforge.net \ --cc=tglx@linutronix.de \ --cc=valdis.kletnieks@vt.edu \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.