Skip to contentSkip to conversation

ecryptfs: Log function name only once in decode_and_decrypt_filename

PATCH Superseded Thorsten Blum 1 participant 1 message Jan 25 Ecrypt file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ecryptfs: Log function name only once in decode_and_decrypt_filename

ecryptfs_printk() already prints the function name using %s and __func__. Drop the redundant function name from the debug log message.

---
 fs/ecryptfs/crypto.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/ecryptfs/crypto.c +1 -2
index a13229d49b7e..8f2e1ea1f9f8 100644
@@ -1937,8 +1937,7 @@ int ecryptfs_decode_and_decrypt_filename(char **plaintext_name,
 						  decoded_name_size);
 		if (rc) {
 			ecryptfs_printk(KERN_DEBUG,
-					"%s: Could not parse tag 70 packet from filename\n",
-					__func__);
+					"Could not parse tag 70 packet from filename\n");
 			goto out_free;
 		}
 	} else {
Signature · 2 lines
Thorsten Blum <[email protected]>
GPG: 1D60 735E 8AEF 3BE4 73B6  9D84 7336 78FD 8DFE EAD4