diff options
author | 2017-07-16 14:48:58 +0000 | |
---|---|---|
committer | 2017-07-28 16:57:26 -0700 | |
commit | c7d42f37087d27a88b2ad27fa7e577f184ce5765 (patch) | |
tree | 6902cc210fee26e3d7a4038b549b4553ecbd65e9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Staging: pi433: declare functions static (diff) | |
download | wireguard-linux-c7d42f37087d27a88b2ad27fa7e577f184ce5765.tar.xz wireguard-linux-c7d42f37087d27a88b2ad27fa7e577f184ce5765.zip |
Staging: pi433: check error after kthread_run()
Error should be checked with IS_ERR after calling kthread_run()
instead of comparing the returned pointer to an int.
Found by sparse warning:
incompatible types for operation (<)
left side has type struct task_struct *tx_task_struct
right side has type int
Signed-off-by: Joseph Wright <rjosephwright@gmail.com>
Reviewed-by: Marcus Wolf <linux@wolf-entwicklungen.de>
Tested-by: Marcus Wolf <linux@wolf-entwicklungen.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions