Re: [PATCH net] net: mvpp2: Fix error return code in mvpp2_open()

2020-12-03 Thread Jakub Kicinski
On Thu, 3 Dec 2020 16:23:46 +0100 Andrew Lunn wrote: > On Thu, Dec 03, 2020 at 10:18:06PM +0800, Wang Hai wrote: > > Fix to return negative error code -ENOENT from invalid configuration > > error handling case instead of 0, as done elsewhere in this function. > > > > Fixes: 4bb043262878 ("net:

Re: [PATCH net] net: mvpp2: Fix error return code in mvpp2_open()

2020-12-03 Thread Andrew Lunn
On Thu, Dec 03, 2020 at 10:18:06PM +0800, Wang Hai wrote: > Fix to return negative error code -ENOENT from invalid configuration > error handling case instead of 0, as done elsewhere in this function. > > Fixes: 4bb043262878 ("net: mvpp2: phylink support") > Reported-by: Hulk Robot >

[PATCH net] net: mvpp2: Fix error return code in mvpp2_open()

2020-12-03 Thread Wang Hai
Fix to return negative error code -ENOENT from invalid configuration error handling case instead of 0, as done elsewhere in this function. Fixes: 4bb043262878 ("net: mvpp2: phylink support") Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 1