[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <88b40226-b163-5bec-a9bc-cc9c3b323615@redhat.com>
Date: Fri, 29 Apr 2022 08:21:03 +0200
From: Thomas Huth <thuth@...hat.com>
To: Janosch Frank <frankja@...ux.ibm.com>, kvm@...r.kernel.org,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Claudio Imbrenda <imbrenda@...ux.ibm.com>
Cc: linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
David Hildenbrand <david@...hat.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Shuah Khan <shuah@...nel.org>,
Janis Schoetterl-Glausch <scgl@...ux.ibm.com>,
linux-s390@...r.kernel.org
Subject: Re: [PATCH v2 4/4] KVM: s390: selftests: Use TAP interface in the
reset test
On 20/04/2022 12.34, Janosch Frank wrote:
> On 4/19/22 20:58, Thomas Huth wrote:
>> Let's standardize the s390x KVM selftest output to the TAP output
>> generated via the kselftests.h interface.
>>
>> Signed-off-by: Thomas Huth <thuth@...hat.com>
>> ---
>
> Reviewed-by: Janosch Frank <frankja@...ux.ibm.com>
>
> [...]
>> - return 0;
>> +
>> + ksft_finished();
>
> main() is still int so it looks really weird, that we remove the return
> here. After reading the ksft_finished() code I know that we never return
> because we do an exit() but I'd like to have a comment, change to void or
> noreturn tag to make this clearer.
Changing the return type of main() to void causes a compiler warning here,
so I'll go with the comment.
Thomas
Powered by blists - more mailing lists