From: Joe Perches <joe@perches.com> To: Jiri Kosina <trivial@kernel.org>, linux-kernel@vger.kernel.org Cc: Tony Luck <tony.luck@intel.com>, Fenghua Yu <fenghua.yu@intel.com>, linux-ia64@vger.kernel.org Subject: Re: [PATCH 03/29] ia64: Avoid comma separated statements Date: Sat, 30 Jan 2021 10:55:24 -0800 [thread overview] Message-ID: <bfac54e37f602bcdac73f6aee4e9fcd4fd651795.camel@perches.com> (raw) In-Reply-To: <be37cf8fdcad19678cd164946252bc67713ddcdf.1598331148.git.joe@perches.com> On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches <joe@perches.com> > --- > arch/ia64/kernel/smpboot.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c > index c29c600d7967..3311b9d21319 100644 > --- a/arch/ia64/kernel/smpboot.c > +++ b/arch/ia64/kernel/smpboot.c > @@ -224,8 +224,11 @@ get_delta (long *rt, long *master) > go[SLAVE] = 0; > t1 = ia64_get_itc(); > > > - if (t1 - t0 < best_t1 - best_t0) > - best_t0 = t0, best_t1 = t1, best_tm = tm; > + if (t1 - t0 < best_t1 - best_t0) { > + best_t0 = t0; > + best_t1 = t1; > + best_tm = tm; > + } > } > > > *rt = best_t1 - best_t0;
WARNING: multiple messages have this Message-ID (diff)
From: Joe Perches <joe@perches.com> To: Jiri Kosina <trivial@kernel.org>, linux-kernel@vger.kernel.org Cc: Tony Luck <tony.luck@intel.com>, Fenghua Yu <fenghua.yu@intel.com>, linux-ia64@vger.kernel.org Subject: Re: [PATCH 03/29] ia64: Avoid comma separated statements Date: Sat, 30 Jan 2021 18:55:24 +0000 [thread overview] Message-ID: <bfac54e37f602bcdac73f6aee4e9fcd4fd651795.camel@perches.com> (raw) In-Reply-To: <be37cf8fdcad19678cd164946252bc67713ddcdf.1598331148.git.joe@perches.com> On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches <joe@perches.com> > --- > arch/ia64/kernel/smpboot.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c > index c29c600d7967..3311b9d21319 100644 > --- a/arch/ia64/kernel/smpboot.c > +++ b/arch/ia64/kernel/smpboot.c > @@ -224,8 +224,11 @@ get_delta (long *rt, long *master) > go[SLAVE] = 0; > t1 = ia64_get_itc(); > > > - if (t1 - t0 < best_t1 - best_t0) > - best_t0 = t0, best_t1 = t1, best_tm = tm; > + if (t1 - t0 < best_t1 - best_t0) { > + best_t0 = t0; > + best_t1 = t1; > + best_tm = tm; > + } > } > > > *rt = best_t1 - best_t0;
next prev parent reply other threads:[~2021-01-30 18:56 UTC|newest] Thread overview: 135+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-25 4:55 [PATCH 00/29] treewide: Convert comma separated statements Joe Perches 2020-08-25 4:55 ` Joe Perches 2020-08-25 4:55 ` [Intel-gfx] " Joe Perches 2020-08-25 4:55 ` Joe Perches 2020-08-25 4:55 ` Joe Perches 2020-08-25 4:55 ` Joe Perches 2020-08-25 4:55 ` Joe Perches 2020-08-25 4:55 ` Joe Perches 2020-08-25 4:55 ` Joe Perches 2020-08-25 4:55 ` [PATCH 01/29] coding-style.rst: Avoid comma statements Joe Perches 2021-01-30 18:53 ` Joe Perches 2021-02-04 21:41 ` Jonathan Corbet 2020-08-25 4:55 ` [PATCH 02/29] alpha: Avoid comma separated statements Joe Perches 2020-08-25 6:37 ` Robert Richter 2021-01-30 18:54 ` Joe Perches 2021-02-16 14:39 ` Robert Richter 2021-02-16 14:39 ` Robert Richter 2021-02-16 15:10 ` Joe Perches 2021-02-16 15:10 ` Joe Perches 2020-08-25 4:56 ` [PATCH 03/29] ia64: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2021-01-30 18:55 ` Joe Perches [this message] 2021-01-30 18:55 ` Joe Perches 2020-08-25 4:56 ` [PATCH 04/29] sparc: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2021-01-30 18:56 ` Joe Perches 2021-01-30 18:56 ` Joe Perches 2020-08-25 4:56 ` [PATCH 05/29] ata: " Joe Perches 2021-01-30 18:56 ` Joe Perches 2021-01-31 15:06 ` Jens Axboe 2020-08-25 4:56 ` [PATCH 06/29] drbd: " Joe Perches 2021-01-30 18:57 ` Joe Perches 2021-01-31 15:06 ` Jens Axboe 2020-08-25 4:56 ` [PATCH 07/29] lp: " Joe Perches 2020-08-25 4:56 ` [PATCH 08/29] dma-buf: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2020-08-26 15:08 ` Christian König 2020-08-26 15:08 ` Christian König 2020-09-03 12:21 ` Sumit Semwal 2020-09-03 12:21 ` Sumit Semwal 2020-09-04 11:42 ` Kieran Bingham 2020-09-04 11:42 ` Kieran Bingham 2020-09-04 21:33 ` Joe Perches 2020-09-04 21:33 ` Joe Perches 2021-01-30 18:47 ` Joe Perches 2021-01-30 18:47 ` Joe Perches 2021-02-03 13:26 ` Christian König 2021-02-03 13:26 ` Christian König 2021-01-31 17:39 ` Joe Perches 2021-01-31 17:39 ` Joe Perches 2021-01-31 17:53 ` Christian König 2021-01-31 17:53 ` Christian König 2021-02-01 21:54 ` Lyude Paul 2021-02-01 21:54 ` Lyude Paul 2021-02-02 8:33 ` [Linaro-mm-sig] " Christian König 2021-02-02 8:33 ` Christian König 2021-02-02 18:24 ` Lyude Paul 2021-02-02 18:24 ` Lyude Paul 2020-08-25 4:56 ` [PATCH 09/29] drm/gma500: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2021-01-30 18:47 ` Joe Perches 2021-01-30 18:47 ` Joe Perches 2021-01-30 21:21 ` Patrik Jakobsson 2021-01-30 21:21 ` Patrik Jakobsson 2020-08-25 4:56 ` [PATCH 10/29] drm/i915: " Joe Perches 2020-08-25 4:56 ` [Intel-gfx] " Joe Perches 2020-08-25 4:56 ` Joe Perches 2021-01-30 18:47 ` Joe Perches 2021-01-30 18:47 ` [Intel-gfx] " Joe Perches 2021-01-30 18:47 ` Joe Perches 2021-02-01 8:41 ` Jani Nikula 2021-02-01 8:41 ` [Intel-gfx] " Jani Nikula 2021-02-01 8:41 ` Jani Nikula 2020-08-25 4:56 ` [PATCH 11/29] hwmon: (scmi-hwmon): " Joe Perches 2020-08-25 23:33 ` Guenter Roeck 2020-08-25 4:56 ` [PATCH 12/29] Input: MT - " Joe Perches 2020-08-25 17:07 ` Dmitry Torokhov 2020-08-25 4:56 ` [PATCH 13/29] bcache: " Joe Perches 2021-01-30 18:59 ` Joe Perches 2021-01-31 15:58 ` Coly Li 2020-08-25 4:56 ` [PATCH 14/29] media: " Joe Perches 2020-09-04 11:45 ` Kieran Bingham 2020-08-25 4:56 ` [PATCH 15/29] mtd: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2020-09-07 7:34 ` Miquel Raynal 2020-09-07 7:34 ` Miquel Raynal 2020-08-25 4:56 ` [PATCH 16/29] 8390: " Joe Perches 2020-08-25 14:54 ` David Miller 2020-08-25 4:56 ` [PATCH 17/29] fs_enet: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2020-08-25 14:55 ` David Miller 2020-08-25 14:55 ` David Miller 2020-08-25 4:56 ` [PATCH 18/29] wan: sbni: " Joe Perches 2020-08-25 14:55 ` David Miller 2020-08-25 4:56 ` [PATCH 19/29] s390/tty3270: " Joe Perches 2021-01-30 19:01 ` Joe Perches 2021-01-30 19:01 ` Joe Perches 2020-08-25 4:56 ` [PATCH 20/29] scai/arm: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2020-08-25 4:56 ` [PATCH 21/29] media: atomisp: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2020-09-04 11:46 ` Kieran Bingham 2020-09-04 11:46 ` Kieran Bingham 2020-08-25 4:56 ` [PATCH 22/29] video: fbdev: " Joe Perches 2020-08-25 4:56 ` Joe Perches 2020-08-25 4:56 ` Joe Perches 2020-09-08 11:37 ` Bartlomiej Zolnierkiewicz 2020-09-08 11:37 ` Bartlomiej Zolnierkiewicz 2020-09-08 11:37 ` Bartlomiej Zolnierkiewicz 2020-08-25 4:56 ` [PATCH 23/29] fuse: " Joe Perches 2021-01-30 19:04 ` Joe Perches 2021-02-01 8:12 ` Miklos Szeredi 2020-08-25 4:56 ` [PATCH 24/29] reiserfs: " Joe Perches 2021-01-30 19:04 ` Joe Perches 2020-08-25 4:56 ` [PATCH 25/29] lib/zlib: " Joe Perches 2021-01-30 19:05 ` Joe Perches 2020-08-25 4:56 ` [PATCH 26/29] lib: zstd: " Joe Perches 2021-01-30 19:06 ` Joe Perches 2020-08-25 4:56 ` [PATCH 27/29] ipv6: fib6: " Joe Perches 2020-08-25 14:55 ` David Miller 2020-08-25 4:56 ` [PATCH 28/29] sunrpc: " Joe Perches 2020-08-25 14:55 ` David Miller 2020-08-25 4:56 ` [PATCH 29/29] tools: " Joe Perches 2020-08-26 9:30 ` Thomas Renninger 2020-08-26 14:45 ` Joe Perches 2020-08-26 16:13 ` Thomas Renninger 2020-09-09 2:09 ` [PATCH 00/29] treewide: Convert " Martin K. Petersen 2020-09-09 2:09 ` Martin K. Petersen 2020-09-09 2:09 ` [Intel-gfx] " Martin K. Petersen 2020-09-09 2:09 ` Martin K. Petersen 2020-09-09 2:09 ` Martin K. Petersen 2020-09-09 2:09 ` Martin K. Petersen 2020-09-09 2:09 ` Martin K. Petersen 2020-09-09 2:09 ` Martin K. Petersen 2020-09-09 2:09 ` Martin K. Petersen
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=bfac54e37f602bcdac73f6aee4e9fcd4fd651795.camel@perches.com \ --to=joe@perches.com \ --cc=fenghua.yu@intel.com \ --cc=linux-ia64@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=tony.luck@intel.com \ --cc=trivial@kernel.org \ /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.