From: Thorsten Blum Date: Tue, 10 Mar 2026 10:26:53 +0000 (+0100) Subject: ecryptfs: Log function name only once in decode_and_decrypt_filename X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1601fe9e0423d813b1158a52e051bd3059f74197;p=thirdparty%2Flinux.git 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. Signed-off-by: Thorsten Blum Signed-off-by: Tyler Hicks --- diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index c10a2d2d9947..3cc4afb8b10d 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c @@ -1924,8 +1924,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 {