Re: [PATCH RESEND 6.6.y] kselftest: Add a ksft_perror() helper

2024-05-23 Thread Greg KH
On Mon, May 20, 2024 at 05:56:28PM +, Edward Liaw wrote: > From: Mark Brown > > [ Upstream commit 907f33028871fa7c9a3db1efd467b78ef82cce20 ] > > The standard library perror() function provides a convenient way to print > an error message based on the current errno but this doesn't play

[PATCH RESEND 6.6.y] kselftest: Add a ksft_perror() helper

2024-05-20 Thread Edward Liaw
From: Mark Brown [ Upstream commit 907f33028871fa7c9a3db1efd467b78ef82cce20 ] The standard library perror() function provides a convenient way to print an error message based on the current errno but this doesn't play nicely with KTAP output. Provide a helper which does an equivalent thing in a