summaryrefslogtreecommitdiff
path: root/net/iucv
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-09-26 19:29:05 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-26 19:56:07 +0300
commita2eb0ad50cae81f22961e8da54b536c7790af982 (patch)
tree2b7c508bd84957fa659f4c987985460daf096d1f /net/iucv
parentc1a935f6ec5b146aef1de03d1ef135de34f90646 (diff)
downloadlinux-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