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

2020-07-01 Thread Masahiro Yamada
On Wed, Jul 1, 2020 at 3:18 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. > Th

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

2020-06-30 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