All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] count: Use consistent coding style
@ 2018-04-06  0:31 SeongJae Park
  2018-04-06  0:31 ` [PATCH 2/2] count: Add unbreakable spaces for line numbers SeongJae Park
  2018-04-06 20:03 ` [PATCH 1/2] count: Use consistent coding style Paul E. McKenney
  0 siblings, 2 replies; 3+ messages in thread
From: SeongJae Park @ 2018-04-06  0:31 UTC (permalink / raw)
  To: paulmck; +Cc: perfbook, SeongJae Park

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>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-06 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/2] count: Use consistent coding style Paul E. McKenney

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.