summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSwetha Chikkaboraiah <schikk@codeaurora.org>2020-03-02 10:55:12 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-05-21 23:57:59 -0700
commit6dbab77b6ddda309f56027f135f1eede33b76c2c (patch)
tree1d6202db5896c0cd90b44962678ebfafec402362 /fs
parent5a6566f225652a01f17f062b4fa91f269e49014a (diff)
kernel: Fix build errors with LLVM
This patch intends to fix compilation errors while building kernel with LLVM toolchain. Change-Id: I76c4f97d8a0efb44434d54fb07cae23b050d2003 Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/ecryptfs/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/debug.c b/fs/ecryptfs/debug.c
index 0556af1adfb7..ea2c4a97fddc 100644
--- a/fs/ecryptfs/debug.c
+++ b/fs/ecryptfs/debug.c
@@ -139,11 +139,11 @@ void ecryptfs_dump_cipher(struct ecryptfs_crypt_stat *stat)
if (!stat)
return;
- if (stat->cipher)
+ if (stat->cipher != NULL)
ecryptfs_printk(KERN_DEBUG,
"ecryptfs cipher is %s\n", stat->cipher);
- if (stat->cipher_mode)
+ if (stat->cipher_mode != NULL)
ecryptfs_printk(KERN_DEBUG, "ecryptfs cipher mode is %s\n",
stat->cipher_mode);