Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3982088pxb; Mon, 27 Sep 2021 07:01:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxWKqu9gaE0A4NaY53oIK2H8pNW4fDnUo4o21/ELxfe8PsXozm3hTsPCDkoG4rLnBECglw X-Received: by 2002:a50:d98a:: with SMTP id w10mr31856edj.120.1632751314070; Mon, 27 Sep 2021 07:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751314; cv=none; d=google.com; s=arc-20160816; b=YOjqVBRqRkvzW4QTNbuqSEuV6Hp/2djcU0eCsQPe+Re6Q1bveJRxTmvK2y5NyGelqq U6tHASHeVw1m1eFx4R4CN8GUs/594cmPDuHYg9Inqj02RaHdRU0A5roTBjPyBBHuAosU UyNaLd6O2CKu3DKQPkfvYDECRwojPADUgOuUidfjSlULdCvAZPl8CIbGy3mcFdbvX6DE a8e7ALUFV5VAIgIB4uvePHS/mfREJTbUbY3XWPYq5g+vV+DMu8mDa6pGM6mRE1dKK4d7 bL0MPSFi970XMxVpE1hFryYAwOebgxrU7gKczbolSccFZeu3lkDuxxS/3pYHP1jrUQRq 9X6Q== 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=IHJLf9witftSLG4hJ7B7DsdGTmxA7BVAtZnv8t+rQwM=; b=PzZMXyOS17e+SC1ayGJ04RoKR3mjDYUW/hoTgZ4leLI56kS8s0f9kdnC1FqQtdA2ft +YPBw4p4q9BncIyhHWS1/ZRxHL8+iQmloTUQMIPDG1U6KqiGUSGllTNo0PTDW8OJswrc UquCgKOIH3ZCqVKbFRVOFGmMJ4pI0SXp/a6xPf9KDhPSDyhItefSbW7pszThannzxHN+ y8CBoPOvxn/kmskAVeIpZv3pVi0GMMEhHorSUi/pE7c0xA6keT0sSzC9ClPe1IUTvmFJ rg5LjSDaWvWTWV7802DDL4Bp1z9UXepfmDLk8I79bVRhRT3qqYlZuwwojRK0tERAoQiG 0f7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="jEj/McxI"; 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 y12si5625038edv.43.2021.09.27.07.01.28; Mon, 27 Sep 2021 07:01:54 -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="jEj/McxI"; 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 S234732AbhI0OBh (ORCPT + 99 others); Mon, 27 Sep 2021 10:01:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:47864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234583AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 38D5560F46; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=BNlZNAUTMLhlrg2wEynRw5qh+hUiXumdL2pp1O0ToQw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jEj/McxIgpZNztQbEVauHZ4/P9ef2XBY1li7PtqfdB6hGDjhdwFGI6J0TUgCFf2hh vMYBlq1IubPsPjrGx8DmLSRODwv74z+Oy/ilchjutJJ1YDxQYBl8aSJqIO+sqIcY+7 GpZJUOXp6rprXCNp+wP2hPoHKwzVzoYDGuyzkXOCOZiiXyugvpdpPrmh0kRI9TQ1a0 3ySgS9yihLjP72HuRbUSufX4a4zr5CyUhU46kxAeqWeWUVMIEinGp3b4oUEgiYfBSA TMkPVKP8i75X5lFhoFy4Sgv8lL6IKH+hNRyXUlBQKdPaVVUHHGuv8Yiukm26TAz5sf slqxIfeO2SnIw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAh-000Atd-AJ; Mon, 27 Sep 2021 15:59:55 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH 02/17] ABI: stable/sysfs-module: document version and srcversion Date: Mon, 27 Sep 2021 15:59:35 +0200 Message-Id: <82bc7ebcc56c68c39b0e9de89cd0e023339d0597.1632750608.git.mchehab+huawei@kernel.org> 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 --- See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@kernel.org/ 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