lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251105111045.2a5f0713@canb.auug.org.au>
Date: Wed, 5 Nov 2025 11:10:45 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Christian Brauner <brauner@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
 Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the vfs-brauner tree

Hi all,

After merging the vfs-brauner tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/crypto/ccp/sev-dev.c: In function 'open_file_as_root':
drivers/crypto/ccp/sev-dev.c:263:28: error: unused variable 'old_cred' [-Werror=unused-variable]
  263 |         const struct cred *old_cred;
      |                            ^~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  a5f40c848a5a ("sev-dev: use override credential guards")

I have applied this fix patch for today:

From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Wed, 5 Nov 2025 10:35:52 +1100
Subject: [PATCH] fix up for "sev-dev: use override credential guards"

Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
 drivers/crypto/ccp/sev-dev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/ccp/sev-dev.c b/drivers/crypto/ccp/sev-dev.c
index 03e08ed8da8f..b28a6f50daaa 100644
--- a/drivers/crypto/ccp/sev-dev.c
+++ b/drivers/crypto/ccp/sev-dev.c
@@ -260,7 +260,6 @@ static int sev_cmd_buffer_len(int cmd)
 static struct file *open_file_as_root(const char *filename, int flags, umode_t mode)
 {
 	struct path root __free(path_put) = {};
-	const struct cred *old_cred;
 
 	task_lock(&init_task);
 	get_fs_root(init_task.fs, &root);
-- 
2.51.1

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ