Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp698175pxu; Mon, 23 Nov 2020 01:33:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6CT3l83QGI7doS0aTyL/5ZDg0X22ZNDKuFrX5T+8YLpKCeX1iL3BnxrqD2ilw3lBdXT0s X-Received: by 2002:a17:906:5607:: with SMTP id f7mr4589576ejq.530.1606124039220; Mon, 23 Nov 2020 01:33:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606124039; cv=none; d=google.com; s=arc-20160816; b=RNwdPikNOBBELOeTa3ilQ8GQRBfnKHLpCYj3dS6Del8uTBfjZ6ohJw9yH4YwTQvd7m rOaAohHSzwqlUUMde8jeF0e3njP5lo8qLTIb2aHf8KdhUEdW+Ku0y2A3NXq56qv23ohY xBQAjBPRkcONGw5kt244BATkMrFa1RfO90U1xgUsN1KCjwonzlMYsCcRS79l00UZjTp1 6Zg5zPtbsazpc+eMvdKuAD1c1gMGIlBVNexrbzVF3i8JzVGbJSHZGUgmmtnTr599GNq3 C1OWuYDMPvCzJTpzqyRTqSQR03Rzk/QtKCBGRPOOLauEwkZrLmSUI2BEQX4jDd4Vy12L aZfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ieKq80IK2Olxw1ic3ySBBmGHwdWe1aIP6xCHTSkQoQk=; b=rZSg/IukWPxddU9QhoflasD+S8aJtE7mWjzAiC4ZN/+wk15W0R4LhSDTp98EYll9u5 KauhmhG+Zi+uNOoOSw4YkuLqUfZ0vUO7xl2YRaMbafQohRDMuHBQ8rF4q5Fw5M93qppS Kpzg8mvst9XWhA16sN2C8IUlAZPWxA7gpZHZ1bOjvtRf8wnzgsUd/6Ob1XdXwvboNObX uLrCrSyf0Sg8sCkTKrsQ93gcuyNazVMW/FM6r4fxiV50tThkk4Wkg6H4UvXOIiFckfsb +AkSY5rNCE7SJKf8Vg3MIBIFUnIObOpqMUB1Iwl4+r0K/W8oUCaV3pqK3cD2xbfKaipG ojhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gKwJTFlf; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si6013426ejo.117.2020.11.23.01.33.36; Mon, 23 Nov 2020 01:33:59 -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=@linuxfoundation.org header.s=korg header.b=gKwJTFlf; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727637AbgKWJ3R (ORCPT + 99 others); Mon, 23 Nov 2020 04:29:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:47746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726618AbgKWJ3R (ORCPT ); Mon, 23 Nov 2020 04:29:17 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0AE4F206D5; Mon, 23 Nov 2020 09:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606123756; bh=c0jF4OeEL9UePNjfHtVi7chADarlrEpvdY3Wd0rD6W0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gKwJTFlfOyz/OYhK6roUFyIjywqn4CFDoshp7qg+T1YsQF+oqRsQ3CYpEfPR9Sq+G QME0pBwj/n82VEaALzJJClmDkcgSBLEzUJVu+O22xoBazpdlwBQhr4V/Xjbff/a15j iBWz9He6wWrasm6nJ5HtRi5pj0kP/uusfw6ltiLQ= Date: Mon, 23 Nov 2020 10:30:24 +0100 From: Greg KH To: Will McVicker Cc: Jessica Yu , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, kernel-team@google.com Subject: Re: [PATCH v1 2/2] modules: add scmversion field Message-ID: References: <20201121011652.2006613-1-willmcvicker@google.com> <20201121011652.2006613-3-willmcvicker@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201121011652.2006613-3-willmcvicker@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 21, 2020 at 01:16:51AM +0000, Will McVicker wrote: > Add the modinfo field `scmversion` to include the SCM version of kernel > modules, e.g. git sha1. This allows one to identify the exact source > code version of a given kernel module. > > You can retrieve it in two ways, > > 1) By using modinfo > > modinfo -F scmversion > 2) By module sysfs node > > cat /sys/module//scmversion I agree with Christoph that this doesn't help any in-kernel stuff, so I don't think it can be merged. Why not just build these modules as part of the normal kernel build process, the Android build system should allow that, right? But even if it was ok, you are adding new sysfs attributes without a Documentation/ABI/ update, which is not ok either, so always remember that for future patches. thanks, greg k-h