Skip to content

Commit becb337

Browse files
committed
Merge tag 'linux_kselftest-fixes-6.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull Kselftest fix from Shuah Khan: - fix the offset for kprobe syntax error test case when checking the BTF arguments on 64-bit powerpc * tag 'linux_kselftest-fixes-6.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests/ftrace: adjust offset for kprobe syntax error test
2 parents f92f474 + 777f290 commit becb337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ check_error 'p vfs_read $arg* ^$arg*' # DOUBLE_ARGS
111111
if !grep -q 'kernel return probes support:' README; then
112112
check_error 'r vfs_read ^$arg*' # NOFENTRY_ARGS
113113
fi
114-
check_error 'p vfs_read+8 ^$arg*' # NOFENTRY_ARGS
114+
check_error 'p vfs_read+20 ^$arg*' # NOFENTRY_ARGS
115115
check_error 'p vfs_read ^hoge' # NO_BTFARG
116116
check_error 'p kfree ^$arg10' # NO_BTFARG (exceed the number of parameters)
117117
check_error 'r kfree ^$retval' # NO_RETVAL

0 commit comments

Comments
 (0)