public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] ecryptfs: Log function name only once in decode_and_decrypt_filename
@ 2026-03-10 10:26 Thorsten Blum
  2026-03-26  5:00 ` Tyler Hicks
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-03-10 10:26 UTC (permalink / raw)
  To: Tyler Hicks, Thorsten Blum, Christian Brauner, Eric Biggers,
	Amir Goldstein, Zipeng Zhang, Kees Cook
  Cc: ecryptfs, linux-kernel

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>
---
 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 3b59346d68c5..d4e714912429 100644
--- a/fs/ecryptfs/crypto.c
+++ b/fs/ecryptfs/crypto.c
@@ -1925,8 +1925,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 {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] ecryptfs: Log function name only once in decode_and_decrypt_filename
  2026-03-10 10:26 [PATCH RESEND] ecryptfs: Log function name only once in decode_and_decrypt_filename Thorsten Blum
@ 2026-03-26  5:00 ` Tyler Hicks
  0 siblings, 0 replies; 2+ messages in thread
From: Tyler Hicks @ 2026-03-26  5:00 UTC (permalink / raw)
  To: Thorsten Blum
  Cc: Christian Brauner, Eric Biggers, Amir Goldstein, Zipeng Zhang,
	Kees Cook, ecryptfs, linux-kernel

On Tue, 10 Mar 2026 11:26:53 +0100, Thorsten Blum wrote:
> ecryptfs_printk() already prints the function name using %s and
> __func__. Drop the redundant function name from the debug log message.

Thank you! This has been applied to the next branch of the tyhicks/ecryptfs.git tree.

You can find a direct link below but please be aware that the commit hash is
unstable and, therefore, the URL may not be valid in the future.

[1/1] ecryptfs: Log function name only once in decode_and_decrypt_filename
      https://git.kernel.org/tyhicks/ecryptfs/c/1601fe9e0423d813b1158a52e051bd3059f74197

Tyler

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-26  5:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 10:26 [PATCH RESEND] ecryptfs: Log function name only once in decode_and_decrypt_filename Thorsten Blum
2026-03-26  5:00 ` Tyler Hicks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox