lkml.org 
[lkml]   [2022]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH v2 142/144] KVM: selftests: Add kvm_has_cap() to provide syntactic sugar
On Fri, Jun 03, 2022 at 12:43:29AM +0000, Sean Christopherson wrote:
...
> diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c
> index 8f7ee9cb551c..12b7c40542df 100644
> --- a/tools/testing/selftests/kvm/lib/kvm_util.c
> +++ b/tools/testing/selftests/kvm/lib/kvm_util.c
> @@ -80,7 +80,7 @@ unsigned int kvm_check_cap(long cap)
>
> close(kvm_fd);
>
> - return ret;
> + return (unsigned int)ret;
> }

This belongs in the last patch.

Thanks,
drew

\
 
 \ /
  Last update: 2022-06-10 20:05    [W:1.117 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site