aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorAnders Roxell <[email protected]>2018-02-06 22:23:39 +0000
committerShuah Khan <[email protected]>2018-02-13 18:34:51 +0000
commitb2c93e300a11b419b4c67ce08e16fa1436d8118c (patch)
treed5cf6442c20806a36f7fdfef21fd94905a7d4277 /lib/pm-notifier-error-inject.c
parentLinux 4.16-rc1 (diff)
downloadkernel-b2c93e300a11b419b4c67ce08e16fa1436d8118c.tar.gz
kernel-b2c93e300a11b419b4c67ce08e16fa1436d8118c.zip
selftests: sync: missing CFLAGS while compiling
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 <linux/sync_file.h> ^ CFLAGS is not used during the compile step, so the system instead of kernel headers are used. Fix this by adding CFLAGS to the OBJS compile rule. Reported-by: Lei Yang <[email protected]> Signed-off-by: Anders Roxell <[email protected]> Signed-off-by: Daniel Díaz <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions