summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-09-09 01:27:23 +0900
committerJiri Kosina <jkosina@suse.cz>2014-09-09 10:34:56 +0200
commitda3dae54e4ff09886b9a19224c8d9556bb2ba096 (patch)
tree750b166766a7dc3f36a66ba37580fb0b60eade42 /lib/idr.c
parent2570741ac876fea8383fcea7388370f77d6574d7 (diff)
downloadop-kernel-dev-da3dae54e4ff09886b9a19224c8d9556bb2ba096.zip
op-kernel-dev-da3dae54e4ff09886b9a19224c8d9556bb2ba096.tar.gz
Documentation: Docbook: Fix generated DocBook/kernel-api.xml
This patch fix spelling typo found in DocBook/kernel-api.xml. It is because the file is generated from the source comments, I have to fix the comments in source codes. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib/idr.c')
-rw-r--r--lib/idr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/idr.c b/lib/idr.c
index 39158ab..460abfd 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -625,7 +625,7 @@ static void __idr_remove_all(struct idr *idp)
* idr_destroy().
*
* A typical clean-up sequence for objects stored in an idr tree will use
- * idr_for_each() to free all objects, if necessay, then idr_destroy() to
+ * idr_for_each() to free all objects, if necessary, then idr_destroy() to
* free up the id mappings and cached idr_layers.
*/
void idr_destroy(struct idr *idp)
OpenPOWER on IntegriCloud