提交 bf8b2b53 编写于 作者: R Randy Dunlap 提交者: Greg Kroah-Hartman

[PATCH] USB EHCI: fix gfp_t sparse warning

Fix sparse warning:
drivers/usb/host/ehci-hcd.c:719:35: warning: incorrect type in argument 3 (different base types)
drivers/usb/host/ehci-hcd.c:719:35:    expected unsigned int [unsigned] mem_flags
drivers/usb/host/ehci-hcd.c:719:35:    got restricted unsigned int [usertype] mem_flags
Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 52ea1619
......@@ -1844,8 +1844,7 @@ static int sitd_submit (struct ehci_hcd *ehci, struct urb *urb,
#else
static inline int
sitd_submit (struct ehci_hcd *ehci, struct urb *urb,
unsigned mem_flags)
sitd_submit (struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags)
{
ehci_dbg (ehci, "split iso support is disabled\n");
return -ENOSYS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册