Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4684377imb; Wed, 6 Mar 2019 20:57:38 -0800 (PST) X-Google-Smtp-Source: APXvYqxpiluubfBU9lDTTNYwieBUJvWr7pzon38RkIxYfWsH1qfHpSIacJaDKiR8PvKc6/SBWe5L X-Received: by 2002:a63:854a:: with SMTP id u71mr9450358pgd.141.1551934658864; Wed, 06 Mar 2019 20:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551934658; cv=none; d=google.com; s=arc-20160816; b=Qg5HPlIB7z1OBnNlyQIsCd52vyYimCRbQOakiowQt0kprTFRsHIcn7AWLZmpf7Jiyv dpEvGgtS2mYAkjyj/0rgxLMGqhLO0I9oK1PkG3Zob+IQFvD7+ZaOEydyU7wIDz8btbCI tj8JaamQscvC5/AOPD7HMz9dn/xXNTXxDFghcpfgjLfJuefhmw3X8a2iQsIh/FWArHyx iNqd2qdV5cImi6JGTvMX/DYePHxZuj0ZF/Wsp1N9YfbOvUmj5IPFJ8FRshLUu0/d0jVi Od0P5CvEbn7/3SwZX4IlObE0bP7a++YqD2s3npI0vkoHESIjrflYvQQzA1AlqWI/tkEu DPiA== 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=PpW95JxYtdXbkqbQPk1bd6lORF0vm9jJx2XfKgLDnqo=; b=grGpQUQ+gHnfqSGDKlD+HlcHNzYq4PSf9fjMmJYDflEWikjmeo/subX6vrXRORirzo 8HHfU9///65/7DYhypxd0eC6R9cC+83bDKuOMirQj3wSPa3G3l0C+R24MPF8+rdz72el pCwH6hPHBAa3blPhhw2WrytqZ8FWiouV/18Nf3hSEyAvWh8gXI8Ga1grXnkpzFwclx8r smWSTNuaq4TOcRg96ThGNxYHo+js9nYgVJAgWXBMrwAhgUQZDsdWACelheqHUbEbBJcr 6O3r/g5L7L5iS73r3ONKjvmJF6ucWOzSrGdrLfeJp9YbOM8hHulbwvVtcas947BB2Hcu Jguw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=tpugztEe; 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 g3si2819168pfh.86.2019.03.06.20.56.50; Wed, 06 Mar 2019 20:57:38 -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=tpugztEe; 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 S1726408AbfCGEzw (ORCPT + 99 others); Wed, 6 Mar 2019 23:55:52 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:22334 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbfCGEzw (ORCPT ); Wed, 6 Mar 2019 23:55:52 -0500 Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) (authenticated) by conssluserg-05.nifty.com with ESMTP id x274tSK2032053; Thu, 7 Mar 2019 13:55:29 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x274tSK2032053 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1551934529; bh=PpW95JxYtdXbkqbQPk1bd6lORF0vm9jJx2XfKgLDnqo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tpugztEe1nq7dtPn1N1FCpeE92dIkmohpjUQAt8DhTVp5s4rUA2dER9qm9otL8DG8 QWvBnmSVzzy75+kbjN8zl3yDngu2ZUhinrdC1E6G87FqHcAQpPpmGPvNIASV+WgfIh t6kAx0auiZre2pnSl+ER7tsYblLc4KqwSsZODIGX/rt92JG351KRVQ0tcDktBcp5zH dLb5adi4SGacS1zyfXnrA32q5wgXx95tf71lHvb35zRD76tpLeDFBukG183in4liy7 fAIua0Lm1PgTFj1iqGgPTbxWtauSvPutZDg/K2cXnOmxHwpOD6iByeRlt2heBZVVZ5 cWs/bcI/NqcOg== X-Nifty-SrcIP: [209.85.222.42] Received: by mail-ua1-f42.google.com with SMTP id d4so9786001uap.5; Wed, 06 Mar 2019 20:55:29 -0800 (PST) X-Gm-Message-State: APjAAAWdz51iQ3DOOCM/ggSf00UN6Igne5FJS2LwHXwtu8gDvWig3V/n 4Aqxrf66YMS2ILx66H2bat/e5QfHVXBlhqu671Y= X-Received: by 2002:ab0:c07:: with SMTP id a7mr5861604uak.55.1551934528072; Wed, 06 Mar 2019 20:55:28 -0800 (PST) MIME-Version: 1.0 References: <20190301160856.129678-1-joel@joelfernandes.org> <201903030526.3AuYFiuN%fengguang.wu@intel.com> <20190306181653.GB34256@google.com> In-Reply-To: <20190306181653.GB34256@google.com> From: Masahiro Yamada Date: Thu, 7 Mar 2019 13:54:51 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel To: Joel Fernandes Cc: kbuild test robot , kbuild-all@01.org, LKML , Andrew Morton , Alexei Starovoitov , atish patra , Daniel Colascione , Dan Williams , Dietmar Eggemann , Greg Kroah-Hartman , Guenter Roeck , Jonathan Corbet , Karim Yaghmour , Kees Cook , "Cc: Android Kernel" , "open list:DOCUMENTATION" , "open list:KERNEL SELFTEST FRAMEWORK" , linux-trace-devel@vger.kernel.org, Manoj Rao , Masami Hiramatsu , Qais Yousef , Randy Dunlap , Steven Rostedt , Shuah Khan , Yonghong Song 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 Thu, Mar 7, 2019 at 5:31 AM Joel Fernandes wrote: > > > > On Sat, Mar 2, 2019 at 2:00 PM kbuild test robot wrote: > > > > > > Hi Joel, > > > > > > Thank you for the patch! Yet something to improve: > > > > > > [auto build test ERROR on linus/master] > > > [also build test ERROR on v5.0-rc8] > > > [cannot apply to next-20190301] > > > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > > > > > url: https://github.com/0day-ci/linux/commits/Joel-Fernandes-Google/Provide-in-kernel-headers-for-making-it-easy-to-extend-the-kernel/20190303-014850 > > > config: sh-allmodconfig (attached as .config) > > > compiler: sh4-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0 > > > reproduce: > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # save the attached .config to linux build tree > > > GCC_VERSION=8.2.0 make.cross ARCH=sh > > > > > > All errors (new ones prefixed by >>): > > > > > > >> find: 'arch/sh/kernel/module.lds': No such file or directory > > > >> find: 'arch/sh/kernel/module.lds': No such file or directory > On Sun, Mar 03, 2019 at 08:11:59AM -0800, Joel Fernandes wrote: > > This report is for an older version of the patch so ignore it. The > > issue is already resolved. > > > > Apologies, this issue is real. However it does not cause any failure. It is > only causing find command to be a bit noisy. > > The below diff fixes it and I'll update the patch for v5: Let's take a look a little bit closer. $ find arch -name module.lds arch/ia64/module.lds arch/powerpc/kernel/module.lds arch/riscv/kernel/module.lds arch/arm/kernel/module.lds arch/m68k/kernel/module.lds arch/arm64/kernel/module.lds (1) module.lds may not exist for some architectures (2) module.lds may be located in a different directory (ia64) Your fix-up missed (2). > diff --git a/scripts/gen_ikh_data.sh b/scripts/gen_ikh_data.sh > index 1fa5628fcc30..9a7ea856acbc 100755 > --- a/scripts/gen_ikh_data.sh > +++ b/scripts/gen_ikh_data.sh > @@ -1,5 +1,6 @@ > #!/bin/bash > # SPDX-License-Identifier: GPL-2.0 > +set -e > > spath="$(dirname "$(readlink -f "$0")")" > kroot="$spath/.." > @@ -11,12 +12,14 @@ file_list=${@:2} > > src_file_list="" > for f in $file_list; do > + if [ ! -f "$kroot/$f" ] && [ ! -d "$kroot/$f" ]; then continue; fi > src_file_list="$src_file_list $(echo $f | grep -v OBJDIR)" > done > > obj_file_list="" > for f in $file_list; do > f=$(echo $f | grep OBJDIR | sed -e 's/OBJDIR\///g') > + if [ ! -f $f ] && [ ! -d $f ]; then continue; fi > obj_file_list="$obj_file_list $f"; > done > > -- > 2.21.0.352.gf09ad66450-goog > -- Best Regards Masahiro Yamada