Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2820806imc; Sat, 23 Feb 2019 11:58:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IZIw+f2NX/ozjMCHs90Y4rNqPr7BWGsq3pFQS0lLQpqYrudHvmQ+mNU0bn1+svee0EovhGY X-Received: by 2002:a63:fa10:: with SMTP id y16mr9803706pgh.88.1550951928885; Sat, 23 Feb 2019 11:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550951928; cv=none; d=google.com; s=arc-20160816; b=F7xR4XYg288xTINo80XX2tzPSuApphCWtE7wVDssx1UUmPBClvsr+IP8/R0rS++9fv LMyMNIjMAPTdDpwFjas+inP5nVzWsgqAM5dnLwBC4GMSnBu2MMkD020eNa/2Ov8VYwn7 GXQbJVSlqQpYEyJtlV2WDQK+Kx2ZrDRCm+Gl+hwGbKMU0+AJOp6obXyYWjq1ugNaX46Q gk5rLrKdk7txn8wmfDZNnTEZy4/BMsKtwC9xT0Yyyx72N4wfGRz8XaDEoi+NSzJpacDW F1DyL2LOa0rouioA+k7jdbVzbJg0Q73OUr/SxrdJ5qVS27CbC9ST7N+AiVtXhg0uaHzg HZMA== 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=cRw8W1vsaql2gwKE68XwTndoe4ZheUlff19TjIsNXyc=; b=Uc1IZFROeM3IdMHdL3ykatwdDPIz3Nlil3pV/9ISKsBFnDqTwXCEsQLCzGjGLXJ9Wt 0dBUG9pjSfB9TYCrA4VcFaeOo+cWVWgevC9loo6uZuECDGYIaFdsHG2Zvj+vqAlqaDD+ FlHRPMHVdIVMPYgicRA6tY73Z+k4wT/Dp3ZDqgNGpYp6V5O7ef5TQ/niDYyaVODmFBpq kpjhbz+/Psdx29+2xX9QR/jKhRR1ekPR3Q7aqeN41CWq5uf+I3brYLtKx3taCDuK3Zmj Bykbix2YZVdHSj5BlALtorBH15JIVeEWNhUPndquJMO94RT6ieDQbL04XxFybg6BO/YF pBnA== 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 p4si4108853plr.42.2019.02.23.11.58.30; Sat, 23 Feb 2019 11:58:48 -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 S1727074AbfBWT6J (ORCPT + 99 others); Sat, 23 Feb 2019 14:58:09 -0500 Received: from proxy04.fsdata.se ([89.221.252.227]:55184 "EHLO mail-gw01.fsdata.se" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726183AbfBWT6I (ORCPT ); Sat, 23 Feb 2019 14:58:08 -0500 Received: from localhost (94.234.45.197) by DAG01.HMC.local (192.168.46.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sat, 23 Feb 2019 20:57:51 +0100 Date: Sat, 23 Feb 2019 20:57:50 +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: <20190223195749.7yswuedfv4qbiyik@mok.nu> References: <20190207123022.7961-1-2pi@mok.nu> <20190219200837.d34cxg2d7gqxlvhs@mok.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [94.234.45.197] X-ClientProxiedBy: PROXY01.HMC.local (192.168.46.51) To DAG01.HMC.local (192.168.46.11) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-02-20, Masahiro Yamada wrote: > 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 > Okey, will do. Thanks! > > > > > > > Please let me know what you want. > > > > > > Thanks. > > > > > > > > > > > > -- > > > Best Regards > > > Masahiro Yamada > > > > Thanks, > > Mattias > > > > -- > Best Regards > Masahiro Yamada Thanks, Mattias