aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-06-12 12:04:33 +0000
committerKees Cook <[email protected]>2018-06-12 23:19:22 +0000
commit8958fd411ba08aa3ac1aeb19828abaf9cf33f7b8 (patch)
treeabfa2ce8dcf0673866e1236b4ef59f42eb8e2f9b /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentMerge tag 'f2fs-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ja... (diff)
downloadkernel-8958fd411ba08aa3ac1aeb19828abaf9cf33f7b8.tar.gz
kernel-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 <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions