summaryrefslogtreecommitdiffstats
path: root/lib/ucmpdi2.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-01-10 21:55:14 +0300
committerShuah Khan <skhan@linuxfoundation.org>2024-01-22 07:58:22 -0700
commit083974ebb8fc65978d6cacd1bcfe9158d6234b98 (patch)
tree1ca947823ddefd78d72cd5f28da1518cfdd8d02e /lib/ucmpdi2.c
parented1a72fb0d646c983c85b62144fb1d134a8edb71 (diff)
downloadlinux-stable-083974ebb8fc65978d6cacd1bcfe9158d6234b98.tar.gz
linux-stable-083974ebb8fc65978d6cacd1bcfe9158d6234b98.tar.bz2
linux-stable-083974ebb8fc65978d6cacd1bcfe9158d6234b98.zip
kunit: device: Fix a NULL vs IS_ERR() check in init()
The root_device_register() function does not return NULL, it returns error pointers. Fix the check to match. Fixes: d03c720e03bd ("kunit: Add APIs for managing devices") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Rae Moar <rmoar@google.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/ucmpdi2.c')
0 files changed, 0 insertions, 0 deletions