* [PATCH] kmod_module_get_refcnt: fix documentation
@ 2016-05-21 11:15 Peter Wu
2016-05-21 17:28 ` Lucas De Marchi
0 siblings, 1 reply; 2+ messages in thread
From: Peter Wu @ 2016-05-21 11:15 UTC (permalink / raw)
To: linux-modules
---
libkmod/libkmod-module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c
index 50b2ff9..1460c67 100644
--- a/libkmod/libkmod-module.c
+++ b/libkmod/libkmod-module.c
@@ -1863,7 +1863,7 @@ done:
* Get the ref count of this @mod, as returned by Linux Kernel, by reading
* /sys filesystem.
*
- * Returns: 0 on success or < 0 on failure.
+ * Returns: the reference count on success or < 0 on failure.
*/
KMOD_EXPORT int kmod_module_get_refcnt(const struct kmod_module *mod)
{
--
2.8.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kmod_module_get_refcnt: fix documentation
2016-05-21 11:15 [PATCH] kmod_module_get_refcnt: fix documentation Peter Wu
@ 2016-05-21 17:28 ` Lucas De Marchi
0 siblings, 0 replies; 2+ messages in thread
From: Lucas De Marchi @ 2016-05-21 17:28 UTC (permalink / raw)
To: Peter Wu; +Cc: linux-modules
On Sat, May 21, 2016 at 8:15 AM, Peter Wu <peter@lekensteyn.nl> wrote:
> ---
> libkmod/libkmod-module.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c
> index 50b2ff9..1460c67 100644
> --- a/libkmod/libkmod-module.c
> +++ b/libkmod/libkmod-module.c
> @@ -1863,7 +1863,7 @@ done:
> * Get the ref count of this @mod, as returned by Linux Kernel, by reading
> * /sys filesystem.
> *
> - * Returns: 0 on success or < 0 on failure.
> + * Returns: the reference count on success or < 0 on failure.
> */
> KMOD_EXPORT int kmod_module_get_refcnt(const struct kmod_module *mod)
> {
> --
Applied, thanks.
Lucas De Marchi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-21 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-21 11:15 [PATCH] kmod_module_get_refcnt: fix documentation Peter Wu
2016-05-21 17:28 ` Lucas De Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).