From nobody Sat Feb 7 11:31:04 2026 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 53F4A40F8FA for ; Tue, 20 Jan 2026 11:03:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768907012; cv=none; b=UgpX+OoAA0bBRCaptGBLZnujr1LC/n0kVNALBYQSQW/VmBE3e4LuhflsGbVb0Je7slYKGUyplXPOzuDBfZ8D8tSUvSol22efKTF4CEMPtPpOH4kp+y6n+BjM3UD+DL2YmAT9tzPsQnpR7n4zRQVaBQDH5i4P4xniWxosHrzSg/A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768907012; c=relaxed/simple; bh=vGAiSd5RINZ18iLVlfJyKMx/ilvW9bhLBsN6bupcwUY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Qmr8I3i1YvmCGZnf1xSsk98iT8FhzrGagVTSVALXbArrh/5KXKoDFQ8xYHlRRdCwtPAdrbf7fnIqmVYUk0iPjuhWuoHlwM6Q64yPdqY8xGSRYZvpNYFwYWVMO9bB8GKxBEoTsaCUEorwptpQeqnQBTKG43+sca9BVjyfpZKGKUY= 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=ocFaVdYe; arc=none smtp.client-ip=95.215.58.182 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="ocFaVdYe" 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=1768907006; 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=F9INFmCeG8m4mTLtVGVLw1SNSXYLotttmqstDkwTK9g=; b=ocFaVdYe9xZEGEi53fBef0ENSUjUOzJWCCAU1HfdoS7XiprR1f2EQPrAwTSDiC64XGeUrw JZBGsM5U0g1WAFs5H1c+hq8RSELQVuLly6RQw2jUGZpSkcBFUHVYZcDs9JyAnksy7Idg18 xIXfQ09UtZcQ4yxXMi9DjlpE5dDBRo0= From: Thorsten Blum To: Tyler Hicks , Christian Brauner , Eric Biggers , Ard Biesheuvel Cc: Thorsten Blum , ecryptfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ecryptfs: Fix tag number in encrypt_filename() error message Date: Tue, 20 Jan 2026 12:03:13 +0100 Message-ID: <20260120110316.1257158-1-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" Report the correct tag number (70) instead of tag 72. Use ecryptfs_printk() and reformat the string to silence the checkpatch warning: "WARNING: quoted string split across lines". Signed-off-by: Thorsten Blum --- fs/ecryptfs/crypto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 260f8a4938b0..6012e4360096 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c @@ -1378,9 +1378,9 @@ ecryptfs_encrypt_filename(struct ecryptfs_filename *f= ilename, mount_crypt_stat, NULL, filename->filename_size); if (rc) { - printk(KERN_ERR "%s: Error attempting to get packet " - "size for tag 72; rc =3D [%d]\n", __func__, - rc); + ecryptfs_printk(KERN_ERR, + "Error attempting to get packet size for tag 70; rc =3D [%d]\n", + rc); filename->encrypted_filename_size =3D 0; goto out; } --=20 Thorsten Blum GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4