aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-09-26 18:29:05 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-26 09:56:07 -0700
commita2eb0ad50cae81f22961e8da54b536c7790af982 (patch)
tree2b7c508bd84957fa659f4c987985460daf096d1f /net
parents390/qeth: fix discipline unload after setup error (diff)
downloadlinux-dev-a2eb0ad50cae81f22961e8da54b536c7790af982.tar.xz
linux-dev-a2eb0ad50cae81f22961e8da54b536c7790af982.zip
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')
0 files changed, 0 insertions, 0 deletions