aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMete Durlu <[email protected]>2024-07-04 14:10:05 +0200
committerVasily Gorbik <[email protected]>2024-07-10 19:50:44 +0200
commitbb9be93acb7e6a0fa78919d30e68410c401fe690 (patch)
tree197f901ba583307b3975d5387ca690996a74954a /lib/memory-notifier-error-inject.c
parent7455a33179e65267cd7c8910050b6f0be3ff6b83 (diff)
s390/diag: Return errno's from diag204
Return different errno's from diag204 to allow users to handle them accordingly. Instead of returning -1 regardless of the failing condition, return -EINVAL on invalid memory address and -EOPNOTSUPP when diag instruction fails. Acked-by: Heiko Carstens <[email protected]> Reviewed-by: Tobias Huschle <[email protected]> Signed-off-by: Mete Durlu <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions