Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1594148rwb; Thu, 19 Jan 2023 12:46:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXt3SpyLY4nvZNLLwN4QJiu5fER3Zut7v+vtW9whHseVTxykcKvd1nZNxQqL03wqK9nQiCwd X-Received: by 2002:a05:6a20:ca5f:b0:b6:157d:bf48 with SMTP id hg31-20020a056a20ca5f00b000b6157dbf48mr8683735pzb.43.1674161186443; Thu, 19 Jan 2023 12:46:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674161186; cv=none; d=google.com; s=arc-20160816; b=OJyvQ10VYOs2IBfb4AwvQYn5bL4e6zXaht5r7OQU+2qzE0RNfgs4AfDInbR6RlTlNO 5LsMIVnxzmSqfw6W6ahTWYotqGPDB5goNXoJJwFBorRCYeJ3Ln73CFI0e+6uLGa1M/J9 IlBLGZDEbiVcL4Bo2/vEbZIf5h0XlD1KEKIENpqXRqN/01TGuHufdBkjxNtwLjsI2oKi QEmllD614D5xMrVJDh/0T4D6ctEzT0beAAwq4NJj0kqnp+DQEMq2tt47pelwWSZg5AJm /uxSiXE/VvfEPAWcwfz8hSw19DkjCMW22Ku9ETfdrtGf+CFrgztp8N+py+Hxyc5uji9+ /W2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2y96hSgZOdNiQi3iVUDGW1zmbq/2ZeqfDpIjbWl/+AM=; b=WM/n+LOmvlAicm6p3AyFF5vsJ2MKr8V4w/eRMtCpnwWRpU8K9DWWPyGAtmdRQHqoJG YYOonrrKdWlXOZ58WPfRnD8zdtx5t/DwXRI0SoHjmJZVi5SRBGJ3zjR4P46A+MHxWiCz 7wxKctpPUrCRy16QhoasY7+7dH/MzHvolLhlw63Srq2C7IHIiUVsLT/uFORuOjkxfScY 5DYmbvnz27Dg6X8iGq/J/j0UveyVNzHcn7A/grxY8vCDQQL5MUrPRMUK/pBhyXhtKI8y uWwzlrW6ELRURHs01jyxvPxh4ATn26cPvmkithtoS4lmAkSu9RRjGwzp7Oq7Lgqof5kL gB/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ReQBSuZn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m69-20020a633f48000000b00477931a9ba7si41102853pga.279.2023.01.19.12.46.19; Thu, 19 Jan 2023 12:46:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ReQBSuZn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231459AbjASTV0 (ORCPT + 46 others); Thu, 19 Jan 2023 14:21:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229771AbjASTU6 (ORCPT ); Thu, 19 Jan 2023 14:20:58 -0500 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5388F9CBB5; Thu, 19 Jan 2023 11:20:08 -0800 (PST) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-4fda31c3351so12357377b3.11; Thu, 19 Jan 2023 11:20:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2y96hSgZOdNiQi3iVUDGW1zmbq/2ZeqfDpIjbWl/+AM=; b=ReQBSuZnjQ/Hzn9MjrayyI00pkEWhj7Djpqlg/g38iGqjIo4Sq7re3LPR5NKsWo9Nm rmijSW7CCq1C2Qdp7/ky7GCkKbPD6xEDKXk305vsRjjmvhP21tX3QKgIjkm4F3ckbHnU 3rsLopUK6HQfuzAeTV8Gfeem6hCoLYXkKH10aIMTpV67Itec0/0QpXWGecCbZyWvBxWi HMb29GK2QtB8DekCsdq6oAVcEzk4KtxgxCvfmYU+Dt+rTUuSwLkYqHnEr/te+cjWSrxM NZ3B4MJ4fDhLb0uqTI/T9CcOhWI9zQWWGgQxqW0IustVc/+u90vkW/tlIPMHHewHNDmv Ynbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2y96hSgZOdNiQi3iVUDGW1zmbq/2ZeqfDpIjbWl/+AM=; b=s47YwG/hj2TSxc9ceJNIXtcSGSptBOHvndYZieGB6XQmaQtL3z/iBAbCTWu1cWNkum dzmceLzNiNz7kJc40IwB8wp/olu7YWJq0RvM5dPbLrsa8V82ZlKln+i6PvA5k122KlMm 3LR62dN8D52KwrKalMlVe66mibNGcV6PyFalaPTLT26DvPW+iLxaGK3gpG8HB4cn7qnL sKDaOULv4x36GF4IYvmKHpXgpNx91IdVBowJ9uYuahtyhrYqCw+fnhGDlWfbGUSdz1NB Umw51BHSkdm7RhCb1X2waM0uS3dbnU63eHq0WaC5D6zlLk5IdD34c6QFVX8Qof+y6T3U KzlQ== X-Gm-Message-State: AFqh2kpnDO9Js3SdTficsXztiMDjDC+y7PGzoWHV4O8uHpI9K5PIciwP 7G/ZV0Jednc9CQukPTFuKMo9q1rMS09n0SViP1w= X-Received: by 2002:a81:5402:0:b0:3d8:8c0e:6d48 with SMTP id i2-20020a815402000000b003d88c0e6d48mr1018356ywb.462.1674156007567; Thu, 19 Jan 2023 11:20:07 -0800 (PST) MIME-Version: 1.0 References: <20230111161155.1349375-1-gary@garyguo.net> <20230112214059.o4vq474c47edjup6@ldmartin-desk2> <20230113181841.4d378a24.gary@garyguo.net> <20230117175144.GI16547@kitsune.suse.cz> <20230117192059.z5v5lfc2bzxk4ad2@ldmartin-desk2.lan> In-Reply-To: From: Miguel Ojeda Date: Thu, 19 Jan 2023 20:19:56 +0100 Message-ID: Subject: Re: [PATCH] modpost: support arbitrary symbol length in modversion To: Masahiro Yamada Cc: Lucas De Marchi , =?UTF-8?Q?Michal_Such=C3=A1nek?= , Gary Guo , Kees Cook , linux-kbuild@vger.kernel.org, Wedson Almeida Filho , Joel Stanley , Alex Gaynor , Miguel Ojeda , Wedson Almeida Filho , Nicolas Schier , rust-for-linux@vger.kernel.org, Guo Zhengkui , Boqun Feng , Nicholas Piggin , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org, Julia Lawall , Luis Chamberlain , linuxppc-dev@lists.ozlabs.org, linux-modules@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 18, 2023 at 8:02 AM Masahiro Yamada wrote: > > - *.mod.c is kept human readable. On the topic of `.mod.c` readability: for approaches that may be less readable, we could improve that by adding some extra comments or rearrange things in a different way (it is a generated file, after all!). For instance, for the original approach: https://godbolt.org/z/6oh45axnc Cheers, Miguel