Re: [PATCH] kselftest: Add a ksft_perror() helper

2024-04-29 Thread Edward Liaw
Sorry, will resend this; I forgot to prefix that it was intended for the 6.6.y branch. On Mon, Apr 29, 2024 at 5:49 PM Edward Liaw wrote: > > From: Mark Brown > > [ Upstream commit 907f33028871fa7c9a3db1efd467b78ef82cce20 ] > > The standard library perror() function provides a convenient way to

[PATCH] kselftest: Add a ksft_perror() helper

2024-04-29 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