diff options
author | Wei Yongjun <[email protected]> | 2016-06-17 17:33:59 +0000 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2017-04-05 09:36:52 -0400 |
commit | 62277de758b155dc04b78f195a1cb5208c37b2df (patch) | |
tree | 5853dbb3ecb5007c24899187602b49d51657025c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a71c9a1c779f2499fb2afc0553e543f18aff6edf (diff) |
ring-buffer: Fix return value check in test_ringbuffer()
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/[email protected]
Cc: [email protected]
Fixes: 6c43e554a ("ring-buffer: Add ring buffer startup selftest")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions