mirror of https://gitee.com/openkylin/linux.git
e8fa49b5d9
In case of error, the function platform_device_register_simple() returns
ERR_PTR() and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
vgem_drv.c | ||
vgem_drv.h | ||
vgem_fence.c |