Skip to contentSkip to conversation

linux-next: manual merge of the kunit-next tree with the mm tree

PATCH Stephen Rothwell 3 participants 4 messages Oct 4, 2024 – Oct 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the kunit-next tree got conflicts in:

lib/math/Makefile
lib/math/tests/Makefile

between commit:

aa2cc84cfeb0 ("lib/math: add int_log test suite")

from the mm-nonmm-unstable branch of the mm tree and commit:

f099bda563dd ("lib: math: Move kunit tests into tests/ subdir")

from the kunit-next tree.

I fixed it up (I used the latter version of lib/math/Makefile and see below the signature by the patch immediately 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.

rom: Stephen Rothwell <[email protected]>
Date: Fri, 4 Oct 2024 13:51:56 +1000
Subject: [PATCH] fix up for "lib: math: Move kunit tests into tests/ subdir"

interacting with "lib/math: add int_log test suite" from the mm tree.

---
 lib/Kconfig.debug       | 2 +-
 lib/math/tests/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
lib/Kconfig.debug +1 -1
index 9ed36fec4390..d3e44b17876d 100644
@@ -3105,7 +3105,7 @@ config INT_POW_KUNIT_TEST
 
 	  If unsure, say N
 
-config INT_LOG_TEST
+config INT_LOG_KUNIT_TEST
 	tristate "Integer log (int_log) test" if !KUNIT_ALL_TESTS
 	depends on KUNIT
 	default KUNIT_ALL_TESTS
lib/math/tests/Makefile +1 -1
index 64b9bfe3381d..89a266241e98 100644
@@ -2,6 +2,6 @@
 
 obj-$(CONFIG_DIV64_KUNIT_TEST)    += div64_kunit.o
 obj-$(CONFIG_INT_POW_KUNIT_TEST)  += int_pow_kunit.o
-obj-$(CONFIG_INT_LOG_TEST) += int_log_kunit.o
+obj-$(CONFIG_INT_LOG_KUNIT_TEST)  += int_log_kunit.o
 obj-$(CONFIG_MULDIV64_KUNIT_TEST) += mul_u64_u64_div_u64_kunit.o
 obj-$(CONFIG_RATIONAL_KUNIT_TEST) += rational_kunit.o
Signature · 17 lines
-- 
Cheers,
Stephen Rothwell

diff --cc lib/math/tests/Makefile
index 83bbf1e47940,f9a0a0e6b73a..000000000000
--- a/lib/math/tests/Makefile
+++ b/lib/math/tests/Makefile
@@@ -1,4 -1,6 +1,7 @@@
  # SPDX-License-Identifier: GPL-2.0-only
  
- obj-$(CONFIG_INT_POW_TEST) += int_pow_kunit.o
+ obj-$(CONFIG_DIV64_KUNIT_TEST)    += div64_kunit.o
+ obj-$(CONFIG_INT_POW_KUNIT_TEST)  += int_pow_kunit.o
 +obj-$(CONFIG_INT_LOG_TEST) += int_log_kunit.o
+ obj-$(CONFIG_MULDIV64_KUNIT_TEST) += mul_u64_u64_div_u64_kunit.o
+ obj-$(CONFIG_RATIONAL_KUNIT_TEST) += rational_kunit.o
#1 lore raw
Quoted 17 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the kunit-next tree got conflicts in:

lib/math/Makefile
lib/math/tests/Makefile

between commit:

aa2cc84cfeb0 ("lib/math: add int_log test suite")

from the mm-nonmm-unstable branch of the mm tree and commit:

f099bda563dd ("lib: math: Move kunit tests into tests/ subdir")

from the kunit-next tree.

Quoted 7 lines

I fixed it up (I used the latter version of lib/math/Makefile and see below the signature by the patch immediately 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.

Sorry for the delay on this. Thank you for fixing this up.

Andrew,

Looks like we might see more conflicts between mm and kunit trees with the move from lib/ lib/tests/

I dropped a couple of patches I couldn't apply. Would you like me to drop this from kunit tree?

Adding David as well for feedback on this.

Quoted 31 lines

rom: Stephen Rothwell <[email protected]>
Date: Fri, 4 Oct 2024 13:51:56 +1000
Subject: [PATCH] fix up for "lib: math: Move kunit tests into tests/ subdir"

interacting with "lib/math: add int_log test suite" from the mm tree.

---
  lib/Kconfig.debug       | 2 +-
  lib/math/tests/Makefile | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
lib/Kconfig.debug +1 -1
index 9ed36fec4390..d3e44b17876d 100644
@@ -3105,7 +3105,7 @@ config INT_POW_KUNIT_TEST
 
  	  If unsure, say N
 
-config INT_LOG_TEST
+config INT_LOG_KUNIT_TEST
  	tristate "Integer log (int_log) test" if !KUNIT_ALL_TESTS
  	depends on KUNIT
  	default KUNIT_ALL_TESTS
lib/math/tests/Makefile +0 -0
index 64b9bfe3381d..89a266241e98 100644

lib/math/tests/Makefile line 7

Quoted 7 lines
lib/math/tests/Makefile +1 -1
@@ -2,6 +2,6 @@
 
  obj-$(CONFIG_DIV64_KUNIT_TEST)    += div64_kunit.o
  obj-$(CONFIG_INT_POW_KUNIT_TEST)  += int_pow_kunit.o
-obj-$(CONFIG_INT_LOG_TEST) += int_log_kunit.o
+obj-$(CONFIG_INT_LOG_KUNIT_TEST)  += int_log_kunit.o
  obj-$(CONFIG_MULDIV64_KUNIT_TEST) += mul_u64_u64_div_u64_kunit.o
  obj-$(CONFIG_RATIONAL_KUNIT_TEST) += rational_kunit.o

thanks,
-- Shuah

maintainer
#2 lore raw
Quoted 10 lines · On Wed, 9 Oct 2024 09:11:19 -0600 Shuah Khan <[email protected]> wrote:
Quoted 7 lines

I fixed it up (I used the latter version of lib/math/Makefile and see below the signature by the patch immediately 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.

Sorry for the delay on this. Thank you for fixing this up.

Quoted 7 lines

Andrew,

Looks like we might see more conflicts between mm and kunit trees with the move from lib/ lib/tests/

I dropped a couple of patches I couldn't apply. Would you like me to drop this from kunit tree?

Yes please, it's mostly a lib/ thing.

I can't actually find the original patch email. f099bda563dd doesn't have a Link: to the submission (please update your scripts to fix this) and the patch wasn't cc'ed to anything to which I subscribe (please prefer to cc linux-kernel on most patches because of this).

#3 lore raw
Quoted 14 lines · Andrew Morton
Quoted 12 lines · On Wed, 9 Oct 2024 09:11:19 -0600 Shuah Khan <[email protected]> wrote:
Quoted 7 lines

I fixed it up (I used the latter version of lib/math/Makefile and see below the signature by the patch immediately 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.

Sorry for the delay on this. Thank you for fixing this up.

Andrew,

Quoted 7 lines
Quoted 5 lines

Looks like we might see more conflicts between mm and kunit trees with the move from lib/ lib/tests/

I dropped a couple of patches I couldn't apply. Would you like me to drop this from kunit tree?

Yes please, it's mostly a lib/ thing.

Done.

Here is the link:

https://lore.kernel.org/all/[email protected]/

Quoted 6 lines

I can't actually find the original patch email. f099bda563dd doesn't have a Link: to the submission (please update your scripts to fix this) and the patch wasn't cc'ed to anything to which I subscribe (please prefer to cc linux-kernel on most patches because of this).

Will do - thanks for the reminder.

thanks,
-- Shuah