Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2101254imj; Sun, 17 Feb 2019 23:22:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ7PkcREjM9qdxKRKJfaybQNpoLxMYBRkbi90jDIN82HWr1qMv2FodeDqMEcyIsQNna6hao X-Received: by 2002:a65:620c:: with SMTP id d12mr21348536pgv.328.1550474574452; Sun, 17 Feb 2019 23:22:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550474574; cv=none; d=google.com; s=arc-20160816; b=MhH5/EbjCUkNLSVVGMeKdCZuThnMvIG9VKQI+pSyGX2lQFwZYtyE99gAQkWFwyWmJB Y4bIz3LXA6WLGmDOfQck3NfSU4qun77agDheDT+s5nidNtoEuRRok4pYEfQH8ERWWj7u MQguICGaoGBWcXxQxE3bujKxRV952TxKjieKUfr0HLN/FUxQ68e4W8KY1oJ6okabTrqS pMPNXfLEd8jzQiG1bQdvyV2Ijp+k/n/QH1X/tGXuI98rAoTI8qPSmYnJoZHWmOGynB4l XfYLanSnvIkj+QI1cfbaJjMzLwawojWKRWsV/2GE/HIZVVjhOSw5FdH6hUn8/tZzZy7O O1Fg== 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=EFqsu5kq8IKOae+Xwksxc2hxBmo8o3hEkNaFC68ve0Y=; b=JeDp80MSr6t38euSUh1U/8iak8fv8kVAT4AxNBeyExc42cxgNuUz/Q/Jc0JBboDGRF vFNrZ90/BW6DhUSlxLaHcHqIGeg+lsaldPNwMfr7MCU42d3gBtZotSwEe74XEVO6t5zF tTrmdRnyZA5E8MxrH2WQuDETk+stNofaeQ752hfgclAPR0YSQD+/xu9lxNUnPueADfRM w45h3z5ZuqWYg0ypmPkCOcilwudJ0jkt0pAE5dZzp7TmwgyrkTg10pYE7xpDs5WBH4Wm 3Mh4/1fFPocPQlKWmKqNhm4XThTqpSfoZRdBDm+h2Cj8xwkFclA9WbjHo3tMhDQtHcZV n6VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="ESgw5T/T"; 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 k64si11791137pgc.303.2019.02.17.23.22.38; Sun, 17 Feb 2019 23:22:54 -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="ESgw5T/T"; 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 S1728781AbfBRHV4 (ORCPT + 99 others); Mon, 18 Feb 2019 02:21:56 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:21849 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728775AbfBRHV4 (ORCPT ); Mon, 18 Feb 2019 02:21:56 -0500 Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) (authenticated) by conssluserg-05.nifty.com with ESMTP id x1I7LS4i014294; Mon, 18 Feb 2019 16:21:29 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x1I7LS4i014294 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1550474489; bh=EFqsu5kq8IKOae+Xwksxc2hxBmo8o3hEkNaFC68ve0Y=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ESgw5T/TBcOa6LnGuGo3qNSS9iwo4TXZLt1LHh81hlKWam3eDzgWiKwih0/KQT3xV cXzrmNOrpbf+efecsPz7kzp2sugHenxZ9r+7PjCIWTg7AB0Wv1+3DA3KiDz6ymexUZ mrYfkJTUXaPprFwr/SnsfA0W0UdjVRzErZA8fxnanOf5FCvcl/R0l4qjN/SGjv6sXg nnuXPD3NRhvf0526JReSQy5K0QM5eycow0WgNB0Dye/bSYfgXFRkmzZOiKyHiNTr0G 0rnSwLlWrR1p/R9THUJoJEM0H9+vu8OWCuYMXrxzxc/M2vQyQOIpsp3EiazHEaEzs2 MCjmKF4rQp4zQ== X-Nifty-SrcIP: [209.85.222.53] Received: by mail-ua1-f53.google.com with SMTP id j3so5506397uap.3; Sun, 17 Feb 2019 23:21:29 -0800 (PST) X-Gm-Message-State: AHQUAuaAfk/EtilsVeXrgJxtZ9IXADU9BFDYUqvll1x/k/gng80OUhY2 ksv8chZdqAY6k8E69H8S4Ri9Zd9AW43ZeKPynRI= X-Received: by 2002:ab0:648c:: with SMTP id p12mr6655199uam.93.1550474488067; Sun, 17 Feb 2019 23:21:28 -0800 (PST) MIME-Version: 1.0 References: <20190207123022.7961-1-2pi@mok.nu> In-Reply-To: <20190207123022.7961-1-2pi@mok.nu> From: Masahiro Yamada Date: Mon, 18 Feb 2019 16:20:52 +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 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. Please let me know what you want. Thanks. -- Best Regards Masahiro Yamada