[GIT PULL] Kselftest fixes for Linux 6.13-rc3

From: Shuah Khan
Date: Wed Dec 11 2024 - 15:37:51 EST


Hi Linus,

Please pull the following fixes update for Linux 6.13-rc3.

linux_kselftest-fixes-6.13-rc3

-- fixes the offset for kprobe syntax error test case when checking the
BTF arguments on 64-bit powerpc.

Note: This fix has been in linux-next since last week. I had to drop
a patch and rebase this morning.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:

Linux 6.13-rc1 (2024-12-01 14:28:56 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.13-rc3

for you to fetch changes up to 777f290ab328de333b85558bb6807a69a59b36ba:

selftests/ftrace: adjust offset for kprobe syntax error test (2024-12-11 10:08:04 -0700)

----------------------------------------------------------------
linux_kselftest-fixes-6.13-rc3

-- fixes the offset for kprobe syntax error test case when checking the
BTF arguments on 64-bit powerpc.

----------------------------------------------------------------
Hari Bathini (1):
selftests/ftrace: adjust offset for kprobe syntax error test

tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

----------------------------------------------------------------diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
index a16c6a6f6055..8f1c58f0c239 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
@@ -111,7 +111,7 @@ check_error 'p vfs_read $arg* ^$arg*' # DOUBLE_ARGS
if !grep -q 'kernel return probes support:' README; then
check_error 'r vfs_read ^$arg*' # NOFENTRY_ARGS
fi
-check_error 'p vfs_read+8 ^$arg*' # NOFENTRY_ARGS
+check_error 'p vfs_read+20 ^$arg*' # NOFENTRY_ARGS
check_error 'p vfs_read ^hoge' # NO_BTFARG
check_error 'p kfree ^$arg10' # NO_BTFARG (exceed the number of parameters)
check_error 'r kfree ^$retval' # NO_RETVAL