Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4112159imj; Tue, 19 Feb 2019 15:48:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IbK+4S+zV8tVzzDwamWExBSoM63yGF6fE3wvbsytS/+b/Ea4LFDVroiBokES96m8KpZBtqa X-Received: by 2002:aa7:83c6:: with SMTP id j6mr31674981pfn.91.1550620108636; Tue, 19 Feb 2019 15:48:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550620108; cv=none; d=google.com; s=arc-20160816; b=GRbzyxYinxJh5WABXgC/zSIY9/0Tng8idjdS9KMh1VzQXLeKk5ynOamftinZ8amAXx lLJUgcU/3InVgg3E3bTKjx9ScfKvOU7TF7vLA4nlaDGjkQ4by2xK/HAxTh7QMpr+bCHm EWZZG9xEaD9t1yL3G3/xA7/FBmS8/k9o8bnZslTMZU1yhbPMyhkJ1iVfp8Wt331DVeVi RnqXQY+PsC197auDxVymlOwvYowF891XwiwMPLwHZJYOujX281ptcT1oEPuxfkkLlUDM Q5LGJ4VI1cE+s4gBH2bZN9VzIlv2OpCuLCRuiCyl0aM1heZUmFuQducdGXKF1f1yZiPv gFhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=kJUoHuqr32i8RnX7QL8ismQ7zHoW0S4RUk5y5Ujmhk8=; b=m1/5Qx01ximBNq0E0MxLSxt/H1zySDqhmc57XH+fY/QuYoFp4v4i+OnCaC2h0kOcAt R3Csl0iA5DdHetsB4f96emn5jak0BAlX4J4bvtlqZZv9ZOQ2TxpQao+oKpS9p8j7uxyW VO1HB0joPQzlUjy8MfJZPXnfM58d4NRWMdmfZDLn+XxLbFCJWsF9ARwIPHe218CzpVQG lqv7aZKI82UavkAN/740TSdYZJKkcErWjEj8iJCGHu29KUajHXSQe5LTVetCDksQj+tc K/KQQKuhqUqNWPi48tqfb4tfcFWdiRDdNaeGK4bvr7c2XZbntQSeZBm2S5iEwcFV+5nR wzGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=gTtTSGhG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si16503564pfn.138.2019.02.19.15.48.13; Tue, 19 Feb 2019 15:48:28 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=gTtTSGhG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729221AbfBSXrs (ORCPT + 99 others); Tue, 19 Feb 2019 18:47:48 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:64632 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbfBSXrs (ORCPT ); Tue, 19 Feb 2019 18:47:48 -0500 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x1JNlbuU005047; Wed, 20 Feb 2019 08:47:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x1JNlbuU005047 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1550620058; bh=kJUoHuqr32i8RnX7QL8ismQ7zHoW0S4RUk5y5Ujmhk8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gTtTSGhGinMk7Aha6hfZCKqE4mwMOePa2+r5vu0LthQusxWTRottQU97GgWY7sBev 1d87r3UxwRjSLwMVO+zc01+SKg/fXd7yuwHicW4PbDhdj8WA3VwIQh3zoW/nHnWdg5 x7peQpF+04Sygv3Vb9/Td7u/0ORLjz0WAVfr+aVgfCJUkgdP5oiX477oi9Uk1BX/Z3 PvR4yHvyUKd5VQWPuaerkEWyMqqoPxoNeketscBVD3ly2uzzjcGDQBb5mk4wz2V+Rq tNAiFg5NuQMzro34rYUZFACPz/PRY3EfZtHjWxjTGzAa9uL7lXZ1SJ8/EigtFlGWeb QBDpycblillMg== X-Nifty-SrcIP: [209.85.217.49] Received: by mail-vs1-f49.google.com with SMTP id u64so12829057vsc.12; Tue, 19 Feb 2019 15:47:38 -0800 (PST) X-Gm-Message-State: AHQUAua9atZDXKCn2uhjPF+YmNUzdgwN18AYcWagU4WnuvvOnMjEfhx3 GeBWj4UmYo8/+gMK1bjH7qJV79yymdKNt2wwYlE= X-Received: by 2002:a67:7f43:: with SMTP id a64mr16644338vsd.155.1550620056964; Tue, 19 Feb 2019 15:47:36 -0800 (PST) MIME-Version: 1.0 References: <20190207123022.7961-1-2pi@mok.nu> <20190219200837.d34cxg2d7gqxlvhs@mok.nu> In-Reply-To: <20190219200837.d34cxg2d7gqxlvhs@mok.nu> From: Masahiro Yamada Date: Wed, 20 Feb 2019 08:47:01 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] modpost: file2alias: define size of alias To: Mattias Jacobsson <2pi@mok.nu> Cc: Michal Marek , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 20, 2019 at 5:09 AM Mattias Jacobsson <2pi@mok.nu> wrote: > > 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 I saw it. The 2/8 uses ALIAS_SIZE. So, I think it will be better to include this one in your series. If necessary, please feel free to add Acked-by: Masahiro Yamada > > > > Please let me know what you want. > > > > Thanks. > > > > > > > > -- > > Best Regards > > Masahiro Yamada > > Thanks, > Mattias -- Best Regards Masahiro Yamada