lkml.org 
[lkml]   [2021]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] selftests/kvm: add get_msr_index_features
Date
On 18/03/21 18:03, Andrew Jones wrote:
>>
>> TEST_GEN_PROGS_x86_64 = x86_64/cr4_cpuid_sync_test
>> +TEST_GEN_PROGS_x86_64 += x86_64/get_msr_index_features
>
> Maybe we should give up trying to keep an alphabetic order.

FWIW I had fixed that but yeah maybe we should just give up.

>> +int main(int argc, char *argv[])
>> +{
>> + if (kvm_check_cap(KVM_CAP_GET_MSR_FEATURES))
>> + test_get_msr_feature();
>> +
>> + test_get_msr_index();
> Missing return
>
>> +}

"main" is special, it's okay not to have a return there.

Paolo

\
 
 \ /
  Last update: 2021-03-18 18:34    [W:0.842 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site