diff options
| author | Johan Hovold <johan@kernel.org> | 2016-11-30 15:29:52 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:29 +0200 |
| commit | b7ad8f035e6703622a91e70d5682589346295a68 (patch) | |
| tree | 9e83c8ec8a1695812a5bf7642c5f0acf1d538522 /scripts/patch-kernel | |
| parent | ae6cfa66021a40cbe5739a6e363323436ed3b7be (diff) | |
net: ethernet: stmmac: dwmac-generic: fix probe error path
commit 939b20022765bc338b0f72cbf1eed60a907398d7 upstream.
Make sure to call any exit() callback to undo the effect of init()
before returning on late probe errors.
Fixes: cf3f047b9af4 ("stmmac: move hw init in the probe (v2)")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
