Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4402526imb; Wed, 6 Mar 2019 12:31:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxhn9CGyriSvntAKw3vzUSGJ4kfVt5utu3QuvTUf738R5vXRlMo9sivK4iMUnIfbXU1G+Ln X-Received: by 2002:a17:902:b402:: with SMTP id x2mr8800362plr.53.1551904292078; Wed, 06 Mar 2019 12:31:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551904292; cv=none; d=google.com; s=arc-20160816; b=qJd0O6+lcb0CkEikQQUw++SBJYVKONLnIAS/8WL+8AInWrMyYmu4A9fwQ87sE8cA0v e8RVoVTYu+oCdiQIdyq+DUK0BARn/ZNlDRrk6pQ1JTn2vgLwEDhChdug8YLVwvPHlqoF OUoN8jTikt2encwmwqlmT248F9JymWV9ySmkZIqWOQYIM89+948Z2EMlarzx5CPyFxuS MNc0t3j2LOgmOETGTqiKy9N0JzfbbtRd+wTmbtPKdFVi3okKGDGqsU7ECVXijXxL2z59 TGqYzX+nu8aCQUKmvhkrDfElZWAzW2Sm5VZFWpiitvU5STqwF2UntJqnurTeFsaEEMJt hl2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5I1cnz3QaZ6rw5yJX9izpTDc/C1IFx2uWmv13xl7pe8=; b=sXHO43dWMFMjC9AOhHds/wVTFD+kB2stWPcuNSA7qPooDwr3Dgo98eLrQzxqf1C2eP 01+ljlDUC+xCd7MKR26I+PSQKN9V9FrxywWK0Ea/vdU9X43Q/DKvQr9k/id3Fo5D1kkt 0cMUBvoruv3UypQztZwGD6IWh9e2Cs7PvrgCRJHhw6jYVyxWc7+eEPMWeaxx1gtlV4cb A/KtRBEEBlKEWaYyjNd9PTNoTGqq6PUhSyyzvf0aLnCmekFDpUdqfP6YTu2k3PNdXnMM aAq/d58C4JPN5EOPsr9gUFxkZmkXvaPDJ75GZP/4YHdEvsutBmCWQfdjI6fQ0toZfrv0 yDkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=P2v8NP07; 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 f9si2076993pgi.76.2019.03.06.12.31.12; Wed, 06 Mar 2019 12:31:32 -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=@joelfernandes.org header.s=google header.b=P2v8NP07; 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 S1730789AbfCFSQ5 (ORCPT + 99 others); Wed, 6 Mar 2019 13:16:57 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35367 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729645AbfCFSQ4 (ORCPT ); Wed, 6 Mar 2019 13:16:56 -0500 Received: by mail-qk1-f194.google.com with SMTP id z13so7373508qki.2 for ; Wed, 06 Mar 2019 10:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5I1cnz3QaZ6rw5yJX9izpTDc/C1IFx2uWmv13xl7pe8=; b=P2v8NP07bmvXNsYtRajbosxBYGRBm8bR3dxbyxUC5Uqw6rItRA9lcdtuitPXxQ6A1X hnYWp8f18zZsK8Pxv64+pa+/KTN7QXaobTLO5Mm3udmSJDKnK//qiHb/uuE4Zv4BhfUN AWvHsoy8QZ7VKbolZLp0SXG76SAWeJVm0lUlU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5I1cnz3QaZ6rw5yJX9izpTDc/C1IFx2uWmv13xl7pe8=; b=KucAqpMx6c+m2B0CNRASwezfnMy2g2SAuQ5czgs3pEI0AOjLeTzVUwL6EbyCLaA8YO wC9BujX38JuISusk37IBr5LEyEqGcCxEsYxvH4UTiN09er9PJ0mZmfqtbdMqOI6jJH+f p5+uQk1iiqk1PV2gekVVmFpP3o/1zhIfm84ZlyBlhvbQlt0Ybh+SxSZuiyx+pGNc9Esm G2ExhWt0LWmnTS2JiTW0JWjZsbVfbitaO1RiY1fV6Dvs+nDuBkvkfrtXscOL1DLfFcKv DXZXJ6HmuAc4nuwmNDXWhCI93vzDwFoLQlizw/k5B4S9wXZzyCNkXFx8TvAsDYpSh7Wr bwiw== X-Gm-Message-State: APjAAAVFSLF7IIWgvFHk/onudnGIqtOgCNsXRVRL8hw2g/b8wPYwLDS7 AxvoLQ3lEy1Wc6QDLiKVCHIxQaesUL4= X-Received: by 2002:a37:478b:: with SMTP id u133mr6591402qka.280.1551896215228; Wed, 06 Mar 2019 10:16:55 -0800 (PST) Received: from localhost ([2620:0:1004:1100:cca9:fccc:8667:9bdc]) by smtp.gmail.com with ESMTPSA id o4sm1329000qke.30.2019.03.06.10.16.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Mar 2019 10:16:54 -0800 (PST) Date: Wed, 6 Mar 2019 13:16:53 -0500 From: Joel Fernandes To: kbuild test robot Cc: 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" , linux-kselftest@vger.kernel.org, linux-trace-devel@vger.kernel.org, Manoj Rao , Masahiro Yamada , Masami Hiramatsu , Qais Yousef , Randy Dunlap , Steven Rostedt , Shuah Khan , Yonghong Song Subject: Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel Message-ID: <20190306181653.GB34256@google.com> References: <20190301160856.129678-1-joel@joelfernandes.org> <201903030526.3AuYFiuN%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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: 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