diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-05-07 15:10:08 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-07 22:26:48 +0100 |
commit | 70709a41fb223adef6c52fc537611acc66c0bc38 (patch) | |
tree | bfc987a2df6be9f3d23c6383d7ccfe82ab7ee2a3 /meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch | |
parent | 666291037ebb8201d34d1054bf0ef794861e0977 (diff) | |
download | openembedded-core-master-next.tar.gz |
linux-yocto/6.6: fix kselftest failuresmaster-next
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>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch')
0 files changed, 0 insertions, 0 deletions