linux-next: manual merge of the akpm-current tree with the kunit-next tree
Hi all,
Today's linux-next merge of the akpm-current tree got a conflict in:
lib/kunit/test.c
between commit:
45dcbb6f5ef7 ("kunit: test: add test plan to KUnit TAP format")
from the kunit-next tree and commit:
e685acc91080 ("KUnit: KASAN Integration")
from the akpm-current 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 · 26 lines
Cheers,
Stephen Rothwell
diff --cc lib/kunit/test.c
index de07876b6601,dcc35fd30d95..000000000000
--- a/lib/kunit/test.c
+++ b/lib/kunit/test.c
@@@ -15,11 -16,16 +16,6 @@@
#include "string-stream.h"
#include "try-catch-impl.h"
- static void kunit_set_failure(struct kunit *test)
-static void kunit_print_tap_version(void)
--{
- WRITE_ONCE(test->success, false);
- static bool kunit_has_printed_tap_version;
-
- if (!kunit_has_printed_tap_version) {
- pr_info("TAP version 14\n");
- kunit_has_printed_tap_version = true;
- }
--}
--
/*
* Append formatted message to log, size of which is limited to
* KUNIT_LOG_SIZE bytes (including null terminating byte).Hi all,
Quoted 35 lines · On Mon, 12 Oct 2020 19:56:49 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the akpm-current tree got a conflict in:
lib/kunit/test.cbetween commit:
45dcbb6f5ef7("kunit: test: add test plan to KUnit TAP format")from the kunit-next tree and commit:
e685acc91080("KUnit: KASAN Integration")from the akpm-current 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.
lib/kunit/test.c +0
-3@@@ -15,11 -16,16 +16,6 @@@#include "string-stream.h" #include "try-catch-impl.h" - static void kunit_set_failure(struct kunit *test) -static void kunit_print_tap_version(void) --{ -WRITE_ONCE (test->success, false); - static bool kunit_has_printed_tap_version;
lib/kunit/test.c
Quoted 10 lines
lib/kunit/test.c +0
-2- - if (!kunit_has_printed_tap_version) { -pr_info ("TAP version 14\n" ); - kunit_has_printed_tap_version = true; - } --} --/* * Append formatted message to log, size of which is limited to * KUNIT_LOG_SIZE bytes (including null terminating byte).
This is now a conflict between the kunit-next tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 42 lines · Stephen Rothwell
Hi all,
Quoted 39 lines · On Mon, 12 Oct 2020 19:56:49 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the akpm-current tree got a conflict in:
lib/kunit/test.cbetween commit:
45dcbb6f5ef7("kunit: test: add test plan to KUnit TAP format")from the kunit-next tree and commit:
e685acc91080 ("KUnit: KASAN Integration")from the akpm-current 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.
lib/kunit/test.c +0
-3@@@ -15,11 -16,16 +16,6 @@@#include "string-stream.h" #include "try-catch-impl.h" - static void kunit_set_failure(struct kunit *test) -static void kunit_print_tap_version(void) --{ -WRITE_ONCE (test->success, false); - static bool kunit_has_printed_tap_version; - - if (!kunit_has_printed_tap_version) { -pr_info ("TAP version 14\n" ); - kunit_has_printed_tap_version = true;
Quoted 9 lines
Quoted 6 lines
- }
--}
--
/*
* Append formatted message to log, size of which is limited to
*KUNIT_LOG_SIZEbytes (including null terminating byte).This is now a conflict between the kunit-next tree and Linus' tree.
Thanks Stephen. I will mention this conflict in my pull request to Linus.
Thanks,
-- Shuah