]> 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)
commit57a051f719a0ca0b55627e625ea8e4a404a640f5
treef0f5d0cebb9aa7f80e857179a3e06204e76a0e95
parentc9a3e70e36dc4e55d87307509b8d00c2dd21255a
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