s390/sclp: handle default case in sclp memory notifier
authorSumanth Korikkar <sumanthk@linux.ibm.com>
Fri, 29 Sep 2023 17:12:04 +0000 (19:12 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 25 Oct 2023 13:08:29 +0000 (15:08 +0200)
commite3f4170ccf20ebe2985b8e166184dd2d54220b60
tree24936e917bbbaeade88140f92079c26589471a69
parentaecd5a37b5ef4de4f6402dc079672e4243cc4c13
s390/sclp: handle default case in sclp memory notifier

When new memory notifier types are added in common code and
unimplemented on s390, return success instead of EINVAL return code.

This prevents breakage when new memory notifier types are added.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/char/sclp_cmd.c