mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
If no driver is attached to a device or the driver does not provide the
path_event function, an FCES path-event on this device could end up in a
kernel-panic. Verify the driver availability before the path_event
function call.
Fixes: 32ef938815 ("s390/cio: Add support for FCES status notification")
Cc: [email protected]
Signed-off-by: Vineeth Vijayan <[email protected]>
Suggested-by: Peter Oberparleiter <[email protected]>
Reviewed-by: Jan Hoeppner <[email protected]>
Reviewed-by: Peter Oberparleiter <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>