Re: [PATCH] modpost: remove use of non-standard strsep() in HOSTCC code

2020-06-28 Thread Masahiro Yamada
On Sun, Jun 28, 2020 at 5:20 PM H. Nikolaus Schaller wrote: > > > > Am 28.06.2020 um 09:52 schrieb Masahiro Yamada : > > > > On Sun, Jun 28, 2020 at 3:17 PM H. Nikolaus Schaller > > wrote: > >> > >> Hi, > >> > >>> Am 28.06.2020 um 07:51 schrieb Masahiro Yamada : > >>> > >>> On Thu, Jun 25, 2020

Re: [PATCH] modpost: remove use of non-standard strsep() in HOSTCC code

2020-06-28 Thread H. Nikolaus Schaller
> Am 28.06.2020 um 09:52 schrieb Masahiro Yamada : > > On Sun, Jun 28, 2020 at 3:17 PM H. Nikolaus Schaller > wrote: >> >> Hi, >> >>> Am 28.06.2020 um 07:51 schrieb Masahiro Yamada : >>> >>> On Thu, Jun 25, 2020 at 5:47 PM H. Nikolaus Schaller >>> wrote: strsep() is neither sta

Re: [PATCH] modpost: remove use of non-standard strsep() in HOSTCC code

2020-06-28 Thread Masahiro Yamada
On Sun, Jun 28, 2020 at 3:17 PM H. Nikolaus Schaller wrote: > > Hi, > > > Am 28.06.2020 um 07:51 schrieb Masahiro Yamada : > > > > On Thu, Jun 25, 2020 at 5:47 PM H. Nikolaus Schaller > > wrote: > >> > >> strsep() is neither standard C nor POSIX and used outside > >> the kernel code here. Using

Re: [PATCH] modpost: remove use of non-standard strsep() in HOSTCC code

2020-06-27 Thread H. Nikolaus Schaller
Hi, > Am 28.06.2020 um 07:51 schrieb Masahiro Yamada : > > On Thu, Jun 25, 2020 at 5:47 PM H. Nikolaus Schaller > wrote: >> >> strsep() is neither standard C nor POSIX and used outside >> the kernel code here. Using it here requires that the >> build host supports it out of the box which is e.

Re: [PATCH] modpost: remove use of non-standard strsep() in HOSTCC code

2020-06-27 Thread Masahiro Yamada
On Thu, Jun 25, 2020 at 5:47 PM H. Nikolaus Schaller wrote: > > strsep() is neither standard C nor POSIX and used outside > the kernel code here. Using it here requires that the > build host supports it out of the box which is e.g. > not true for a Darwin build host and using a cross-compiler. > T

[PATCH] modpost: remove use of non-standard strsep() in HOSTCC code

2020-06-25 Thread H. Nikolaus Schaller
strsep() is neither standard C nor POSIX and used outside the kernel code here. Using it here requires that the build host supports it out of the box which is e.g. not true for a Darwin build host and using a cross-compiler. This leads to: scripts/mod/modpost.c:145:2: warning: implicit declaration