Skip to contentSkip to conversation

toolsoftrade: Fix a mistake about line number pointing

PATCH In review SeongJae Park 2 participants 3 messages Jul 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolsoftrade: Fix a mistake about line number pointing

Fixes c88cc9eba7a5 ("toolsoftrade: Give a forward reference for READ_ONCE() and WRITE_ONCE()")
---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolsoftrade/toolsoftrade.tex +1 -1
index 00db182..f02d339 100644
@@ -629,7 +629,7 @@ primitives.
 } \QuickQuizEnd
 
 \QuickQuiz{}
-	What is the \co{READ_ONCE()} on lines~17 and~41 and the
+	What is the \co{READ_ONCE()} on lines~17 and the
 	\co{WRITE_ONCE()} on line~41 of
 	Listing~\ref{lst:toolsoftrade:Demonstration of Exclusive Locks}?
 \QuickQuizAnswer{
Signature · 1 line
2.10.0
#1 lore raw
Quoted 2 lines · SeongJae Park
Fixes c88cc9eba7a5 ("toolsoftrade: Give a forward reference for READ_ONCE() and WRITE_ONCE()")

Hmmm... There is both a READ_ONCE() and a WRITE_ONCE() on line 41, so the original is accurate. That said, this might be an indication that the question is confusing. If so, would you like to take a shot at rewording?

Thanx, Paul

Quoted 20 lines
---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolsoftrade/toolsoftrade.tex +1 -1
index 00db182..f02d339 100644
@@ -629,7 +629,7 @@ primitives.
 } \QuickQuizEnd
 
 \QuickQuiz{}
-	What is the \co{READ_ONCE()} on lines~17 and~41 and the
+	What is the \co{READ_ONCE()} on lines~17 and the
 	\co{WRITE_ONCE()} on line~41 of
 	Listing~\ref{lst:toolsoftrade:Demonstration of Exclusive Locks}?
 \QuickQuizAnswer{
Signature · 1 line
2.10.0
#2 lore raw
Quoted 7 lines · Paul E. McKenney
Quoted 2 lines · SeongJae Park
Fixes c88cc9eba7a5 ("toolsoftrade: Give a forward reference for READ_ONCE() and WRITE_ONCE()")

Hmmm... There is both a READ_ONCE() and a WRITE_ONCE() on line 41, so the original is accurate. That said, this might be an indication that the question is confusing. If so, would you like to take a shot at rewording?

Oops, obviously my fault. sorry. Ignore the patch, please.

Thnaks,
SeongJae Park

Quoted 25 lines

Thanx, Paul

Quoted 20 lines
---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolsoftrade/toolsoftrade.tex +1 -2
index 00db182..f02d339 100644
@@ -629,7 +629,7 @@ primitives.
 } \QuickQuizEnd
 
 \QuickQuiz{}
-	What is the \co{READ_ONCE()} on lines~17 and~41 and the
+	What is the \co{READ_ONCE()} on lines~17 and the
 	\co{WRITE_ONCE()} on line~41 of
 	Listing~\ref{lst:toolsoftrade:Demonstration of Exclusive Locks}?
 \QuickQuizAnswer{
--

2.10.0