Re: [PATCH] net: microchip: encx24j600: add missed kthread_stop

2020-05-07 Thread David Miller
From: Chuhong Yuan Date: Thu, 7 May 2020 23:13:20 +0800 > This driver calls kthread_run() in probe, but forgets to call > kthread_stop() in probe failure and remove. > Add the missed kthread_stop() to fix it. > > Signed-off-by: Chuhong Yuan Applied, thanks.

[PATCH] net: microchip: encx24j600: add missed kthread_stop

2020-05-07 Thread Chuhong Yuan
This driver calls kthread_run() in probe, but forgets to call kthread_stop() in probe failure and remove. Add the missed kthread_stop() to fix it. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/microchip/encx24j600.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/d