diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-06-12 15:04:33 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-06-12 16:19:22 -0700 |
commit | 8958fd411ba08aa3ac1aeb19828abaf9cf33f7b8 (patch) | |
tree | abfa2ce8dcf0673866e1236b4ef59f42eb8e2f9b /lib/locking-selftest-rlock-hardirq.h | |
parent | d54d35c501bcbd57b9722a6b371c0608b5d34199 (diff) | |
download | linux-8958fd411ba08aa3ac1aeb19828abaf9cf33f7b8.tar.gz linux-8958fd411ba08aa3ac1aeb19828abaf9cf33f7b8.tar.bz2 linux-8958fd411ba08aa3ac1aeb19828abaf9cf33f7b8.zip |
test_overflow: fix an IS_ERR() vs NULL bug
root_device_register() returns error pointers, it never returns NULL.
Fixes: ca90800a91ba ("test_overflow: Add memory allocation overflow tests")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions