diff options
author | 2019-04-02 12:14:31 +0000 | |
---|---|---|
committer | 2019-04-02 19:58:04 +0200 | |
commit | a35342d0f8b348fad38e6250f9b646b99aa210c7 (patch) | |
tree | 6f5161d646722d99e725a34e1519ea4f2608c05c /.cocciconfig | |
parent | staging: iio: adc: ad7816.c: Replace bit shifting with BIT macro (diff) | |
download | linux-a35342d0f8b348fad38e6250f9b646b99aa210c7.tar.gz linux-a35342d0f8b348fad38e6250f9b646b99aa210c7.tar.bz2 linux-a35342d0f8b348fad38e6250f9b646b99aa210c7.zip |
staging: pi433: Return thread immediately when kthread_should_stop() call.
When kthread_stop() called by removing module, running thread should
return immediately. Otherwise, It is very dangerous that thread may access
any released data like struct pi433_device.
Signed-off-by: Sidong Yang <realwakka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions