diff options
author | kbuild test robot | 2017-10-24 18:33:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-10-25 08:54:33 +0200 |
commit | c929d84735bff4349bde809a5a8eb1996bf371f6 (patch) | |
tree | c6c09a9f7b2bcc25e07bdee7f27a2a94d5fa5c27 /fs/xfs/xfs_inode_item.c | |
parent | Merge tag 'usb-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ba... (diff) | |
download | kernel-qcow2-linux-c929d84735bff4349bde809a5a8eb1996bf371f6.tar.gz kernel-qcow2-linux-c929d84735bff4349bde809a5a8eb1996bf371f6.tar.xz kernel-qcow2-linux-c929d84735bff4349bde809a5a8eb1996bf371f6.zip |
usb: xhci-mtk: fix ptr_ret.cocci warnings
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")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
0 files changed, 0 insertions, 0 deletions