s390/raw3270: remove BUG_ON in raw3270_request_reset()
authorSven Schnelle <svens@linux.ibm.com>
Mon, 5 Dec 2022 08:09:33 +0000 (09:09 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:04 +0000 (14:34 +0100)
commit7aeeeb926c355a9a5bc7a96bae7d5ada44f1d2e9
treeab941cc71c6026e2e34cf32b4d9e8085b955a2c2
parent82df96d849147c72013639134de21296b4b19d83
s390/raw3270: remove BUG_ON in raw3270_request_reset()

WARN_ON_ONCE if list is not empty, and return an error code
instead.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/raw3270.c
drivers/s390/char/raw3270.h