linux-next: manual merge of the vfs-brauner tree with the mm-stable tree
Hi all,
Today's linux-next merge of the vfs-brauner tree got a conflict in:
mm/secretmem.c
between commit:
b6c46600bfb2 ("mm: fix some typos in mm module")
from the mm-stable tree and commit:
1011f385f492 ("secretmem: convert memfd_secret() to FD_ADD()")
from the vfs-brauner tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 19 lines
Cheers,
Stephen Rothwell
diff --cc mm/secretmem.c
index 37f6d1097853,f0ef4e198884..000000000000
--- a/mm/secretmem.c
+++ b/mm/secretmem.c
@@@ -224,10 -224,7 +224,7 @@@ err_free_inode
SYSCALL_DEFINE1(memfd_secret, unsigned int, flags)
{
- struct file *file;
- int fd, err;
-
- /* make sure local flags do not confict with global fcntl.h */
+ /* make sure local flags do not conflict with global fcntl.h */
BUILD_BUG_ON(SECRETMEM_FLAGS_MASK & O_CLOEXEC);
if (!secretmem_enable || !can_set_direct_map())Hi all,
Quoted 29 lines · On Tue, 25 Nov 2025 12:29:34 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the vfs-brauner tree got a conflict in:
mm/secretmem.cbetween commit:
b6c46600bfb2("mm: fix some typos in mm module")from the mm-stable tree and commit:
1011f385f492("secretmem: convertmemfd_secret()toFD_ADD()")from the vfs-brauner tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
mm/secretmem.c +0
-0@@@ -224,10 -224,7 +224,7 @@@ err_free_inode
mm/secretmem.c
Quoted 10 lines
mm/secretmem.c +0
-3SYSCALL_DEFINE1(memfd_secret, unsigned int, flags) { -struct file *file; -int fd, err; - -/* make sure local flags do not confict with global fcntl.h */ +/* make sure local flags do not conflict with global fcntl.h */ BUILD_BUG_ON (SECRETMEM_FLAGS_MASK &O_CLOEXEC );if (!secretmem_enable || !can_set_direct_map ())
This is now a conflict between the mm-stable tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell