Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6997866ybc; Thu, 28 Nov 2019 09:02:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzeZHDrDfy02g9bFpUMNLFUtcL6/ThPbWZGZlXpDL2lRgXHb6tm0X86E1f04rcukNO6gJPw X-Received: by 2002:a05:6402:7cd:: with SMTP id u13mr38759370edy.246.1574960572353; Thu, 28 Nov 2019 09:02:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574960572; cv=none; d=google.com; s=arc-20160816; b=HczVWtHbf9vTXwZ2niXOm6JjT5YYb+QgjjrcNNfoayyZwmPhzVDgODIq+cWGanV9/x lLbSItkt7eniXAlW3pCX5squhEJCZI5PD8AlL3ofTgBteaFSY015wGGcmkGLVoIH7f21 +43BWSonrmzBO/9xbT6hn4ESKvQCC5BcFuYizS4TyBVqXoKpmGD+D2sPOaCB7VFcwa4d 4TLUIx8oFNH112F5V1oXNRa9e/pSRP53ssyB+VN9BE/yJJjkAY8WP71ykCfjpQilBA8E FisME1DHRE5gFuEQgrBO3FuQEixtTS4joebDci6c+th26c1BuyWkHy80gXWRUs3o1Y/J Y2eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=6uAkgoICWFUgjFMDGrLU4fz1PG9x6Te7OG2wuxrtuP4=; b=cbRPKlYcFqrVQc4sCm+R8jossI/uUtntaQ8qGJvVj1l9B+h29eD3UhcZ9e4KwqrxLE caw8yOkjhbEsiG21kSZDmYrEArMfsZG3VS3KqMybxJVdQGMeKD13kz8unZPpE8kntLwR 55JBpwPITAKSQEz/kE9vlLXHQnVAU+lHnG/4ZKAVtmMyUiK878WYEui3146XkkWrC9U7 nkvOtuUEEPAF1rxX8LsOzDrqVO80w0uWz0m5RkYzxE8k1uTrxi2ej5T58soxfnxcjCYG XANqM+4S+sPgiYKIRQUTJrLpdxgLJLk0k2p6sAWg/UJ5nqNFOY7WsBykxtbac79nalix rxyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=zc6c9VCL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n19si5722315edb.312.2019.11.28.09.02.26; Thu, 28 Nov 2019 09:02:52 -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=pass header.i=@st.com header.s=STMicroelectronics header.b=zc6c9VCL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbfK1Q6k (ORCPT + 99 others); Thu, 28 Nov 2019 11:58:40 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:49912 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726446AbfK1Q6k (ORCPT ); Thu, 28 Nov 2019 11:58:40 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xASGvBHr004446; Thu, 28 Nov 2019 17:58:27 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=6uAkgoICWFUgjFMDGrLU4fz1PG9x6Te7OG2wuxrtuP4=; b=zc6c9VCLftGU4RdJOIzU/Q660Am1xjBcCtmGCF3qH3wPSTFxrFLDIgDWQ+6fGBMBzSzC o2Wx757wT20weex4ZpMGbh5VdiLvO/WEAuug+GA91OY3U/craxu5RKwdmLsSDz0G3SSv Rqb++cgzR7bTaxLmO3irSrROGs/Q1t57d5yGFUYMb1bS7M4/Cd5r/Y8sgbG898t/uZhP JjN7RWXSL9bJyxQ07iK9u918kWhRQT+2kH5xWPjVedgMS/3k7pfXSFebUycjtdLusJ0e SaRGMB/T8wiW7u2FQVVe2yiBW5dfaHCGK0XwUcfFN85rDV8rrpgwGmOHh7lHwXyAK8Ql tw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2whcxyk7cb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Nov 2019 17:58:27 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 823AB10002A; Thu, 28 Nov 2019 17:58:24 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 63FC12C8513; Thu, 28 Nov 2019 17:58:24 +0100 (CET) Received: from localhost (10.75.127.44) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 28 Nov 2019 17:58:23 +0100 From: Fabien Dessenne To: Jessica Yu , Alexey Gladkov , Zhenzhong Duan , Gleb Fotengauer-Malinovskiy , CC: Fabien Dessenne Subject: [PATCH] moduleparam: fix kerneldoc Date: Thu, 28 Nov 2019 17:58:00 +0100 Message-ID: <1574960280-28770-1-git-send-email-fabien.dessenne@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-28_05:2019-11-28,2019-11-28 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document missing @args in xxx_param_cb(). Typo: use 'value' instead of 'lvalue'. 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. -- 2.7.4