diff options
author | 2020-04-29 18:09:32 +0300 | |
---|---|---|
committer | 2020-04-30 21:00:17 -0700 | |
commit | ab1c637cc6d80c0ee1d5d15f7ec8977f49feee75 (patch) | |
tree | fe5c2c4eecc3874e50090d91cef04d81e33681fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: spectrum_acl_tcam: Position vchunk in a vregion list properly (diff) | |
download | linux-dev-ab1c637cc6d80c0ee1d5d15f7ec8977f49feee75.tar.xz linux-dev-ab1c637cc6d80c0ee1d5d15f7ec8977f49feee75.zip |
stmmac: intel: Fix kernel crash due to wrong error path
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 error path.
Fixes: b9663b7ca6ff ("net: stmmac: Enable SERDES power up/down sequence")
Cc: Voon Weifeng <weifeng.voon@intel.com>
Cc: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions