projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tg3: fix return value in tg3_get_stats64
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
host
/
ehci-mem.c
diff --git
a/drivers/usb/host/ehci-mem.c
b/drivers/usb/host/ehci-mem.c
index c0fb6a8ae6a3935e367e4a9c386e051acc739338..b6205fac356771bbc2a19ec87cce368e8bc23bce 100644
(file)
--- a/
drivers/usb/host/ehci-mem.c
+++ b/
drivers/usb/host/ehci-mem.c
@@
-209,7
+209,7
@@
static int ehci_mem_init (struct ehci_hcd *ehci, gfp_t flags)
ehci->periodic = (__le32 *)
dma_alloc_coherent (ehci_to_hcd(ehci)->self.controller,
ehci->periodic_size * sizeof(__le32),
- &ehci->periodic_dma,
0
);
+ &ehci->periodic_dma,
flags
);
if (ehci->periodic == NULL) {
goto fail;
}