All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: Joel Fernandes <joel@joelfernandes.org>
Cc: kbuild test robot <lkp@intel.com>,
	kbuild-all@01.org, LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Alexei Starovoitov <ast@kernel.org>,
	atish patra <atishp04@gmail.com>,
	Daniel Colascione <dancol@google.com>,
	Dan Williams <dan.j.williams@intel.com>,
	Dietmar Eggemann <dietmar.eggemann@arm.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Guenter Roeck <groeck@chromium.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Karim Yaghmour <karim.yaghmour@opersys.com>,
	Kees Cook <keescook@chromium.org>,
	"Cc: Android Kernel" <kernel-team@android.com>,
	"open list:DOCUMENTATION" <linux-doc@vger.kernel.org>,
	"open list:KERNEL SELFTEST FRAMEWORK" 
	<linux-kselftest@vger.kernel.org>,
	linux-trace-devel@vger.kernel.org,
	Manoj Rao <linux@manojrajarao.com>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Qais Yousef <qais.yousef@arm.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Shuah Khan <shuah@kernel.org>, Yonghong Song <yhs@fb.com>
Subject: Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel
Date: Thu, 7 Mar 2019 13:54:51 +0900	[thread overview]
Message-ID: <CAK7LNARA0_C2a8sRCfAr3EV4xF-z5vEq4KkwUcyr7jCKhRpKFg@mail.gmail.com> (raw)
In-Reply-To: <20190306181653.GB34256@google.com>

On Thu, Mar 7, 2019 at 5:31 AM Joel Fernandes <joel@joelfernandes.org> wrote:
>
>
> > On Sat, Mar 2, 2019 at 2:00 PM kbuild test robot <lkp@intel.com> 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

WARNING: multiple messages have this Message-ID (diff)
From: yamada.masahiro at socionext.com (Masahiro Yamada)
Subject: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel
Date: Thu, 7 Mar 2019 13:54:51 +0900	[thread overview]
Message-ID: <CAK7LNARA0_C2a8sRCfAr3EV4xF-z5vEq4KkwUcyr7jCKhRpKFg@mail.gmail.com> (raw)
In-Reply-To: <20190306181653.GB34256@google.com>

On Thu, Mar 7, 2019 at 5:31 AM Joel Fernandes <joel at joelfernandes.org> wrote:
>
>
> > On Sat, Mar 2, 2019 at 2:00 PM kbuild test robot <lkp at intel.com> 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

WARNING: multiple messages have this Message-ID (diff)
From: yamada.masahiro@socionext.com (Masahiro Yamada)
Subject: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel
Date: Thu, 7 Mar 2019 13:54:51 +0900	[thread overview]
Message-ID: <CAK7LNARA0_C2a8sRCfAr3EV4xF-z5vEq4KkwUcyr7jCKhRpKFg@mail.gmail.com> (raw)
Message-ID: <20190307045451.1gphc7dzjJCSURyWtCx2Oi8KAyAP0TD8PhabA8KppcE@z> (raw)
In-Reply-To: <20190306181653.GB34256@google.com>

On Thu, Mar 7, 2019@5:31 AM Joel Fernandes <joel@joelfernandes.org> wrote:
>
>
> > On Sat, Mar 2, 2019@2:00 PM kbuild test robot <lkp@intel.com> 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@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

  reply	other threads:[~2019-03-07  4:55 UTC|newest]

Thread overview: 142+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-01 16:08 [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel Joel Fernandes (Google)
2019-03-01 16:08 ` Joel Fernandes (Google)
2019-03-01 16:08 ` joel
2019-03-01 16:08 ` [PATCH v4 2/2] Add selftests for module build using in-kernel headers Joel Fernandes (Google)
2019-03-01 16:08   ` Joel Fernandes (Google)
2019-03-01 16:08   ` joel
2019-03-02 21:59 ` [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel kbuild test robot
2019-03-02 21:59   ` kbuild test robot
2019-03-02 21:59   ` lkp
2019-03-03 16:11   ` Joel Fernandes
2019-03-03 16:11     ` Joel Fernandes
2019-03-03 16:11     ` joelaf
2019-03-06 12:26     ` Masahiro Yamada
2019-03-06 12:26       ` Masahiro Yamada
2019-03-06 12:26       ` yamada.masahiro
2019-03-06 17:49       ` Joel Fernandes
2019-03-06 17:49         ` Joel Fernandes
2019-03-06 17:49         ` joel
2019-03-07  4:59         ` Masahiro Yamada
2019-03-07  4:59           ` Masahiro Yamada
2019-03-07  4:59           ` yamada.masahiro
2019-03-07 14:54           ` Joel Fernandes
2019-03-07 14:54             ` Joel Fernandes
2019-03-07 14:54             ` joel
2019-03-07 23:23       ` Justin Capella
2019-03-07 23:23         ` Justin Capella
2019-03-07 23:23         ` justincapella
2019-03-06 18:16     ` Joel Fernandes
2019-03-06 18:16       ` Joel Fernandes
2019-03-06 18:16       ` joel
2019-03-07  4:54       ` Masahiro Yamada [this message]
2019-03-07  4:54         ` Masahiro Yamada
2019-03-07  4:54         ` yamada.masahiro
2019-03-03  2:04 ` kbuild test robot
2019-03-03  2:04   ` kbuild test robot
2019-03-03  2:04   ` lkp
2019-03-04 14:00 ` Qais Yousef
2019-03-04 14:00   ` Qais Yousef
2019-03-04 14:00   ` qais.yousef
2019-03-05 16:27   ` Joel Fernandes
2019-03-05 16:27     ` Joel Fernandes
2019-03-05 16:27     ` joel
2019-03-04 22:48 ` Dietmar Eggemann
2019-03-04 22:48   ` Dietmar Eggemann
2019-03-04 22:48   ` dietmar.eggemann
2019-03-05 16:25   ` Joel Fernandes
2019-03-05 16:25     ` Joel Fernandes
2019-03-05 16:25     ` joel
2019-03-07  8:58 ` Geert Uytterhoeven
2019-03-07  8:58   ` Geert Uytterhoeven
2019-03-07  8:58   ` geert
2019-03-07 15:03   ` Joel Fernandes
2019-03-07 15:03     ` Joel Fernandes
2019-03-07 15:03     ` joel
2019-03-07 15:23     ` Greg KH
2019-03-07 15:23       ` Greg KH
2019-03-07 15:23       ` gregkh
2019-03-07 16:54       ` Joel Fernandes
2019-03-07 16:54         ` Joel Fernandes
2019-03-07 16:54         ` joel
     [not found]       ` <20190318185742.109dee5c@alans-desktop>
2019-03-18 19:11         ` Daniel Colascione
2019-03-18 21:11         ` Karim Yaghmour
2019-03-18 21:11           ` Karim Yaghmour
2019-03-18 21:11           ` karim.yaghmour
2019-03-08  8:53     ` Geert Uytterhoeven
2019-03-08  8:53       ` Geert Uytterhoeven
2019-03-08  8:53       ` geert
2019-03-08 13:42       ` Joel Fernandes
2019-03-08 13:42         ` Joel Fernandes
2019-03-08 13:42         ` joel
2019-03-08 13:57         ` Enrico Weigelt, metux IT consult
2019-03-08 13:57           ` Enrico Weigelt, metux IT consult
2019-03-08 13:57           ` lkml
2019-03-08 14:04           ` Greg KH
2019-03-08 14:04             ` Greg KH
2019-03-08 14:04             ` gregkh
2019-03-08 14:02         ` Greg KH
2019-03-08 14:02           ` Greg KH
2019-03-08 14:02           ` gregkh
2019-03-08 17:58           ` Joel Fernandes
2019-03-08 17:58             ` Joel Fernandes
2019-03-08 17:58             ` joel
2019-03-08 17:59           ` Geert Uytterhoeven
2019-03-08 17:59             ` Geert Uytterhoeven
2019-03-08 17:59             ` geert
2019-03-09  7:16             ` Greg KH
2019-03-09  7:16               ` Greg KH
2019-03-09  7:16               ` gregkh
2019-03-09 11:40               ` Geert Uytterhoeven
2019-03-09 11:40                 ` Geert Uytterhoeven
2019-03-09 11:40                 ` geert
2019-03-09 12:11                 ` Greg KH
2019-03-09 12:11                   ` Greg KH
2019-03-09 12:11                   ` gregkh
2019-03-09 16:51                   ` Karim Yaghmour
2019-03-09 16:51                     ` Karim Yaghmour
2019-03-09 16:51                     ` karim.yaghmour
2019-03-09 19:26                     ` Geert Uytterhoeven
2019-03-09 19:26                       ` Geert Uytterhoeven
2019-03-09 19:26                       ` geert
2019-03-09 21:44                       ` Karim Yaghmour
2019-03-09 21:44                         ` Karim Yaghmour
2019-03-09 21:44                         ` karim.yaghmour
2019-03-11  8:03                         ` Geert Uytterhoeven
2019-03-11  8:03                           ` Geert Uytterhoeven
2019-03-11  8:03                           ` geert
2019-03-12 15:15                           ` Karim Yaghmour
2019-03-12 15:15                             ` Karim Yaghmour
2019-03-12 15:15                             ` karim.yaghmour
2019-03-11 23:36                         ` Steven Rostedt
2019-03-11 23:36                           ` Steven Rostedt
2019-03-11 23:36                           ` rostedt
2019-03-11 23:58                           ` Daniel Colascione
2019-03-11 23:58                             ` Daniel Colascione
2019-03-11 23:58                             ` dancol
2019-03-12  0:39                             ` Joel Fernandes
2019-03-12  0:39                               ` Joel Fernandes
2019-03-12  0:39                               ` joel
2019-03-12  1:28                               ` Steven Rostedt
2019-03-12  1:28                                 ` Steven Rostedt
2019-03-12  1:28                                 ` rostedt
2019-03-12  1:38                                 ` Joel Fernandes
2019-03-12  1:38                                   ` Joel Fernandes
2019-03-12  1:38                                   ` joelaf
2019-03-13  1:18                                   ` Masami Hiramatsu
2019-03-13  1:18                                     ` Masami Hiramatsu
2019-03-13  1:18                                     ` mhiramat
2019-03-14 12:27                                     ` Joel Fernandes
2019-03-14 12:27                                       ` Joel Fernandes
2019-03-14 12:27                                       ` joel
2019-03-15 13:14                                       ` Masami Hiramatsu
2019-03-15 13:14                                         ` Masami Hiramatsu
2019-03-15 13:14                                         ` mhiramat
2019-03-12  1:45                                 ` Alexei Starovoitov
2019-03-12  1:45                                   ` Alexei Starovoitov
2019-03-12  1:45                                   ` alexei.starovoitov
2019-03-12 15:26                                   ` Steven Rostedt
2019-03-12 15:26                                     ` Steven Rostedt
2019-03-12 15:26                                     ` rostedt
2019-03-12  1:22                             ` Steven Rostedt
2019-03-12  1:22                               ` Steven Rostedt
2019-03-12  1:22                               ` rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK7LNARA0_C2a8sRCfAr3EV4xF-z5vEq4KkwUcyr7jCKhRpKFg@mail.gmail.com \
    --to=yamada.masahiro@socionext.com \
    --cc=akpm@linux-foundation.org \
    --cc=ast@kernel.org \
    --cc=atishp04@gmail.com \
    --cc=corbet@lwn.net \
    --cc=dan.j.williams@intel.com \
    --cc=dancol@google.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=groeck@chromium.org \
    --cc=joel@joelfernandes.org \
    --cc=karim.yaghmour@opersys.com \
    --cc=kbuild-all@01.org \
    --cc=keescook@chromium.org \
    --cc=kernel-team@android.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=linux@manojrajarao.com \
    --cc=lkp@intel.com \
    --cc=mhiramat@kernel.org \
    --cc=qais.yousef@arm.com \
    --cc=rdunlap@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=shuah@kernel.org \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.