linux-next: manual merge of the kspp tree with the kbuild tree
Hi all,
Today's linux-next merge of the kspp tree got a conflict in:
drivers/misc/lkdtm/Makefile
between commit:
9cf51a6d1de0 ("Makefile: remove redundant tool coverage variables")
from the kbuild tree and commit:
fb28a8862dc4 ("lkdtm: Disable CFI checking for perms functions")
from the kspp 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 · 20 lines
Cheers, Stephen Rothwell diff --cc drivers/misc/lkdtm/Makefile index 33fe61152a15,b28701138b4b..000000000000 --- a/drivers/misc/lkdtm/Makefile +++ b/drivers/misc/lkdtm/Makefile @@@ -15,7 -15,11 +15,7 @@@ lkdtm-$(CONFIG_PPC_64S_HASH_MMU) += pow KASAN_SANITIZE_stackleak.o := n - CFLAGS_REMOVE_rodata.o += $(CC_FLAGS_LTO) $(RETHUNK_CFLAGS) -KASAN_SANITIZE_rodata.o := n -KCSAN_SANITIZE_rodata.o := n -KCOV_INSTRUMENT_rodata.o := n -OBJECT_FILES_NON_STANDARD_rodata.o := y + CFLAGS_REMOVE_rodata.o += $(CC_FLAGS_LTO) $(RETHUNK_CFLAGS) $(CC_FLAGS_CFI) OBJCOPYFLAGS := OBJCOPYFLAGS_rodata_objcopy.o := \
Quoted 9 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the kspp tree got a conflict in:
drivers/misc/lkdtm/Makefilebetween commit:
9cf51a6d1de0("Makefile: remove redundant tool coverage variables")
Ah! Interesting. I have replied to that tread now:
https://lore.kernel.org/lkml/202405131136.73E766AA8@keescook/
Quoted 8 lines
from the kbuild tree and commit:
fb28a8862dc4("lkdtm: Disable CFI checking for perms functions")from the kspp tree.
I fixed it up (see below) and can carry the fix as necessary. This
Thanks, this looks correct to me.
Signature · 1 line
Kees Cook
Hi all,
Quoted 30 lines · On Mon, 13 May 2024 15:13:16 +1000 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the kspp tree got a conflict in:
drivers/misc/lkdtm/Makefilebetween commit:
9cf51a6d1de0("Makefile: remove redundant tool coverage variables")from the kbuild tree and commit:
fb28a8862dc4("lkdtm: Disable CFI checking for perms functions")from the kspp 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.
drivers/misc/lkdtm/Makefile +0
-0@@@ -15,7 -15,11 +15,7 @@@ lkdtm-$(CONFIG_PPC_64S_HASH_MMU) += pow KASAN_SANITIZE_stackleak.o := n
drivers/misc/lkdtm/Makefile
Quoted 10 lines
drivers/misc/lkdtm/Makefile +1
-1- CFLAGS_REMOVE_rodata.o += $(CC_FLAGS_LTO) $(RETHUNK_CFLAGS) -KASAN_SANITIZE_rodata.o := n -KCSAN_SANITIZE_rodata.o := n -KCOV_INSTRUMENT_rodata.o := n -OBJECT_FILES_NON_STANDARD_rodata.o := y + CFLAGS_REMOVE_rodata.o += $(CC_FLAGS_LTO) $(RETHUNK_CFLAGS) $(CC_FLAGS_CFI) OBJCOPYFLAGS := OBJCOPYFLAGS_rodata_objcopy.o := \
This is now a conflict between the kbuild tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell