[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260125224343.155960-2-thorsten.blum@linux.dev>
Date: Sun, 25 Jan 2026 23:43:41 +0100
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: Tyler Hicks <code@...icks.com>,
Thorsten Blum <thorsten.blum@...ux.dev>,
Eric Biggers <ebiggers@...nel.org>,
Christian Brauner <brauner@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>,
Zipeng Zhang <zhangzipeng0@...mail.com>
Cc: ecryptfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] 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 <thorsten.blum@...ux.dev>
---
fs/ecryptfs/crypto.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c
index a13229d49b7e..8f2e1ea1f9f8 100644
--- a/fs/ecryptfs/crypto.c
+++ b/fs/ecryptfs/crypto.c
@@ -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 {
--
Thorsten Blum <thorsten.blum@...ux.dev>
GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4
Powered by blists - more mailing lists