Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8618578ybc; Fri, 29 Nov 2019 13:44:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzSgYZHwCYo6VVOO8KZCOrLZe8vy8AP2pd3UaC+79Htcp4MiPGw/8+HAp65htshRx7poUbQ X-Received: by 2002:a05:6402:1350:: with SMTP id y16mr21340153edw.176.1575063855692; Fri, 29 Nov 2019 13:44:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575063855; cv=none; d=google.com; s=arc-20160816; b=pJlqpmRhmZUQrNcEinm4J+2R7GxVr3rLBer8rwTUcizs2fXJAuLhHiMLYLRHe2o1RK Lf7LhNiOpvRWNcWqk7Gb2pwAwn17GHcOx3vYuaRILedXVN7qdPgnlNRWvq0HMSJA0zVp CYhU6xpqutnVPhmCbMwuC2ko7Du287Q70G9TLod26/iA7qTtEHLYTpsoAnYWN80OQ/5H T+w9Rxc2A0+DaiBudFAuG1zWWG54L5YWULYnKK00mJDG/b9T2AHLZyciNYhYUNtxZpeB tCSTwsS70m6s8M30u7YZB30Nkq6VHfz3U20sn/sBp6zFylCYZhNZKCfcE0xPdtTg85Cd YT6g== 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=h96uA0n8w9fFxw+Ssv4jrOuxU+h8Z8yCjDe5C+8lqL4=; b=t1zQuyyVyHwue9Xmz/Wl1klBJA7yX44kp4uBV9jfEQkzvIWLOERVaM5/j0uZ780ERS lxQARhjuWq/+Y+yrxrLvlBbmBYqIP6KZ9eNprU8JhVl8seo6A8N/Ar6PwM79vPlCiQXG 9lRJnNuyQSqe3YUJ0FqHNs4R2DmwHLH62imwO7/98A0s5PlJiqH/5sR91XYMviB1zZTx ASJNN1pL8y3phkbqIgd8sHHa/zjTulozcbr2u0KC08xZZbfK96KCxHkEan7ayfsK5OIP eU2aLDoo3PmrHgdVdT0dCauB3SHEBGCvXKGuhZO8clw+M6gpPskIYuBlg7gU0jWhetTK d+MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="TK/owDV6"; 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 g8si9616195eds.278.2019.11.29.13.43.52; Fri, 29 Nov 2019 13:44:15 -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="TK/owDV6"; 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 S2387419AbfK2Vkk (ORCPT + 99 others); Fri, 29 Nov 2019 16:40:40 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:38816 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387402AbfK2Vkj (ORCPT ); Fri, 29 Nov 2019 16:40:39 -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=h96uA0n8w9fFxw+Ssv4jrOuxU+h8Z8yCjDe5C+8lqL4=; b=TK/owDV6bWEDOl/DwCqd0APJL SVltdiBh22tQcM2vQ2qPf9uWK2fzFJVsFn1Cz7xmg8fdyDUTKV/RyzvNTO1CbAyk8eIlWOn/fA1Rr WUDSYljDEAsp9MaRgGYXbEwcGVxQkwRvuFEdAosRX7v5EBjf+X0M725eRBVFjtM8JhVYXZGlzrQvG bL13yudRW3u9GpQu9c6DU8OYwSz+cVTEjms7C74CifLKQQB9HWgwXqzrQzRYk3D/kOxz2ImMeziWE y5De9C6+6t74vyAAbiAZ0TW9QR68HuUMuK3evWvO5/WTEcUupub5WSHRrQnYayAJGYPgKrnaA00sQ fhiS7eOcw==; Received: from [2601:1c0:6280:3f0::5a22] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iao0F-0001hE-FH; Fri, 29 Nov 2019 21:40:39 +0000 Subject: Re: [PATCH v2] moduleparam: fix kerneldoc To: Fabien Dessenne , Jessica Yu , Alexey Gladkov , Zhenzhong Duan , Gleb Fotengauer-Malinovskiy , linux-kernel@vger.kernel.org References: <1575041952-17157-1-git-send-email-fabien.dessenne@st.com> From: Randy Dunlap Message-ID: <4b6a1030-d84d-b2d6-13ac-e7fa102d039d@infradead.org> Date: Fri, 29 Nov 2019 13:40:37 -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: <1575041952-17157-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/29/19 7:39 AM, Fabien Dessenne wrote: > Document missing @args in xxx_param_cb(). > > Signed-off-by: Fabien Dessenne > --- > Changes since v1: do not replace 'lvalue' with 'value' > --- > include/linux/moduleparam.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h > index e5c3e23..5215198 100644 > --- a/include/linux/moduleparam.h > +++ b/include/linux/moduleparam.h > @@ -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 should be @arg: > * @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 should be @arg: > * @perm: visibility in sysfs. > * > * The ops can have NULL set or get functions. > and @level needs to be documented here also. I tested this patch with $ ./scripts/kernel-doc -none -function module_param_cb include/linux/moduleparam.h scripts/kernel-doc does not like this line: * _param_cb - general callback for a module/cmdline parameter It needs to match the macro name __level_param_cb. -- ~Randy