diff options
author | Oliver Neukum <oneukum@suse.com> | 2020-08-05 15:07:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-06 03:43:38 +0300 |
commit | 5fcfb6d0bfcda17f0d0656e4e5b3710af2bbaae5 (patch) | |
tree | dd5f83de27c9e2b1e1a4f92728b3f1ad9fbfc9af /drivers/i3c | |
parent | 8ed54f167abda44da48498876953f5b7843378df (diff) | |
download | linux-5fcfb6d0bfcda17f0d0656e4e5b3710af2bbaae5.tar.xz |
hso: fix bailout in error case of probe
The driver tries to reuse code for disconnect in case
of a failed probe.
If resources need to be freed after an error in probe, the
netdev must not be freed because it has never been registered.
Fix it by telling the helper which path we are in.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i3c')
0 files changed, 0 insertions, 0 deletions