eCryptfs: add a semicolon
Function like macros should have a semicolon. Signed-off-by: Tom Rix <trix@redhat.com> [tyhicks: Remove the trailing semicolin from the macro's definition, as suggested by Joe Perches] Signed-off-by: Tyler Hicks <code@tyhicks.com>
This commit is contained in:
parent
bec4c2968f
commit
d0eb2d867c
|
@ -528,7 +528,7 @@ ecryptfs_dentry_to_lower_path(struct dentry *dentry)
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ecryptfs_printk(type, fmt, arg...) \
|
#define ecryptfs_printk(type, fmt, arg...) \
|
||||||
__ecryptfs_printk(type "%s: " fmt, __func__, ## arg);
|
__ecryptfs_printk(type "%s: " fmt, __func__, ## arg)
|
||||||
__printf(1, 2)
|
__printf(1, 2)
|
||||||
void __ecryptfs_printk(const char *fmt, ...);
|
void __ecryptfs_printk(const char *fmt, ...);
|
||||||
|
|
||||||
|
|
|
@ -1172,7 +1172,7 @@ decrypt_pki_encrypted_session_key(struct ecryptfs_auth_tok *auth_tok,
|
||||||
rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code);
|
rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code);
|
||||||
if (rc) {
|
if (rc) {
|
||||||
ecryptfs_printk(KERN_ERR, "Cipher code [%d] is invalid\n",
|
ecryptfs_printk(KERN_ERR, "Cipher code [%d] is invalid\n",
|
||||||
cipher_code)
|
cipher_code);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
crypt_stat->flags |= ECRYPTFS_KEY_VALID;
|
crypt_stat->flags |= ECRYPTFS_KEY_VALID;
|
||||||
|
|
Loading…
Reference in New Issue