lkml.org 
[lkml]   [2016]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] idr: fix kernel-doc header for idr_for_each_entry_continue
Date
In the kernel-doc comment for the `idr_for_each_entry_continue`, it is
called `idr_for_each_entry`. Correct the name in the comment.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Cc: Andreas Gruenbacher <agruen@linbit.com>
Cc: Jens Axboe <axboe@fb.com>
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
---
include/linux/idr.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/idr.h b/include/linux/idr.h
index 083d61e..4cbfa7c 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -136,7 +136,8 @@ static inline void *idr_find(struct idr *idr, int id)
for (id = 0; ((entry) = idr_get_next(idp, &(id))) != NULL; ++id)

/**
- * idr_for_each_entry - continue iteration over an idr's elements of a given type
+ * idr_for_each_entry_continue - continue iteration over an idr's elements of
+ * a given type
* @idp: idr handle
* @entry: the type * to use as cursor
* @id: id entry's key
--
2.8.0.rc3
\
 
 \ /
  Last update: 2016-04-25 15:01    [W:0.111 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site