[PATCH] net: altera_tse: fix connect_local_phy error path

2019-01-21 Thread Atsushi Nemoto
The connect_local_phy should return NULL (not negative errno) on error, since its caller expects it. Signed-off-by: Atsushi Nemoto --- drivers/net/ethernet/altera/altera_tse_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/altera/altera_tse_main.

Re: [PATCH] net: altera_tse: fix connect_local_phy error path

2019-01-22 Thread Thor Thayer
On 1/21/19 2:26 AM, Atsushi Nemoto wrote: The connect_local_phy should return NULL (not negative errno) on error, since its caller expects it. Signed-off-by: Atsushi Nemoto --- drivers/net/ethernet/altera/altera_tse_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] net: altera_tse: fix connect_local_phy error path

2019-01-22 Thread David Miller
From: Atsushi Nemoto Date: Mon, 21 Jan 2019 17:26:41 +0900 > The connect_local_phy should return NULL (not negative errno) on > error, since its caller expects it. > > Signed-off-by: Atsushi Nemoto Applied.