s390/dasd: check for device error pointer within state change interrupts
authorStefan Haberland <sth@linux.vnet.ibm.com>
Sat, 7 Oct 2017 22:36:56 +0000 (22:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2017 09:08:37 +0000 (10:08 +0100)
commitba56e6cd9741c8f7454e7712ec5f81c988e5cb9e
tree7bb0e991064ea989806276487f66ee424805effa
parent0b5cdee7df7645b842ef10bebe35b16bd69ab953
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