提交 e6c81dde 编写于 作者: L LeoLiu-oc 提交者: Zheng Zengkai

USB: Fix some clerical mistakes

zhaoxin inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I40QDN
CVE: NA

----------------------------------------------------------------

Fix some clerical mistakes in previous patch.

Fixes: 4d79e047 ("USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci")
Signed-off-by: NLeoLiu-oc <LeoLiu-oc@zhaoxin.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 80efa5c8
......@@ -67,8 +67,8 @@ static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd,
continue;
if (strncmp(drv->name, "uhci_hcd", sizeof("uhci_hcd") - 1) &&
strncmp(drv->name, "ooci_hcd", sizeof("uhci_hcd") - 1) &&
strncmp(drv->name, "ehci_hcd", sizeof("uhci_hcd") - 1))
strncmp(drv->name, "ohci-pci", sizeof("ohci-pci") - 1) &&
strncmp(drv->name, "ehci-pci", sizeof("ehci-pci") - 1))
continue;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册