Skip to contentSkip to conversation

linux-next: manual merge of the kselftest tree with the tpmdd tree

PATCH Mark Brown 4 participants 5 messages Sep 16, 2019

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

Today's linux-next merge of the kselftest tree got a conflict in:

tools/testing/selftests/tpm2/Makefile

between commit:

3fb2179b0f3553a ("selftests/tpm2: Add the missing TEST_FILES assignment")

from the tpmdd tree and commit:

d04e26067d13f01 ("selftests: tpm2: install python files")

from the kselftest 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.

tools/testing/selftests/tpm2/Makefile +0 -0
diff --cc tools/testing/selftests/tpm2/Makefile
index bf401f725eef8,1a5db1eb8ed51..0000000000000
@@@ -2,4 -2,4 +2,5 @@@
  include ../lib.mk
  
  TEST_PROGS := test_smoke.sh test_space.sh
 +TEST_FILES := tpm2.py tpm2_tests.py
+ TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py
#1 lore raw
Quoted 2 lines · Mark Brown

Hi all,

Hi,

Quoted 7 lines

Today's linux-next merge of the kselftest tree got a conflict in:

tools/testing/selftests/tpm2/Makefile

between commit:

Quoted 7 lines

3fb2179b0f3553a ("selftests/tpm2: Add the missing TEST_FILES assignment")

from the tpmdd tree and commit:

d04e26067d13f01 ("selftests: tpm2: install python files")

from the kselftest tree.

If I re-read the Documentation/dev-tools/kselftest.rst I think the patch from the kselftest tree should be dropped.

I saw that I didn't send an email to the tpm maintainers or the tpm list when I sent the
patch, I'm sorry.

Cheers,
Anders

Quoted 18 lines

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.

tools/testing/selftests/tpm2/Makefile +1 -0
diff --cc tools/testing/selftests/tpm2/Makefile
index bf401f725eef8,1a5db1eb8ed51..0000000000000
@@@ -2,4 -2,4 +2,5 @@@
  include ../lib.mk
 
  TEST_PROGS := test_smoke.sh test_space.sh
 +TEST_FILES := tpm2.py tpm2_tests.py
+ TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py
author maintainer
#2 lore raw
Quoted 6 lines · Anders Roxell

If I re-read the Documentation/dev-tools/kselftest.rst I think the patch from the kselftest tree should be dropped.

I saw that I didn't send an email to the tpm maintainers or the tpm list when I sent the
patch, I'm sorry.

If the change is fine that might be more trouble than it's worth, it's a trivial add/add conflict. Up to those concerned though.

maintainer
#3 lore raw
Quoted 5 lines · Mark Brown
Quoted 2 lines · Anders Roxell

If I re-read the Documentation/dev-tools/kselftest.rst I think the patch from the kselftest tree should be dropped.

Quoted 7 lines
Quoted 3 lines

I saw that I didn't send an email to the tpm maintainers or the tpm list when I sent the
patch, I'm sorry.

If the change is fine that might be more trouble than it's worth, it's a trivial add/add conflict. Up to those concerned though.

I usually handle these with sending a note to Linus in my pull request and request him to pick the one from next. Dropping patch doesn't work very well.

No worries I will handle this in my pull request.

thanks,
-- Shuah

#4 lore raw
In reply to Mark Brown
Quoted 11 lines · Mark Brown
Quoted 6 lines · Anders Roxell

If I re-read the Documentation/dev-tools/kselftest.rst I think the patch from the kselftest tree should be dropped.

I saw that I didn't send an email to the tpm maintainers or the tpm list when I sent the
patch, I'm sorry.

If the change is fine that might be more trouble than it's worth, it's a trivial add/add conflict. Up to those concerned though.

Do you want me to take the patch off from the next and rebase my tree later on or?

/Jarkko