From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59C4C3CB2D1 for ; Fri, 13 Mar 2026 17:28:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773422933; cv=none; b=DuHUp0m5i2Q+M9QjpCgg1puzkcuc9YXCbnk85ShP+iYDx83jI8fNk5SVIr97tg+08zv0ywMiwjz7+Wly3kW+g3ghJIbDY951PWNc2JBrOtP6dmvqTd/bqUxzLQE7mpzErf4vSHsGKw75kZnTlm1dERenp7BWQbDxXInDAk5iki8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773422933; c=relaxed/simple; bh=WZm+qqdpH5DcyXRTP8NqNNo1VwwlDehNKpCHYen2rT8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bVPQAcid5g80YiRsnFexTG+MdwNH1VdpqJsU7jxG6o+tSuLg1En4nb1ctE8vzHmOGHqElkd2ccb0TFPt6I6lBnBH0XHPBouHELej9wZREjID5Cs99q2eZAlS+/pjteWvWn5llUnNcjAePqCMu6uKpr65r6HjsshSo7TM+NRxRQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=pJ2h5VAw; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="pJ2h5VAw" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2aea4ebb048so6775ad.1 for ; Fri, 13 Mar 2026 10:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1773422932; x=1774027732; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/KNoU1ZOyn2xMlV7RIm+49lvQ/6Dn6jFT+X4b8iUQRc=; b=pJ2h5VAwJiqVTdLZfAPuTsIH1AODm8YJp3r1Yj/+ZvkdPiRStaOdhTXY8Yign8INVd 2Kvw0vtII6QocR217/HPfsh93xul7oy3a7lBQCyeDEnMbMPXVOyy06KHASCG7fcoqWUy TAsMw34WiMZawWPBL+L+Gw2C/lonL/REA47Rv77rYPjFB2sGW2xD+v71mxl503xaOOaI gyP2S8QtN3/pJHroKx705BhEiEq947CoAbmMugONWUQaA/tHgFFHMKpV93ckSbslFu0w hc5LUjLTccZTVjMuvi6BLaWso2GYSwaQTs6kf713uriF4rDb0l+W/R0uIzW9Iwa97WLn w0sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773422932; x=1774027732; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/KNoU1ZOyn2xMlV7RIm+49lvQ/6Dn6jFT+X4b8iUQRc=; b=gjZ5zl2GcI0YvvnChmgm9ISj1LdTZW3JM/Vhop+41st+mgOEgc/XeeZpR5HUKILXv1 irA6gOcIVNrXsb212HDEigQZpgpbXAzuqYEiMmj+AQfOuNZT+Zzou3Nc3pgPEspchwuj w7F9BABSpPpeGHqoT5gMuMBRvBeKXsEF+O1IvlTJkpYCkPDTN8Ubut2nLD6au6qs61XP KuHHt/caMIjXo+IArKjzkPxtiEzsrtQJPud3zmdEv/tpqbC6cCWRI1DWn8FcXt8gRsk6 m+zEFnIOJqfkqamPKr5xffUSLi7+Uuj1wTwCTFPlUGyo1ecAYUiTxhtSZq4QAK3LChDW 6+lg== X-Forwarded-Encrypted: i=1; AJvYcCWAasZfWKfjJj5mRoTVIYSSt2Q3gwdTUsRx396G9NeDaeYYwrlSLYjo8pPMPZxEx5iqOrkVLgIDLxun0EQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yz0uJimZQLO8Av59lMfxLEc1YkxTFEA/jMlIpoMNVfcuKgzJxXl fq49zBmWSf74BYKjH6PvJ5nO9r5Qh6cV9Hlar5HGZ3PsocqSwffjS1XJi9/KRLlvSA== X-Gm-Gg: ATEYQzz+2vqQo+GAv3OSliB932hqH2M+afCAkSfcW2dtrqLwb4LgXF1L5hDZu+yT6X3 LKTe+5n0uHul7xigYRAjO2kQtoGUTRJ00Mdb8eFbxn6MNnrofr2yTO32IWT0Ezsw0yLtGwxiNbc sAXOBWNuY1R1xiPlii4UPUzDLsrSKiMUyu2aKOMrHjbeoj3QlCbYQ+6/5j1JRKUinzM6m3BEW1l jukC8M6ImAxIt/vVsz33w1/dmzd6yhXu6Np4U6o217yLUzBGnfh2aZ//+Y6X0Gus9bshnv784E0 tKbJ8zVaKDpcLAhZsyOpP3Fc9clspGEjzs3pUeDrUVOTnNukiWrCTX7Y/8982Ntij7lsibNxweE HDaVhQoYzfQ+nN6W9BsraOi9ZZ5kG9ITXPIpxEdSULKP9W4Rzw8xRXITKRYjAIkn3qCMoEuxL3x QeLbU61aXcfczGTAMea4jpTmVv8c8UDpF4ATmkmR7oQQFC4C5dAvXFYGFYBQfe6/uueKU= X-Received: by 2002:a17:903:2acd:b0:2ae:80a3:98a9 with SMTP id d9443c01a7336-2b0421fbe99mr66745ad.11.1773422931423; Fri, 13 Mar 2026 10:28:51 -0700 (PDT) Received: from google.com (197.23.125.34.bc.googleusercontent.com. [34.125.23.197]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82a072449fesm6928501b3a.13.2026.03.13.10.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2026 10:28:50 -0700 (PDT) Date: Fri, 13 Mar 2026 17:28:46 +0000 From: Sami Tolvanen To: Greg Kroah-Hartman Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Luis Chamberlain , Petr Pavlu , Daniel Gomez , Aaron Tomlin , Shyam Saini , Kees Cook , Thorsten Blum , Christoph Hellwig Subject: Re: [PATCH] module: remove MODULE_VERSION() Message-ID: <20260313172846.GD213695@google.com> References: <2026031341-evolve-repeater-987b@gregkh> <2026031303-prelaunch-creation-3fce@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2026031303-prelaunch-creation-3fce@gregkh> On Fri, Mar 13, 2026 at 04:46:06PM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 13, 2026 at 03:20:42PM +0100, Greg Kroah-Hartman wrote: > > Module "versions" do not make sense as the kernel is built all at once, > > the "version" is the overall kernel version number, so modules can not > > really be described as having a unique version given that they rely on > > the infrastructure of the whole kernel. > > > > For now, just make this an "empty" define, to keep existing code > > building properly as the tree is slowly purged of the use of this over > > time. > > > > This macro will be removed entirely in the future when there are no > > in-tree users. > > > > Cc: Luis Chamberlain > > Cc: Petr Pavlu > > Cc: Daniel Gomez > > Cc: Sami Tolvanen > > Cc: Aaron Tomlin > > Cc: Shyam Saini > > Cc: Kees Cook > > Cc: Thorsten Blum > > Cc: Christoph Hellwig > > Signed-off-by: Greg Kroah-Hartman > > --- > > include/linux/module.h | 56 +++++++++--------------------------------- > > kernel/params.c | 30 ---------------------- > > 2 files changed, 11 insertions(+), 75 deletions(-) > > > Sami just pointed out to me off-list that maybe I should also drop the > srcversion stuff too. I'll gladly do that too, does anyone know if > anyone even uses that anymore? Looks like a lof of distributions enable MODULE_SRCVERSION_ALL, but I'm not sure if they actually depend on the feature: https://oracle.github.io/kconfigs/?config=UTS_RELEASE&config=MODULE_SRCVERSION_ALL Sami