Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp747781pxb; Tue, 14 Sep 2021 07:57:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDr1LSetnYUh+wp47+50jJz6BjylQ2sh8cvczdy1MMStD3f5KVTY7PSTZUxt3NCl7Rx45f X-Received: by 2002:a6b:2bce:: with SMTP id r197mr14011234ior.212.1631631426962; Tue, 14 Sep 2021 07:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631631426; cv=none; d=google.com; s=arc-20160816; b=Ef3EZvZexefb5eE7kcTb4w86kLMKwhPDUSdb7OAo2fbN9WEwnTtLbWXbRSdAMvMWt/ OLc4a7IiL55HrPgRoG/w2asokIfyIDu8wspjwll43pIfC+yIW5Fe6XNLwuZjjkXo4leb Qtcln3pPhvg6wj7SnpkDqcOkGjYpWYBoGQFYoBT07Z8iWq15fy6XPa3nUH+uNPSp+ADV y1WYa9k/AQy1GZvptkaOG0pLz7NxW4qfucpvgXXbrNhO/TQMtj2aMf88eyG35e46ld3k 2ipXVFPGppIFA+nwkOaYzZpdsRgQu6Ksatny9w1Y7Q/h7kZtl7NdXkUGlF3yjWmjRAaL +Nmw== 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=DTKf0TlgDgDNrpTontlEPkqO2JJwfhtLaGAtXBSFwoY=; b=Wppbz4501UbICw2UiPm5jyAWJiomMKJ2+C45cBAccu9+BDBboy8cIU01PFcmqUzZKB M1R858FcV1xcaOpKAWJpuT9ulb3O+v7QdyzQIi8RdD19cq+2Uyl+FgIiovpjeDaTSv87 4vuJbgM13OHIFLPhq5eMdfzjyj7bf0lwNizV/CRvXf6WY+vBgjNg3j6bQomdxIVxJJCC HKqQRbuqUOCjkF/Wmv2JhhFGj235cSoSbeRI84CyXMn6eAF3QI012JdMM0GXgk6pXx0p nybm5iJmkNbyGMW8hlrjxpo3yScDTGMsSZ2tZbKq91a038nW4rmi4liNokVSPKZpsy7t 6HWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PWSGAEHY; 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 i20si10530658ilj.3.2021.09.14.07.56.53; Tue, 14 Sep 2021 07:57:06 -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=PWSGAEHY; 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 S234870AbhINO46 (ORCPT + 99 others); Tue, 14 Sep 2021 10:56:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:45172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233464AbhINO4q (ORCPT ); Tue, 14 Sep 2021 10:56:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8759261157; Tue, 14 Sep 2021 14:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631631328; bh=jwBvmMOmjYkXF39zRKm8ty4zFYEarHAXbppvfDBGqGU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PWSGAEHYBULHEesvzWRCd/qxV8KtefeIKT+WbuHgnVvWEqyYqFr1oQ0S9l//z55wf NAojxhK0+FQov+7WVV60n0opXfPBfZ27ys17ssxSTnYl7zO/pNLZUhgdpj0nxWzzx/ Ac77POMBopitj8NdS1BkmjMflvXtS4t9SriIKdf0CPgrICWcL+C7zBrJrActXMmQ7m mZ8w5wDo//iey6lBjcOcgvFXMOXC/t4brwAjtxFM2h842xmh+7gFWMNwO8/JqcDifI mCI647Vz722pyX1gs4kPUyNuCTEwVIeS+NzR1KFvu2jAX4m2BdPuZ5R3opSSBaoMoL WVkjAShEiPGoQ== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQ9qI-000L6o-Jb; Tue, 14 Sep 2021 16:55:26 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/8] ABI: stable/sysfs-module: document version and srcversion Date: Tue, 14 Sep 2021 16:55:15 +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 Changeset c988d2b28454 ("[PATCH] modules: add version and srcversion to sysfs") added version and srcversion ABI to modules. Document them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/stable/sysfs-module | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/ABI/stable/sysfs-module b/Documentation/ABI/stable/sysfs-module index 5c028af9921a..560b4a3278df 100644 --- a/Documentation/ABI/stable/sysfs-module +++ b/Documentation/ABI/stable/sysfs-module @@ -33,3 +33,15 @@ Description: 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. + +What: /sys/module//srcversion +Date: Jun 2005 +Description: + If the module source has MODULE_VERSION, this file will contain + the checksum of the the source code. + +What: /sys/module//version +Date: Jun 2005 +Description: + If the module source has MODULE_VERSION, this file will contain + the version of the source code. -- 2.31.1