summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/import.py
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2024-05-07 15:10:08 -0400
committerSteve Sakoman <steve@sakoman.com>2024-07-03 06:28:36 -0700
commit3406579951e47a32f7620f2b07b46f8eccc3da3c (patch)
treee61604d195db8f5e796ec908c948815a5c5caf82 /scripts/lib/devtool/import.py
parent24483b4d42759d16848b001ba6f9298a9950966f (diff)
downloadpoky-3406579951e47a32f7620f2b07b46f8eccc3da3c.tar.gz
linux-yocto/6.6: fix kselftest failures
Integrating the following commit(s) to linux-yocto/6.6: 1/1 [ Author: Mark Brown Email: broonie@kernel.org Subject: kselftest: Add a ksft_perror() helper Date: Thu, 28 Sep 2023 16:38:11 +0200 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 KTAP compatible format. nolibc doesn't have a strerror() and adding the table of strings required doesn't seem like a good fit for what it's trying to do so when we're using that only print the errno. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] (From OE-Core rev: 7074f115d1f13db346d2b680f5b5bc3f602824e8) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3d747dabd7bf59b653730f245d134931d143f60f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/import.py')
0 files changed, 0 insertions, 0 deletions