Re: [PATCH] selftests: fix compile error for sync

2017-11-07 Thread Shuah Khan
On 11/06/2017 06:14 PM, lei yang wrote: > > > On 2017年11月07日 07:35, Shuah Khan wrote: >> On 11/05/2017 03:08 AM, Lei Yang wrote: >>> I got below error message when building sync test: >>> >>> make[1]: Entering directory `tools/testing/selftests/sync' >>> gcc -c sync.c -o tools/testing/selftests/s

Re: [PATCH] selftests: fix compile error for sync

2017-11-06 Thread lei yang
On 2017年11月07日 07:35, Shuah Khan wrote: On 11/05/2017 03:08 AM, Lei Yang wrote: I got below error message when building sync test: make[1]: Entering directory `tools/testing/selftests/sync' gcc -c sync.c -o tools/testing/selftests/sync/sync.o sync.c:42:29: fatal error: linux/sync_file.h: No s

Re: [PATCH] selftests: fix compile error for sync

2017-11-06 Thread Shuah Khan
On 11/05/2017 03:08 AM, Lei Yang wrote: > I got below error message when building sync test: > > make[1]: Entering directory `tools/testing/selftests/sync' > gcc -c sync.c -o tools/testing/selftests/sync/sync.o > sync.c:42:29: fatal error: linux/sync_file.h: No such file or directory > #include

[PATCH] selftests: fix compile error for sync

2017-11-05 Thread Lei Yang
I got below error message when building sync test: make[1]: Entering directory `tools/testing/selftests/sync' gcc -c sync.c -o tools/testing/selftests/sync/sync.o sync.c:42:29: fatal error: linux/sync_file.h: No such file or directory #include obviously, CFLAGS and LDFLAGS are not used when com