From patchwork Sat May 21 11:15:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Wu X-Patchwork-Id: 9130349 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BC72360762 for ; Sat, 21 May 2016 11:41:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD02727B89 for ; Sat, 21 May 2016 11:41:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1F2E28114; Sat, 21 May 2016 11:41:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E71F327B89 for ; Sat, 21 May 2016 11:41:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbcEULlv (ORCPT ); Sat, 21 May 2016 07:41:51 -0400 Received: from lekensteyn.nl ([178.21.112.251]:46524 "EHLO lekensteyn.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941AbcEULlv (ORCPT ); Sat, 21 May 2016 07:41:51 -0400 X-Greylist: delayed 1516 seconds by postgrey-1.27 at vger.kernel.org; Sat, 21 May 2016 07:41:50 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lekensteyn.nl; s=s2048-2015-q1; h=Message-Id:Date:Subject:To:From; bh=h1/Y/Bu7Frl2biduamQWOfaEHsDZ6Q3zBiGyN7jpxbY=; b=klsOnh5cjTodGtJalAL9RQtbxn9qr9w/+hsvUnQ7q7boir18egi6Qlic+EGZybWPZ/ErKkoYVnoLJiLc4eVpkHYC1QsOxLwYjF6qd1waXZEOvHAVhLdQA/NfglQk7MOapIEPJgqKbRmjQ3VP+HGV2ly40mZrA0hXcB2myn3n7QddJW0h0vbqmOef91Pmw6SNMbKgHBP8gY9s0Dkh/6ZbPUcuGxD3+prAiYVhB9sgN+wB8ctqSkd5J2PA4k6Fwc5EM5m7O2fPEiKWr4CNdkJT13/NfOniHVjC03fB568tP4SmhG1lWv5JXo90Gc6jzKsz8Akmje545bBo3yB/KYDd/A==; Received: by lekensteyn.nl with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1b44si-00044w-7D for linux-modules@vger.kernel.org; Sat, 21 May 2016 13:16:30 +0200 From: Peter Wu To: linux-modules@vger.kernel.org Subject: [PATCH] kmod_module_get_refcnt: fix documentation Date: Sat, 21 May 2016 13:15:19 +0200 Message-Id: <1463829319-1668-1-git-send-email-peter@lekensteyn.nl> X-Mailer: git-send-email 2.8.2 Sender: owner-linux-modules@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP --- 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) {