diff options
| author | George Guo <[email protected]> | 2024-11-25 11:28:12 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2024-12-09 10:12:43 +0000 |
| commit | 477fb0671feb7b51fed9a803aeafa64d66cf6101 (patch) | |
| tree | 49326fd2d0f23f470d379413edf7f6a40df49ed1 /tools | |
| parent | Merge tag 'livepatching-for-6.13' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| download | kernel-477fb0671feb7b51fed9a803aeafa64d66cf6101.tar.gz kernel-477fb0671feb7b51fed9a803aeafa64d66cf6101.zip | |
selftests/livepatch: Replace hardcoded module name with variable in test-callbacks.sh
Replaced the hardcoded module name test_klp_callbacks_demo in the
pre_patch_callback log message with the variable $MOD_LIVEPATCH.
Signed-off-by: George Guo <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/testing/selftests/livepatch/test-callbacks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/livepatch/test-callbacks.sh b/tools/testing/selftests/livepatch/test-callbacks.sh index 37bbc3fb2780..2a03deb26a12 100755 --- a/tools/testing/selftests/livepatch/test-callbacks.sh +++ b/tools/testing/selftests/livepatch/test-callbacks.sh @@ -259,7 +259,7 @@ $MOD_TARGET: ${MOD_TARGET}_init % insmod test_modules/$MOD_LIVEPATCH.ko pre_patch_ret=-19 livepatch: enabling patch '$MOD_LIVEPATCH' livepatch: '$MOD_LIVEPATCH': initializing patching transition -test_klp_callbacks_demo: pre_patch_callback: vmlinux +$MOD_LIVEPATCH: pre_patch_callback: vmlinux livepatch: pre-patch callback failed for object 'vmlinux' livepatch: failed to enable patch '$MOD_LIVEPATCH' livepatch: '$MOD_LIVEPATCH': canceling patching transition, going to unpatch |
