summaryrefslogtreecommitdiff
path: root/drivers/xen/sys-hypervisor.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-02-06 22:57:06 +0800
committerPeter Chen <peter.chen@nxp.com>2016-02-19 14:13:44 +0800
commit8c0614ca312c847ca5409ea11c39434dec69631d (patch)
tree265a5a72c97177b2e8b18d0a62601dab5f380b70 /drivers/xen/sys-hypervisor.c
parenta4de018d2b0364e40a626fa521ec21e31a10ac84 (diff)
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/xen/sys-hypervisor.c')
0 files changed, 0 insertions, 0 deletions