[PATCH 4.14 25/43] net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 00777fac28ba3e126b9e63e789a613e8bd2cab25 ] If the optional regulator is deferred, we must release some resources. They

[PATCH 4.14 25/43] net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 00777fac28ba3e126b9e63e789a613e8bd2cab25 ] If the optional regulator is deferred, we must release some resources. They will be re-allocated when the