Skip to content
Commit 8958fd41 authored by Dan Carpenter's avatar Dan Carpenter Committed by Kees Cook
Browse files

test_overflow: fix an IS_ERR() vs NULL bug



root_device_register() returns error pointers, it never returns NULL.

Fixes: ca90800a ("test_overflow: Add memory allocation overflow tests")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent d54d35c5
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