[PATCH] s390: ccw device reconnect oops.
authorCornelia Huck <cohuck@de.ibm.com>
Tue, 11 Oct 2005 15:28:59 +0000 (08:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Oct 2005 16:46:53 +0000 (09:46 -0700)
commite5945b4f605d1479d5b44252a2c691168c5d38d6
tree042f1163012843113aecce2ccbb997e0d2622025
parent907a42617970a159361f17ef9a63f04d276995ab
[PATCH] s390: ccw device reconnect oops.

Search for a disconnect ccw_device on the ccw bus rather than on the css
bus (was a typo in patch I did for the klist conversion).  A cast to an
embedding ccw_device from an embedded device in a struct subchannel will
lead us to oopses.

Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/cio/device.c