2015-04-17 07:47:44

by Jacek Anaszewski

[permalink] [raw]
Subject: [PATCH] kref: Fix typo in the description of kref_sub function

Signed-off-by: Jacek Anaszewski <[email protected]>
---
include/linux/kref.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/kref.h b/include/linux/kref.h
index 484604d..216a41f 100644
--- a/include/linux/kref.h
+++ b/include/linux/kref.h
@@ -50,7 +50,7 @@ static inline void kref_get(struct kref *kref)
/**
* kref_sub - subtract a number of refcounts for object.
* @kref: object.
- * @count: Number of recounts to subtract.
+ * @count: Number of refcounts to subtract.
* @release: pointer to the function that will clean up the object when the
* last reference to the object is released.
* This pointer is required, and it is not acceptable to pass kfree
--
1.7.9.5