Skip to content
Snippets Groups Projects
Commit c5efad88 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Luis Chamberlain
Browse files

selftests: find_symbol: Actually use load_mod() parameter


The parameter passed to load_mod() is stored in $MOD, but never used.
Obviously it was intended to be used instead of the hardcoded
"test_kallsyms_b" module name.

Fixes: 84b4a51f ("selftests: add new kallsyms selftests")
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 3e1d95b6
No related branches found
No related tags found
No related merge requests found
...@@ -44,10 +44,10 @@ load_mod() ...@@ -44,10 +44,10 @@ load_mod()
local ARCH="$(uname -m)" local ARCH="$(uname -m)"
case "${ARCH}" in case "${ARCH}" in
x86_64) x86_64)
perf stat $STATS $MODPROBE test_kallsyms_b perf stat $STATS $MODPROBE $MOD
;; ;;
*) *)
time $MODPROBE test_kallsyms_b time $MODPROBE $MOD
exit 1 exit 1
;; ;;
esac esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment