Re: [PATCH] selftests/arm64: Fix build warnings for abi
From: Mark Brown
Date: Thu Aug 29 2024 - 07:02:34 EST
On Thu, Aug 29, 2024 at 11:55:33AM +0530, Dev Jain wrote:
> On 8/28/24 16:10, Mark Brown wrote:
> > > - ksft_exit_fail_msg("raise(SIGSTOP)", strerror(errno));
> > > + ksft_exit_fail_perror("raise(SIGSTOP)");
> > The idea with these is to include the error code as well so adding the
> > %s would be better.
> ksft_exit_fail_perror() can do that thing for us.
Oh, sorry - I missed that it was changing to _perror() as well as
removing the argument. Yes, that's fine.
Attachment:
signature.asc
Description: PGP signature