Eric Farman dac4e0e10b s390/cio: return -EFAULT if copy_to_user() fails
commit d9c48a948d29bcb22f4fe61a81b718ef6de561a0 upstream.

Fixes: 120e214e504f ("vfio: ccw: realize VFIO_DEVICE_G(S)ET_IRQ_INFO ioctls")
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-17 17:06:19 +01:00
..
2020-03-27 10:22:47 +01:00
2020-02-17 18:01:57 +01:00
2020-10-16 12:36:38 -07:00
2019-10-10 10:49:46 +02:00
2020-10-16 12:36:38 -07:00