diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2023-09-18 15:15:24 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-09-21 04:22:27 -0700 |
commit | 2f248e0f8a6aa7199f435d77d94b53cf647e7d7b (patch) | |
tree | 3ee2c6ce007644104de65b8c9a19dd2fa091603f /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | fc9fdf2c5ab71e27e64b9e14606b677cc2e45884 (diff) |
RISC-V: selftests: Convert hwprobe test to kselftest API
Returning (exiting with) negative exit codes isn't user friendly,
because the user must output the exit code with the shell, convert it
from its unsigned 8-bit value back to the negative value, and then
look up where that comes from in the code (which may be multiple
places). Use the kselftests TAP interface, instead.
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230918131518.56803-13-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions