mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] radix_tree.h trivial comment correction
@ 2007-11-19 19:17 Tim Pepper
  2007-11-20  3:42 ` Nick Piggin
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Pepper @ 2007-11-19 19:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: Nick Piggin

There is an unmatched parenthesis in the locking commentary of radix_tree.h
which is trivially fixed by the patch below.

Signed-off-by: Tim Pepper <lnxninja@linux.vnet.ibm.com>
Cc: Nick Piggin <npiggin@suse.de>

---

diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -91,7 +91,7 @@ do {									\
  *
  * For API usage, in general,
  * - any function _modifying_ the tree or tags (inserting or deleting
- *   items, setting or clearing tags must exclude other modifications, and
+ *   items, setting or clearing tags) must exclude other modifications, and
  *   exclude any functions reading the tree.
  * - any function _reading_ the tree or tags (looking up items or tags,
  *   gang lookups) must exclude modifications to the tree, but may occur

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

* Re: [PATCH] radix_tree.h trivial comment correction
  2007-11-19 19:17 [PATCH] radix_tree.h trivial comment correction Tim Pepper
@ 2007-11-20  3:42 ` Nick Piggin
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Piggin @ 2007-11-20  3:42 UTC (permalink / raw)
  To: Tim Pepper; +Cc: linux-kernel

On Mon, Nov 19, 2007 at 11:17:48AM -0800, Tim Pepper wrote:
> There is an unmatched parenthesis in the locking commentary of radix_tree.h
> which is trivially fixed by the patch below.
> 
> Signed-off-by: Tim Pepper <lnxninja@linux.vnet.ibm.com>
> Cc: Nick Piggin <npiggin@suse.de>

Acked-by: Nick Piggin <npiggin@suse.de>

> 
> ---
> 
> diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
> --- a/include/linux/radix-tree.h
> +++ b/include/linux/radix-tree.h
> @@ -91,7 +91,7 @@ do {									\
>   *
>   * For API usage, in general,
>   * - any function _modifying_ the tree or tags (inserting or deleting
> - *   items, setting or clearing tags must exclude other modifications, and
> + *   items, setting or clearing tags) must exclude other modifications, and
>   *   exclude any functions reading the tree.
>   * - any function _reading_ the tree or tags (looking up items or tags,
>   *   gang lookups) must exclude modifications to the tree, but may occur

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

end of thread, other threads:[~2007-11-20  3:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-19 19:17 [PATCH] radix_tree.h trivial comment correction Tim Pepper
2007-11-20  3:42 ` Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®