lkml.org 
[lkml]   [2020]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net] net: mvpp2: Fix error return code in mvpp2_open()
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 <hulkci@huawei.com>
> Signed-off-by: Wang Hai <wanghai38@huawei.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Andrew

\
 
 \ /
  Last update: 2020-12-03 16:28    [W:0.446 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site