From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C41BCC43217 for ; Wed, 8 Sep 2021 14:59:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B09CE61104 for ; Wed, 8 Sep 2021 14:59:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351969AbhIHPAM (ORCPT ); Wed, 8 Sep 2021 11:00:12 -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