mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
[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: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
52ea1619d5
commit
bf8b2b5345
@ -1844,8 +1844,7 @@ done:
|
||||
#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;
|
||||
|
Loading…
Reference in New Issue
Block a user