projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lkdtm: cfi: use NULL for a null pointer rather than zero
[platform/kernel/linux-starfive.git]
/
fs
/
stat.c
diff --git
a/fs/stat.c
b/fs/stat.c
index
5c2c944
..
9ced886
100644
(file)
--- a/
fs/stat.c
+++ b/
fs/stat.c
@@
-659,7
+659,7
@@
SYSCALL_DEFINE5(statx,
return ret;
}
-#if
def CONFIG_COMPAT
+#if
defined(CONFIG_COMPAT) && defined(__ARCH_WANT_COMPAT_STAT)
static int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf)
{
struct compat_stat tmp;