Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3938644imj; Tue, 19 Feb 2019 12:10:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IY3cjGETHAepdCCMpSE1speNxwttZa7z11ThF6zE7cCyvUj59yCCX31i7A1GEuaa6XaotsC X-Received: by 2002:a17:902:9306:: with SMTP id bc6mr13100364plb.59.1550607004351; Tue, 19 Feb 2019 12:10:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550607004; cv=none; d=google.com; s=arc-20160816; b=Gck8ZQMru7w3SJkEBWPY0EDiUxP4BC3Zo4hm9FmT343xnZo6iZf7o6nJeDXAdIcGyM D2W6tG7FoULf4b2Qdh5Rk9FBGyodlQDnQW5j5M3Pfy3u79wG4sBrEHZ4PeEIw89Nb4qF cCv4fWiNA/Fih/sRDDqyUbCCJP+vivtteilw14/N+ksiIGLpVghkiaKeJ2AJdZe1XqEe 6yBi3qmMMHzENpYUsl43lR3CZlEvtw4tBTsX/ll4fPA3pxNxBoq56Ah30gXFrYYzMrtZ pftUONqxc7o/VTTjFI0p3w/GLJjNyz94vwkJGmNYyo7FjtFGUXvUb5UYqo93EQsaJZZH JMoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4lBxqlF64jYD+HUvnfE+767AeUaMzEjvFuq8GIbzLko=; b=f5KvGywys8jf3zCMMAn7Xct4V3J2Ci5SmeZ8uDJfloJL3zyU7ZKpj1/jNOs+0AOs3/ GGaP7DqDDMEmMNEBgdnpRHFprsfHNoC8kiDqgMJbvLcYTv0znqctYwjHzzrE81gxMm7l 5WB0XeOiCYIjUUWfnKL3UmFdjTx/k/U7EtkBLvVyLU9Kiv6qU5QbrARS8aQgTht9QgJd mjpSRZprVixr405HgAqKmsV1t4ci/mZzXwYdKdOthPffSHBiZQDwQtBoCy+pE291gCCm n7petFgHXIko16UaYIF9PQ1qvaf8jxlKEpFShz+x02yLEkhfbfmgE6ER2rwEwqHrgsXy wX/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mok.nu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si16366763pfi.157.2019.02.19.12.09.49; Tue, 19 Feb 2019 12:10:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mok.nu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729717AbfBSUIy (ORCPT + 99 others); Tue, 19 Feb 2019 15:08:54 -0500 Received: from route-level1.fsdata.se ([89.221.252.216]:58009 "EHLO route-level1.fsdata.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726110AbfBSUIy (ORCPT ); Tue, 19 Feb 2019 15:08:54 -0500 Received: from DAG01.HMC.local (192.168.46.11) by EDGE01LEVEL1.hmc.local (192.168.46.33) with Microsoft SMTP Server (TLS) id 15.0.847.32; Tue, 19 Feb 2019 21:08:32 +0100 Received: from localhost (94.234.42.81) by DAG01.HMC.local (192.168.46.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 19 Feb 2019 21:08:39 +0100 Date: Tue, 19 Feb 2019 21:08:37 +0100 From: Mattias Jacobsson <2pi@mok.nu> To: Masahiro Yamada CC: Michal Marek , Linux Kbuild mailing list , Linux Kernel Mailing List , <2pi@mok.nu> Subject: Re: [PATCH] modpost: file2alias: define size of alias Message-ID: <20190219200837.d34cxg2d7gqxlvhs@mok.nu> References: <20190207123022.7961-1-2pi@mok.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [94.234.42.81] X-ClientProxiedBy: PROXY05.HMC.local (192.168.46.55) To DAG01.HMC.local (192.168.46.11) Received-SPF: Neutral (EDGE01LEVEL1.hmc.local: 192.168.46.11 is neither permitted nor denied by domain of 2pi@mok.nu) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro, On 2019-02-18, Masahiro Yamada wrote: > Hi Mattias, > > On Thu, Feb 7, 2019 at 9:31 PM Mattias Jacobsson <2pi@mok.nu> wrote: > > > > The size of the variable alias provided to do_entry functions are > > currently not readily available. Thus hindering do_entry functions to > > perform bounds checking. > > > > Define the macro ALIAS_SIZE containing the size of the variable alias. > > > > Signed-off-by: Mattias Jacobsson <2pi@mok.nu> > > > Sorry for late reply. > > I can apply this to my kbuild tree shortly, but > it looks like a prerequisite for your > "platform/x86: wmi: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()" > > > If you want all the patches to go through x86 platform-driver tree, > I am fine with that too. I don't mind either way, however I've asked the x86 platform-driver maintainers if they have a preference in this matter. You should have received that mail otherwise see [1]. [1]: https://lkml.kernel.org/r/082d3d38b7dde6050b6b3e518ada439eade65b2c.1550603967.git.2pi@mok.nu > > Please let me know what you want. > > Thanks. > > > > -- > Best Regards > Masahiro Yamada Thanks, Mattias