Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3696849ybx; Mon, 4 Nov 2019 01:13:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxlzE80ixalpXKGV0i+RXDAl2ZiDXsEluAPTgOvq8vRYxRPGDFL2UXEKh5ZCelc29aDVln4 X-Received: by 2002:a05:6402:124b:: with SMTP id l11mr10963878edw.220.1572858830100; Mon, 04 Nov 2019 01:13:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572858830; cv=none; d=google.com; s=arc-20160816; b=UQtaq6NPNXjNgRW4uOVJqtU/7e7E+lIRHdCLHpOtjTvgpfUpZTLdSImdqLYUPHcdiA rUu8mDSueGgkYAqcH4AUwvTRB21gFcAGGyjrwvf8iAbM1reRr/aGjXZfEayebI5GDsrz Rh/qfZZjC+IClmHQ8cG9FPildLiNrGh6IY3M6JPVkus65zTyZhIrCApjL+lrxdqyDEd5 8A0paoZfEEE7GXygtL1MYSygdGjCmyFbK8RGrR7itfm3sStOoYB68YL+r2P1LRkQoW61 lALq8swR3ZHK10BrcH0QRnvekJIwGVJ9QZLe6IdCxktjeuG4TzwdlYti+Z9A36rSw1is 2N2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=roilGUmbFv/GpGLtZL/JxWvuhLiWtGDGU3pEf7QNJdU=; b=d6+TTKkGIXiT8JhuRXTU+d1vuzDrsSd3hzAtMXPaOsa5j1A5+/JvkQHtERHGagsBkQ 8t2Sx7KNzl2paR3aAaro+nxMLlrtlhor3wT5ID9Qz4h60sRmunzujFBrU1oYyL+qwJIg oLuTHqUf0u4wT+9/HnTw+eluD2uOi8sDvX7lACpwcwYE+4NtOcQ3KBcL7ZwTNKAyaym/ 36P2s2eguvX0CdsIqM0GD2bxLmLCZmO3OqSPtazsxVuT9gm8ZcwH+Vffsv3gR1Ckrcm9 rl8QAPOo8YVqnXcKABxj7klDLpMyHvGnX+izTwpbKf88jJNcrjoZamFe+RvnUphHmx4o bgCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=Rk94t5TF; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si1509836ejr.225.2019.11.04.01.13.25; Mon, 04 Nov 2019 01:13:50 -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=@oracle.com header.s=corp-2019-08-05 header.b=Rk94t5TF; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728119AbfKDJKd (ORCPT + 99 others); Mon, 4 Nov 2019 04:10:33 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:41616 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfKDJKc (ORCPT ); Mon, 4 Nov 2019 04:10:32 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA49976c100924; Mon, 4 Nov 2019 09:10:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2019-08-05; bh=roilGUmbFv/GpGLtZL/JxWvuhLiWtGDGU3pEf7QNJdU=; b=Rk94t5TFt6sQB93LOLcjE2UVxWCD+WxZ+mvEPU8fy7ivzRucxQzIy+wgxxE2pjp5Qulr K8hbfz/xzcTcM1O3k3JY73zsUT0fQMfrFeBqD2BXJhBL3IZwSQkqNAH7LaTUOz7uvMaP ljepEcmGujHrXRCD6ZyzrOJPsJT+S7N66rhED72WvKSb2pFeJ6ebtUC1QCmQTSjZ9uth ibivx/2KRHh5HyWsvWOjbdq5xx4lLjbWWvAdVMDdLFiHOX2DeKDDDWx2UY5tb/X38qHa S8rpShX7P5gDwJpwFoIsdR6UNN+NhHVOAiJNmqx2IOCI4jPWcQ+TZHqbhUy84Pcz7QbH ug== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2w12eqwpyh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 Nov 2019 09:10:14 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA499EGY090692; Mon, 4 Nov 2019 09:10:14 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2w1kxcvkdm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 Nov 2019 09:10:14 +0000 Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xA49AC4Q007859; Mon, 4 Nov 2019 09:10:12 GMT Received: from z2.cn.oracle.com (/10.182.71.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 04 Nov 2019 01:10:11 -0800 From: Zhenzhong Duan To: linux-kernel@vger.kernel.org Cc: yamada.masahiro@socionext.com, jeyu@kernel.org, gladkov.alexey@gmail.com, rusty@rustcorp.com.au, Zhenzhong Duan Subject: [PATCH] moduleparam: fix parameter description mismatch Date: Mon, 4 Nov 2019 17:09:37 +0800 Message-Id: <1572858577-8349-1-git-send-email-zhenzhong.duan@oracle.com> X-Mailer: git-send-email 1.8.3.1 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9430 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1911040091 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9430 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1911040091 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first parameter of module_param is @name, but @value is used in description. Fix it. Fixes: 546970bc6afc ("param: add kerneldoc to moduleparam.h") Signed-off-by: Zhenzhong Duan --- include/linux/moduleparam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h index 5ba250d..e5c3e23 100644 --- a/include/linux/moduleparam.h +++ b/include/linux/moduleparam.h @@ -100,11 +100,11 @@ struct kparam_array /** * module_param - typesafe helper for a module/cmdline parameter - * @value: the variable to alter, and exposed parameter name. + * @name: the variable to alter, and exposed parameter name. * @type: the type of the parameter * @perm: visibility in sysfs. * - * @value becomes the module parameter, or (prefixed by KBUILD_MODNAME and a + * @name becomes the module parameter, or (prefixed by KBUILD_MODNAME and a * ".") the kernel commandline parameter. Note that - is changed to _, so * the user can use "foo-bar=1" even for variable "foo_bar". * -- 1.8.3.1