Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7063989ybc; Thu, 28 Nov 2019 10:10:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxy5+gm5W4mImVzgNKGFnF4Mh2GfQmmvdKANzqFhHhoZwkPCOBPhab0UCyObkXEkfo0NuzX X-Received: by 2002:a17:907:447b:: with SMTP id oo19mr54825737ejb.81.1574964617446; Thu, 28 Nov 2019 10:10:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574964617; cv=none; d=google.com; s=arc-20160816; b=vrZau3ayE7Ekp2YLKe3Gr0RLHpR21p1MxY3dVscHkd+G0mXU22gd4VnjJmDjtgQL/8 JjonKUSyBAj5hF2yq7BlQ4gpHswb3Cfp/7iuNl2E+oIZ0lCoSddOXLtmAH8g5wBjAoMx HtGz7QN4uVY3C8AnM7AisVdmZbW9MH1cBV3LmWZK28CYPV0+sKoCt8FsfdF+LwHRW7qg 9iqcBcIOI1MbGPC1LwXnVpYGWIeSvRqhFbh7ju6m3OxNhKJQJ0POP9MoJ3SDl/PlOyIU yQq9NMgNBwG5SkKEbUg3xd581m4gqr+x5S/vmIPP6Gkt4hkGcc0+Tv7qrAObcity/Ioz x8vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=ks8gIs9oYy0E3eRemhcOFX7mAIK90vuzz1FlyLwPqag=; b=0YlJHeLv5DrSKjAcQhVlVakcA+zr3aFbcCYmjkwjQJPkuwxTdx8TIRP+aoUvC+b8qk +R2TGOHY5OHF83FZbXRRfaw6T0FqzuZZIjiH8FKH41gCQdzrtbyqEDobtxolExwfjnZp TzXlanLXABpnSVgOC2C0jvzbqX6ata4oRGsNugdOnvXWCmvCcJdISngJFOigBKFRTi71 gWC6r4YEeL/i6SIE9BPDZMXqOVL4d5UX4khPtA6q+EedUBSBjOlQpm/9+upR2a0VpMEh htm4XK4XNcNuxRBTzVJ0o+T6TG6F+tyoEUm+li155ik//EiBQb5Mneyt6R1ovlwm7Iyj 8QmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fjhG8FjO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bs15si13120539edb.408.2019.11.28.10.09.53; Thu, 28 Nov 2019 10:10:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fjhG8FjO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726593AbfK1SHw (ORCPT + 99 others); Thu, 28 Nov 2019 13:07:52 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:46988 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726520AbfK1SHw (ORCPT ); Thu, 28 Nov 2019 13:07:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ks8gIs9oYy0E3eRemhcOFX7mAIK90vuzz1FlyLwPqag=; b=fjhG8FjOqdyQHSa9hPWjeDVyA Zeg48m99YaRd2bFDMjTHO1bpV/j3+qZg8qECwyepjAk8n9yNx4MHUNCiq+CCgO0edAZgfiJGdJVEu fykBepsXlZPJPoh6BC/183fFbpNezcMhmYpulKNHrI5nOF2hHbeI9hhfzILMCcpX/fovjvwzHoq/J ExaQmLrlBhBjihelP3F4/iG9bOHq7mpZt4I0QmXUZGjuks2gIbc6clUoMpZfC7o/0DQbE1GBz64X+ PYf63VE9ZzJSHkKKrCwjUJVgT4bNXLTvUw4wIkJAF78jgUbdq7FMfwUHNAKH01mBf5p52CFjGKbFc 6lDyiunpQ==; Received: from [2601:1c0:6280:3f0::5a22] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iaOCl-0005Kn-Lh; Thu, 28 Nov 2019 18:07:51 +0000 Subject: Re: [PATCH] moduleparam: fix kerneldoc To: Fabien Dessenne , Jessica Yu , Alexey Gladkov , Zhenzhong Duan , Gleb Fotengauer-Malinovskiy , linux-kernel@vger.kernel.org References: <1574960280-28770-1-git-send-email-fabien.dessenne@st.com> From: Randy Dunlap Message-ID: Date: Thu, 28 Nov 2019 10:07:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <1574960280-28770-1-git-send-email-fabien.dessenne@st.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/28/19 8:58 AM, Fabien Dessenne wrote: > Document missing @args in xxx_param_cb(). > Typo: use 'value' instead of 'lvalue'. I think that it's not a typo... Wikipedia says for lvalue: In computer science, a value that points to a storage location, potentially allowing new values to be assigned (so named because it appears on the left side of a variable assignment) > Signed-off-by: Fabien Dessenne > --- > include/linux/moduleparam.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h > index e5c3e23..944c569 100644 > --- a/include/linux/moduleparam.h > +++ b/include/linux/moduleparam.h > @@ -135,7 +135,7 @@ struct kparam_array > /** > * module_param_named - typesafe helper for a renamed module/cmdline parameter > * @name: a valid C identifier which is the parameter name. > - * @value: the actual lvalue to alter. > + * @value: the actual value to alter. > * @type: the type of the parameter > * @perm: visibility in sysfs. > * > @@ -160,6 +160,7 @@ struct kparam_array > * module_param_cb - general callback for a module/cmdline parameter > * @name: a valid C identifier which is the parameter name. > * @ops: the set & get operations for this parameter. > + * @args: args for @ops > * @perm: visibility in sysfs. > * > * The ops can have NULL set or get functions. > @@ -176,6 +177,7 @@ struct kparam_array > * to be evaluated before certain initcall level > * @name: a valid C identifier which is the parameter name. > * @ops: the set & get operations for this parameter. > + * @args: args for @ops > * @perm: visibility in sysfs. > * > * The ops can have NULL set or get functions. > @@ -457,7 +459,7 @@ enum hwparam_type { > /** > * module_param_hw_named - A parameter representing a hw parameters > * @name: a valid C identifier which is the parameter name. > - * @value: the actual lvalue to alter. > + * @value: the actual value to alter. > * @type: the type of the parameter > * @hwtype: what the value represents (enum hwparam_type) > * @perm: visibility in sysfs. > -- ~Randy Reported-by: Randy Dunlap