Linux-Modules Archive on lore.kernel.org
 help / Atom feed
* [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	[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, back to index

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

Linux-Modules Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-modules/0 linux-modules/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-modules linux-modules/ https://lore.kernel.org/linux-modules \
		linux-modules@vger.kernel.org linux-modules@archiver.kernel.org
	public-inbox-index linux-modules


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-modules


AGPL code for this site: git clone https://public-inbox.org/ public-inbox