aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kvm/gaccess.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2023-10-12 09:40:39 +0200
committerVasily Gorbik <[email protected]>2023-10-23 18:21:22 +0200
commitae626f686351d220d5eab746dc3a19e90bb1de9a (patch)
tree17b123353d950fb313b2b061d3d511f1bd9d9e9a /arch/s390/kvm/gaccess.c
parent5c845de331d980d90c6d18028942812fa491fe69 (diff)
s390/mm,fault: replace WARN_ON_ONCE() with unreachable()
do_secure_storage_access() contains a switch statements which handles all possible return values from get_fault_type(). Therefore remove the pointless default case error handling and replace it with unreachable(). Reviewed-by: Janosch Frank <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'arch/s390/kvm/gaccess.c')
0 files changed, 0 insertions, 0 deletions