commit | 427c63e10374dc588f8802faaf56cd39f09a53d5 | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Thu May 07 23:13:20 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 03 08:19:28 2020 +0200 |
tree | 325b56a6b39f0853582dcb63f00a6f815153d8cd | |
parent | 60df5e0350e67904c3df5799237e1efd0109b159 [diff] |
net: microchip: encx24j600: add missed kthread_stop [ Upstream commit ff8ce319e9c25e920d994cc35236f0bb32dfc8f3 ] 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 <hslester96@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>