linux-next: build failure after merge of the vfs-brauner tree
Subsystems (4)
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 <[email protected]>
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 <[email protected]>
--- drivers/crypto/ccp/sev-dev.c | 1 - 1 file changed, 1 deletion(-)
drivers/crypto/ccp/sev-dev.c +0 -1
@@ -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);
Signature · 5 lines
2.51.1 -- Cheers, Stephen Rothwell