Re: [PATCH v1] stmmac: intel: Fix kernel crash due to wrong error path

2020-04-30 Thread David Miller
From: Andy Shevchenko Date: Wed, 29 Apr 2020 18:09:32 +0300 > Unfortunately sometimes ->probe() may fail. The commit b9663b7ca6ff > ("net: stmmac: Enable SERDES power up/down sequence") > messed up with error handling and thus: > > [ 12.811311] [ cut here ] > [ 12.811

[PATCH v1] stmmac: intel: Fix kernel crash due to wrong error path

2020-04-29 Thread Andy Shevchenko
Unfortunately sometimes ->probe() may fail. The commit b9663b7ca6ff ("net: stmmac: Enable SERDES power up/down sequence") messed up with error handling and thus: [ 12.811311] [ cut here ] [ 12.811993] kernel BUG at net/core/dev.c:9937! Fix this by properly crafted erro