diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-26 19:29:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 19:56:07 +0300 |
commit | a2eb0ad50cae81f22961e8da54b536c7790af982 (patch) | |
tree | 2b7c508bd84957fa659f4c987985460daf096d1f /net/iucv | |
parent | c1a935f6ec5b146aef1de03d1ef135de34f90646 (diff) | |
download | linux-a2eb0ad50cae81f22961e8da54b536c7790af982.tar.xz |
s390/qeth: on gdev release, reset drvdata
qeth_core_probe_device() sets the gdev's drvdata, but doesn't reset it
on a subsequent error. Move the (re-)setting around a bit, so that it
happens symmetrically on allocating/freeing the qeth_card struct.
This is no actual problem, as the ccwgroup core will discard the gdev
on a probe error. But from qeth's perspective the gdev is an external
resource, so it's best to manage it cleanly.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions