From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: SeongJae Park <sj38.park@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [PATCH 1/2] count: Use consistent coding style
Date: Fri, 6 Apr 2018 13:03:21 -0700 [thread overview]
Message-ID: <20180406200321.GB3948@linux.vnet.ibm.com> (raw)
In-Reply-To: <20180406003105.7332-1-sj38.park@gmail.com>
On Fri, Apr 06, 2018 at 09:31:04AM +0900, SeongJae Park wrote:
> One code snippet in `Counting` chapter has no space between 'if' keyword
> and its opening brace while other snippets have. This commit fixes the
> snippet to use consistent coding style.
>
> Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Good eyes! I queued and pushed both patches, thank you!
Thanx, Paul
> ---
> count/count.tex | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/count/count.tex b/count/count.tex
> index 752371f..cf79753 100644
> --- a/count/count.tex
> +++ b/count/count.tex
> @@ -1544,7 +1544,7 @@ references only per-thread variables, and should not incur any cache misses.
> \begin{minipage}[t]{\columnwidth}
> \small
> \begin{verbatim}
> - 3 if (counter + delta <= countermax){
> + 3 if (counter + delta <= countermax) {
> 4 counter += delta;
> 5 return 1;
> 6 }
> --
> 2.10.0
>
prev parent reply other threads:[~2018-04-06 20:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 0:31 [PATCH 1/2] count: Use consistent coding style SeongJae Park
2018-04-06 0:31 ` [PATCH 2/2] count: Add unbreakable spaces for line numbers SeongJae Park
2018-04-06 20:03 ` Paul E. McKenney [this message]
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=20180406200321.GB3948@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=perfbook@vger.kernel.org \
--cc=sj38.park@gmail.com \
/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: link
Be 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.