]> git.baikalelectronics.ru Git - kernel.git/commit
net: microchip: encx24j600: add missed kthread_stop
authorChuhong Yuan <hslester96@gmail.com>
Thu, 7 May 2020 15:13:20 +0000 (23:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 May 2020 01:08:47 +0000 (18:08 -0700)
commitc929a411a6dfab69a7c07f1cf5358432a9c932c9
treef0f5d0cebb9aa7f80e857179a3e06204e76a0e95
parent801872b27b58a6168714f0c040d71fc3bf49bb7f
net: microchip: encx24j600: add missed kthread_stop

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>
drivers/net/ethernet/microchip/encx24j600.c