From nobody Sat Feb 7 21:52:52 2026 Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C1BB3112BB for ; Sun, 25 Jan 2026 22:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769381326; cv=none; b=Kg8PUQ86Q5LGLDpjq0QBpFhnBz7C6NmIr5TFK4CMOXr4YyIaoWB7RCx6vyVcEsCYrK5T0rKdCy5q53zyHdC7fFWHwZHaGI9U+Iq/p1Bp5+nZRjKVoJKK1qYKHL9ZBOfUah/ze/T+MaLDkZkPkQBpXqEScF1Fpeq93di6HEDoHU8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769381326; c=relaxed/simple; bh=PwhNRGFiV2sIvxzGz9RICT2dErXSowdnS8ASs70rO78=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dbcCSHdW8yI8zhsHa41Dtr+U4YtFx7vmuUcK34dlFyiTLMlzbz2S9Od0nqZMKmvm8OKM0BzadB65KJi3E0RHsp6jO+EYt6WZQv6HaV/WbBr+ofNjKCG/dDaWVREegEMJtplCuTIDjo4CSjEzqfWkxfaovj2BzIm/MAN9D5jvh8o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=P/ggqRtE; arc=none smtp.client-ip=95.215.58.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="P/ggqRtE" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1769381322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=yG9k0WJCRKkjY/N/BZZfrJa044NUOlXAfp1FzXgUxg8=; b=P/ggqRtEsU0ZUKwFlbbI7SjiohGOF6a0pFi5JBkrMqmi6np1JMqCk2BJu8wK9Sad3qlIC7 Pfx9MjPUyRXsv96CKHiPifK2NIjoEZhElnckqU+pXhlNl5uSVpGGVUF0jBfTyNpa/ffIku P38lAsITDZ3Gsokgy+Ms/jdq/xO476I= From: Thorsten Blum To: Tyler Hicks , Thorsten Blum , Eric Biggers , Christian Brauner , Ard Biesheuvel , Zipeng Zhang Cc: ecryptfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ecryptfs: Log function name only once in decode_and_decrypt_filename Date: Sun, 25 Jan 2026 23:43:41 +0100 Message-ID: <20260125224343.155960-2-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" 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 --- 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 **plain= text_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 { --=20 Thorsten Blum GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4