summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/debug.c
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2020-06-13 12:46:51 -0700
committerLinux Build Service Account <lnxbuild@localhost>2020-06-13 12:46:51 -0700
commit8d4d321023cf673273c001faff52120dc3b8fd6b (patch)
tree1f00d20b223741fdcf5a2f8032d32c162b7b87a7 /fs/ecryptfs/debug.c
parent4ce63e3bef8c2eb6279b3461f22d6e73c5a0b926 (diff)
parent276ddca7adc68caa71ebeefce827e4b99deabf99 (diff)
Merge 276ddca7adc68caa71ebeefce827e4b99deabf99 on remote branch
Change-Id: I0dc595d9d471a7e738a8a8c9213721585f8b01e4
Diffstat (limited to 'fs/ecryptfs/debug.c')
-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);