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: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NKees Cook <keescook@chromium.org>
Showing
想要评论请 注册 或 登录