[GIT PULL] nolibc bug fixes for v6.1

From: Paul E. McKenney
Date: Tue Nov 01 2022 - 13:12:45 EST


Hello, Linus,

This urgent pull request fixes a couple of nolibc string-function bugs
noted by kernel test robot, Rasmus Villemoes, Willy Tarreau.

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/nolibc-urgent.2022.10.28a

for you to fetch changes up to b3f4f51ea68a495f8a5956064c33dce711a2df91:

tools/nolibc/string: Fix memcmp() implementation (2022-10-28 15:07:02 -0700)

----------------------------------------------------------------
Urgent nolibc pull request for v6.1

This pull request contains a couple of commits that fix string-function
bugs introduced by:

96980b833a21 ("tools/nolibc/string: do not use __builtin_strlen() at -O0")
66b6f755ad45 ("rcutorture: Import a copy of nolibc")

These appeared in v5.19 and v5.0, respectively, but it would be good
to get these fixes in sooner rather than later. Commits providing the
corresponding tests are in -rcu and I expect to submit them into the
upcoming v6.2 merge window.

----------------------------------------------------------------
Rasmus Villemoes (1):
tools/nolibc/string: Fix memcmp() implementation

Willy Tarreau (1):
tools/nolibc: Fix missing strlen() definition and infinite loop with gcc-12

tools/include/nolibc/string.h | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)