aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-06-17 17:33:59 +0000
committerMoyster <oysterized@gmail.com>2017-06-17 15:55:00 +0200
commitcdbd601879b8e689a0d90a160cfacf50e52fa709 (patch)
treecbc668e2e7307ac810133ebc01ed410a9806f10e /android
parent685b76ebc5a91ab87d56cad6ce504074b83da933 (diff)
ring-buffer: Fix return value check in test_ringbuffer()
commit 62277de758b155dc04b78f195a1cb5208c37b2df upstream. In case of error, the function kthread_run() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Link: http://lkml.kernel.org/r/1466184839-14927-1-git-send-email-weiyj_lk@163.com Fixes: 6c43e554a ("ring-buffer: Add ring buffer startup selftest") Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions