aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-06-17 17:33:59 +0000
committerSteven Rostedt (VMware) <[email protected]>2017-04-05 13:36:52 +0000
commit62277de758b155dc04b78f195a1cb5208c37b2df (patch)
tree5853dbb3ecb5007c24899187602b49d51657025c /drivers/acpi/cppc_acpi.c
parentLinux 4.11-rc5 (diff)
downloadkernel-62277de758b155dc04b78f195a1cb5208c37b2df.tar.gz
kernel-62277de758b155dc04b78f195a1cb5208c37b2df.zip
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 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions