OSDN Git Service

s390/dasd: check for device error pointer within state change interrupts
authorStefan Haberland <sth@linux.vnet.ibm.com>
Sat, 7 Oct 2017 22:37:49 +0000 (22:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2017 09:06:30 +0000 (10:06 +0100)
commit4b7a35866b0ca4205ec5bacd2a5531caf19a463f
treefff21435db63742f453979c4956f7dd7f7221ce1
parent45a012ace954efc08670fd6cd5698facbcdb119c
s390/dasd: check for device error pointer within state change interrupts

[ Upstream commit 2202134e48a3b50320aeb9e3dd1186833e9d7e66 ]

Check if the device pointer is valid. Just a sanity check since we already
are in the int handler of the device.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/block/dasd.c