linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the kselftest tree with the kvm-fixes tree
@ 2018-05-14  5:36 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2018-05-14  5:36 UTC (permalink / raw)
  To: Shuah Khan, Paolo Bonzini, Radim Krčmář, KVM
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

Hi Shuah,

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

  tools/testing/selftests/kvm/vmx_tsc_adjust_test.c

between commit:

  bcb2b94ae010 ("KVM: selftests: exit with 0 status code when tests cannot be run")

from the kvm-fixes tree and commit:

  13911360966d ("selftests: kvm: return Kselftest Skip code for skipped tests")

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.

-- 
Cheers,
Stephen Rothwell

diff --cc tools/testing/selftests/kvm/vmx_tsc_adjust_test.c
index aaa633263b2c,62fb73699eb6..000000000000
--- a/tools/testing/selftests/kvm/vmx_tsc_adjust_test.c
+++ b/tools/testing/selftests/kvm/vmx_tsc_adjust_test.c
@@@ -189,8 -191,8 +191,8 @@@ int main(int argc, char *argv[]
  	struct kvm_cpuid_entry2 *entry = kvm_get_supported_cpuid_entry(1);
  
  	if (!(entry->ecx & CPUID_VMX)) {
 -		printf("nested VMX not enabled, skipping test");
 +		fprintf(stderr, "nested VMX not enabled, skipping test\n");
- 		exit(KSFT_SKIP);
+ 		return KSFT_SKIP;
  	}
  
  	vm = vm_create_default_vmx(VCPU_ID, (void *) l1_guest_code);

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-14  5:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14  5:36 linux-next: manual merge of the kselftest tree with the kvm-fixes tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).