Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp590321pxb; Wed, 8 Sep 2021 08:01:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwq1JlczPiOoyEEzO8dCCSWgeqUR5iuPxmKgA+muVnwzPGU8SaBcXNdk1x3ctuY1JRyXEj5 X-Received: by 2002:a17:906:c52:: with SMTP id t18mr325077ejf.148.1631113300415; Wed, 08 Sep 2021 08:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631113300; cv=none; d=google.com; s=arc-20160816; b=LSvOLXN5UCcnoQ35CbWgU/8bsq2fcTTYvanT6FlRgE5owavcHfWkIiT60pQZSAjVYY xA7APxfdQD0+7REsAcrIAIE+/yTQthcxnXFwHzF48X4AYKB6u1sZV5Nt5cE3hgpNH39x 6FJqpjFquCsugXTHQNJV9w6FV36+NOwEZIBOFpSebZhN/oI9U/yAgpEcs74QV0aExkMs geUBn7ioV0vWJQDFMw+NH5pdHjRIY+GqTL/LdtVukCDAjDl0r8Vavv+eEpfQhjKvpZwq b9E7qtTYzE32vZKnw0uZAnsXn6TI+1UU8I9TZC106MzAJos1g1hJXTcVqQMfuzt97mKb T+WA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rKu1Qpj4RgA+YnBT9+/BXN+YuUOrRxvM1Uer7wUjjgA=; b=xIfyGSwQRgyAKk5ignkcfNPIJI6j4yYAFi1SpVKka2CJJUONcSdSTnxucbhN5QT8hr IWpHeKkiMoDLFJCtemswoSvpftiOJNfn3yMpa0XdzRxslS9avfA44F9LoZpDslNNCc3w ypjguO6eK1pv8rX8ZL04H3HTIGU8s49Lh4+b14LTTytUM3DZxCZ0zFdXpVHYQyDtRuKI 2nV4/H3a/vNEtFBSNQG52nsXa8tRd/WG6Zk+OsGG9f1Zjfer2qKzfY3DnvXY++YE8FKf 1HMTW4Opr8rCxoreAz4LZR52cSGx6W2CGY6ICKX56A4OHfycF/f4JovwjXCbwryVe36s iFgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Bxv+YLVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 11si2018263eja.784.2021.09.08.08.01.13; Wed, 08 Sep 2021 08:01:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Bxv+YLVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351957AbhIHPAL (ORCPT + 99 others); Wed, 8 Sep 2021 11:00:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:59098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233754AbhIHPAK (ORCPT ); Wed, 8 Sep 2021 11:00:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7CC5E6115C; Wed, 8 Sep 2021 14:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631113142; bh=hJAa8hcqeiDM+/Qqlnhml4tyTWniUKhXeti2Cw12wWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bxv+YLVsE/VLimRrKOF3A3mhABtKMOoRJHViJ1cAOCEJ3+dFsQZ8g76HckcjXuyQO WVgJBfobl125+5JML5VDaJhCHnf7JUbIcdKGmffXn0MJ2uH9ldm3eE7E2YeR96ECkX oHBzDkqXVwoaLWf8OpKuEk5JuFgg/EFUZmSA6KMOb1N1wHmenHqTT1KpxvrH1gW+mZ ++2EXRKCpfphiudKlf2lxopnCfRV6Uk4OVHkfwG74XJXVKJ//2h9z3hdxUjeEho6rD M9RbINGN3f1rJYnd3Z7oLmWKnxX108sBHutnC3lM1B/8SQgEmC+zYZFt7A6CoTGGdO AQdpT5BGv6Nkg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mNz2S-006r3t-RV; Wed, 08 Sep 2021 16:59:00 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg KH Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH 5/9] ABI: sysfs-module: better document module name parameter Date: Wed, 8 Sep 2021 16:58:52 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On almost all ABI documents, variable arguments are declared as . Change it here too, in order to allow replacing such wildcards by regexes on a scriptable way. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/stable/sysfs-module | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/ABI/stable/sysfs-module b/Documentation/ABI/stable/sysfs-module index 6272ae5fb366..c60c7a6f5aff 100644 --- a/Documentation/ABI/stable/sysfs-module +++ b/Documentation/ABI/stable/sysfs-module @@ -2,7 +2,7 @@ What: /sys/module Description: The /sys/module tree consists of the following structure: - /sys/module/MODULENAME + /sys/module/ The name of the module that is in the kernel. This module name will always show up if the module is loaded as a dynamic module. If it is built directly into the kernel, it @@ -12,7 +12,7 @@ Description: Note: The conditions of creation in the built-in case are not by design and may be removed in the future. - /sys/module/MODULENAME/parameters + /sys/module//parameters This directory contains individual files that are each individual parameters of the module that are able to be changed at runtime. See the individual module @@ -25,10 +25,14 @@ Description: individual driver documentation for details as to the stability of the different parameters. - /sys/module/MODULENAME/refcnt + /sys/module//refcnt If the module is able to be unloaded from the kernel, this file will contain the current reference count of the module. Note: If the module is built into the kernel, or if the CONFIG_MODULE_UNLOAD kernel configuration value is not enabled, this file will not be present. + + /sys/module//srcversion + If the module source has MODULE_VERSION, this file will contain + the version of the source code. -- 2.31.1