]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ecryptfs: Log function name only once in decode_and_decrypt_filename
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 10 Mar 2026 10:26:53 +0000 (11:26 +0100)
committerTyler Hicks <code@tyhicks.com>
Thu, 26 Mar 2026 03:39:27 +0000 (22:39 -0500)
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 <thorsten.blum@linux.dev>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/crypto.c

index c10a2d2d99479c5fa790e1886e56d32259f4f5d7..3cc4afb8b10db8ed3423f04ffe599933d37294c9 100644 (file)
@@ -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 {