Re: [PATCH] usb: xhci-mtk: fix ptr_ret.cocci warnings

2017-10-24 Thread Chunfeng Yun
On Wed, 2017-10-25 at 00:33 +0800, kbuild test robot wrote: > drivers/usb/host/xhci-mtk.c:256:1-3: WARNING: PTR_ERR_OR_ZERO can be used > > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > > Fixes: b6bb72cf0df1 ("usb:

[PATCH] usb: xhci-mtk: fix ptr_ret.cocci warnings

2017-10-24 Thread kbuild test robot
drivers/usb/host/xhci-mtk.c:256:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Fixes: b6bb72cf0df1 ("usb: xhci-mtk: add optional mcu and dma bus clocks") CC: Chunfeng Yun