Skip to content
Commit ddc8f6fe authored by Dave Jiang's avatar Dave Jiang Committed by Jon Mason
Browse files

NTB: Fix incorrect return check in ntb_perf



kthread_create_no_node() returns error pointers, never NULL. Fix check so
it handles error correctly.

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 2572c7fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment