All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] datastruct: Fix code citation typos
@ 2016-07-31 23:18 SeongJae Park
  2016-08-01  3:19 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: SeongJae Park @ 2016-07-31 23:18 UTC (permalink / raw)
  To: paulmck; +Cc: perfbook, SeongJae Park

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
 datastruct/datastruct.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex
index da735ae..4807223 100644
--- a/datastruct/datastruct.tex
+++ b/datastruct/datastruct.tex
@@ -1089,7 +1089,7 @@ may be freed.

 The \co{->ht_idx} field on line~16 indicates which of the two sets of
 list pointers are being used by this instantiation of the hash table,
-and is used to index the \co{->hte_next[]} array in the \co{ht_bucket}
+and is used to index the \co{->hte_next[]} array in the \co{ht_elem}
 structure on line~3.

 The \co{->ht_hash_private}, \co{->ht_cmp()}, \co{->ht_gethash()},
@@ -1543,7 +1543,7 @@ Otherwise, line~19 picks up a reference to the current hash table,
 and lines~21-24 allocate a new hash table of the desired size.
 If a new set of hash/key functions have been specified, these are
 used for the new table, otherwise those of the old table are preserved.
-If line~25 detects memory-allocation failure, line~26 releases \co{->htlock}
+If line~25 detects memory-allocation failure, line~26 releases \co{->ht_lock}
 and line~27 returns a failure indication.

 Line~29 starts the bucket-distribution process by installing a reference
-- 
1.9.1


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

* Re: [PATCH] datastruct: Fix code citation typos
  2016-07-31 23:18 [PATCH] datastruct: Fix code citation typos SeongJae Park
@ 2016-08-01  3:19 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2016-08-01  3:19 UTC (permalink / raw)
  To: SeongJae Park; +Cc: perfbook

On Mon, Aug 01, 2016 at 08:18:15AM +0900, SeongJae Park wrote:
> Signed-off-by: SeongJae Park <sj38.park@gmail.com>

Good eyes, queued and pushed!

							Thanx, Paul

> ---
>  datastruct/datastruct.tex | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex
> index da735ae..4807223 100644
> --- a/datastruct/datastruct.tex
> +++ b/datastruct/datastruct.tex
> @@ -1089,7 +1089,7 @@ may be freed.
> 
>  The \co{->ht_idx} field on line~16 indicates which of the two sets of
>  list pointers are being used by this instantiation of the hash table,
> -and is used to index the \co{->hte_next[]} array in the \co{ht_bucket}
> +and is used to index the \co{->hte_next[]} array in the \co{ht_elem}
>  structure on line~3.
> 
>  The \co{->ht_hash_private}, \co{->ht_cmp()}, \co{->ht_gethash()},
> @@ -1543,7 +1543,7 @@ Otherwise, line~19 picks up a reference to the current hash table,
>  and lines~21-24 allocate a new hash table of the desired size.
>  If a new set of hash/key functions have been specified, these are
>  used for the new table, otherwise those of the old table are preserved.
> -If line~25 detects memory-allocation failure, line~26 releases \co{->htlock}
> +If line~25 detects memory-allocation failure, line~26 releases \co{->ht_lock}
>  and line~27 returns a failure indication.
> 
>  Line~29 starts the bucket-distribution process by installing a reference
> -- 
> 1.9.1
> 


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

end of thread, other threads:[~2016-08-01  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-31 23:18 [PATCH] datastruct: Fix code citation typos SeongJae Park
2016-08-01  3:19 ` 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.