Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3470209pxu; Tue, 8 Dec 2020 12:58:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzd3fg2pUHTm7kYp1jx32K2PH9rCFsQ+OXUJfcqnUy7tbymdEEclbVbVARgk5sREvEyIy0M X-Received: by 2002:a17:906:b118:: with SMTP id u24mr24290901ejy.500.1607461104549; Tue, 08 Dec 2020 12:58:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607461104; cv=none; d=google.com; s=arc-20160816; b=OMPdn9WGUOedIbYHrEKvQUuudKjZnx03F2RcaeMtS+aIF2alnR1XdRcrkYCNA8fkJ1 KSIEfwYScK9p5O7ICZ0m5lpNAWIDo2b73DpL1Vre38QlYqT9c08M5nnpGVE2BCvXCr/i hPmQ2C7+OyjaKGwsjZFVBFJaQi3BnywwVgtRdJ/qQN3WChRA1uG41j5G760knV7Xg+99 jn2K+r37mqzXmEke29zAlJaAnqORiSZ1RH8TRBCxu2+ZDwspSJ8zdHxnHLDei8Qkc86C nAzb3MR5tlF3JN6uxyNBUM3Gx+dhi/IISZDW76LtU8I1ZBFhJt1RKC4KvPMqLPjzQpIh 8QPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:sender:dkim-signature; bh=iPNyURoyyg37PtP5buaF7be4u+mklyusgvVkQ9lf5c4=; b=Jpxhy0B+fm0B1bS5jnof9+S95msrw+0418zk/VMkam825+EN6j/8YFRfMHpSNHyR67 1SY56XY3mtEE84tBru/4RAjTRMpkFT5BdkT9adDmk1Zp539J6v+lU8GgZoXWKNIZqtb6 MAFNQq8xDugh44ufwx226nxLPAf4+fHyW0mra7Z6tjLCwwTVP5eMFfuO5KIOQxJmcXPD QwY9Jdx9SIP/3A65cytjl9lw8QzLycumbNhrLoEFy7z4aL57wyrpfZ3M1fH0TE5Y/pOp 5uoC/uonsFOMFmmXE2UwcJLSvVaEixdwGzRs72d8OkJTwIdacisA0XI/yrTTTr/opw5E KAhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=d8kI5DC6; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr9si8782712ejc.729.2020.12.08.12.58.01; Tue, 08 Dec 2020 12:58:24 -0800 (PST) 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=@google.com header.s=20161025 header.b=d8kI5DC6; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731120AbgLHUQG (ORCPT + 99 others); Tue, 8 Dec 2020 15:16:06 -0500 Received: from mail-yb1-f202.google.com ([209.85.219.202]:39388 "EHLO mail-yb1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731093AbgLHUMu (ORCPT ); Tue, 8 Dec 2020 15:12:50 -0500 Received: by mail-yb1-f202.google.com with SMTP id v12so24113775ybi.6 for ; Tue, 08 Dec 2020 12:11:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=iPNyURoyyg37PtP5buaF7be4u+mklyusgvVkQ9lf5c4=; b=d8kI5DC6RP4DJ49rtv3HRDmO4lX8xauTeqDg/yxTGOoLSDqV4wdfCyFv+CcWvtjldX 4ejQ3sBafhcxKGySlAHEv1lExckfO6zdtRI3cxmx+Ps0/PWoqXlh3RLRpjVB8eeFRVTq 5BuqliT5XjXJdQBUHIet86bv4wvG53o48LmzyhRCFmL5UfX9v3Z1Dmh5U1T2edPYRjYL Gq0RyizZJ+a2Das9vAKJIf17GswbLZ/KzC9s/vsYO/GA5lZko3lLclFbZ0k7yRwaHg0S g7jUg2MRJ7776jHriyV4cRG32UwIwgIKjnpRF2H/P7xImiQdCgVrcUHZFHZC3xzUylYD PfDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=iPNyURoyyg37PtP5buaF7be4u+mklyusgvVkQ9lf5c4=; b=s28ceRaJxDCt8vw74PDPairgyLz4yaUpCfpjwtanbVVt5KHqO+Cep8umFQZhf40dUy bYY+ZFNGYrx0Lz+H084raT3lrTQuaP1GIoG8Gwv5EKDJwa4MUA7RxMj7ncKtOtFQCc5B 5aX2T22Hw3IKxKgHFDNLFd/kZy3jQwKsi8bBnwcE9vJXjOmEfAE1USkVU9hgBNzwrrxd Ni7BXY3kElTHh+RwanxrdgnN/eYFKdptv+GKCnPQtxgMf9hzLRJoLs+oVN+IDt2e3uJR HtJCbtuHLNUKsQCpi9lPJgA1qYuojPdxacbbRhCDaBbiXgH50L+1sYOQVqUio6+QvHC+ 9aew== X-Gm-Message-State: AOAM530465+WwxZJIFxYgQxuYCnmvVpywE04TZIR2lD5O40Sr7l4nWJ5 5TBC3M0mJ/TW21BJPWcG6GioO+wX426DJez6sUY= Sender: "willmcvicker via sendgmr" X-Received: from willmcvicker.c.googlers.com ([fda3:e722:ac3:10:24:72f4:c0a8:2dd0]) (user=willmcvicker job=sendgmr) by 2002:a25:cb45:: with SMTP id b66mr27002244ybg.185.1607457914395; Tue, 08 Dec 2020 12:05:14 -0800 (PST) Date: Tue, 8 Dec 2020 20:05:06 +0000 In-Reply-To: <20201207153116.GA15772@linux-8ccs> Message-Id: <20201208200508.4107399-1-willmcvicker@google.com> Mime-Version: 1.0 References: <20201207153116.GA15772@linux-8ccs> X-Mailer: git-send-email 2.29.2.576.ga3fc446d84-goog Subject: [PATCH v3 0/2] modules: add scmversion field From: Will McVicker To: Jessica Yu , Masahiro Yamada , Michal Marek Cc: Greg Kroah-Hartman , Christoph Hellwig , Saravana Kannan , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, kernel-team@android.com, Will McVicker Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Thanks Jessica for the feedback! I have updated the commit message to include the justification and common use cases for the patch series. I have also added the config MODULE_SCMVERSION so that this is not enabled by default. Please take a look and let me know of any concerns or issues found. Thanks, Will Will McVicker (2): scripts/setlocalversion: allow running in a subdir modules: introduce the MODULE_SCMVERSION config Documentation/ABI/stable/sysfs-module | 18 ++++++++++++++++++ include/linux/module.h | 1 + init/Kconfig | 12 ++++++++++++ kernel/module.c | 2 ++ scripts/Makefile.modpost | 22 ++++++++++++++++++++++ scripts/mod/modpost.c | 24 +++++++++++++++++++++++- scripts/setlocalversion | 5 ++--- 7 files changed, 80 insertions(+), 4 deletions(-) -- 2.29.2.576.ga3fc446d84-goog