aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-02-06 14:57:06 +0000
committerPeter Chen <[email protected]>2016-02-19 06:13:44 +0000
commit8c0614ca312c847ca5409ea11c39434dec69631d (patch)
tree265a5a72c97177b2e8b18d0a62601dab5f380b70 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentusb: chipidea: error on overflow for port_test_write (diff)
downloadkernel-8c0614ca312c847ca5409ea11c39434dec69631d.tar.gz
kernel-8c0614ca312c847ca5409ea11c39434dec69631d.zip
usb: chipidea: fix return value check in ci_hdrc_pci_probe()
In case of error, the function usb_phy_generic_register() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions