diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2008-07-14 09:59:20 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:02:17 +0200 |
commit | ef60cd13ecee0ccf2439d63013cbfc798aea2bb9 (patch) | |
tree | 1d0dff750b0c031a1476d14a4fc2dd5071a08aaf /drivers/net/mv643xx_eth.c | |
parent | e0bc24958e1305efe176adc9d5f23a09e84c0058 (diff) | |
download | blackbird-op-linux-ef60cd13ecee0ccf2439d63013cbfc798aea2bb9.tar.gz blackbird-op-linux-ef60cd13ecee0ccf2439d63013cbfc798aea2bb9.zip |
[S390] cio: fix double unregistering of subchannels
In some cases where the channel subsystem decides to drop a subchannel
device device_unregister may be called twice, which results in an oops.
The patch prevents this by only unregistering registered devices.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
0 files changed, 0 insertions, 0 deletions