linux-next: manual merge of the kunit-next tree with the mm tree
Subsystems (2)
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
@@ -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
@@ -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
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/Makefilebetween commit:
aa2cc84cfeb0("lib/math: addint_logtest 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/Makefileand 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_logtest suite" from the mm tree.Signed-off-by Stephen Rothwell <[email protected]>--- lib/Kconfig.debug | 2 +- lib/math/tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)lib/Kconfig.debug +1
-1@@ -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_TESTSlib/math/tests/Makefile +0
-0
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
Andrew Morton
maintainerQuoted 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/Makefileand 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).
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/Makefileand 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.
f099bda563dddoesn'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