Re: [PATCH] selftests: sync: missing CFLAGS while compiling

2018-01-16 Thread Anders Roxell
On 10 January 2018 at 01:05, Shuah Khan wrote: > On 01/05/2018 09:33 AM, Anders Roxell wrote: >> Based on patch: https://patchwork.kernel.org/patch/10042045/ >> >> arch64-linux-gnu-gcc -c sync.c -o sync/sync.o >> sync.c:42:29: fatal error: linux/sync_file.h: No such file or directory >> #include

Re: [PATCH] selftests: sync: missing CFLAGS while compiling

2018-01-09 Thread Shuah Khan
On 01/05/2018 09:33 AM, Anders Roxell wrote: > Based on patch: https://patchwork.kernel.org/patch/10042045/ > > arch64-linux-gnu-gcc -c sync.c -o sync/sync.o > sync.c:42:29: fatal error: linux/sync_file.h: No such file or directory > #include > ^ > CFLAGS is not used

Re: [PATCH] selftests: sync: missing CFLAGS while compiling

2018-01-05 Thread Naresh Kamboju
On 5 January 2018 at 22:03, Anders Roxell wrote: > Based on patch: https://patchwork.kernel.org/patch/10042045/ > > arch64-linux-gnu-gcc -c sync.c -o sync/sync.o > sync.c:42:29: fatal error: linux/sync_file.h: No such file or directory > #include > ^ > CFLAGS is not

[PATCH] selftests: sync: missing CFLAGS while compiling

2018-01-05 Thread Anders Roxell
Based on patch: https://patchwork.kernel.org/patch/10042045/ arch64-linux-gnu-gcc -c sync.c -o sync/sync.o sync.c:42:29: fatal error: linux/sync_file.h: No such file or directory #include ^ CFLAGS is not used during the compile step, so the system instead of kernel h