libertas: allocate bulk_out_buffer with GFP_KERNEL instead of
GFP_DMA
Marcelo Tosatti
mtosatti at redhat.unroutablecom
Tue Jan 2 10:59:19 EST 2007
Commit: a589b9920e904a88d0b620575bc86b859e8c07fa
Parent: ba04adf73a8c86f9bfbf5e1eec1c9a691ac114df
commit a589b9920e904a88d0b620575bc86b859e8c07fa
Author: Marcelo Tosatti <mtosatti at redhat.com>
AuthorDate: Thu Dec 28 11:35:48 2006 -0200
Commit: Andres Salomon <dilinger at debian.org>
CommitDate: Tue Jan 2 10:33:43 2007 -0500
libertas: allocate bulk_out_buffer with GFP_KERNEL instead of GFP_DMA
The USB host controller has no such <16MB limitation for DMA, switch
to GFP_KERNEL.
Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
(cherry picked from ba26232323c56fcea8a9471bfbe8f60296d16340 commit)
---
drivers/net/wireless/libertas/if_usb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 9a7e65a..37fe7bf 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -248,7 +248,7 @@ static int if_usb_probe(struct usb_inter
endpoint->bEndpointAddress);
usb_cardp->bulk_out_buffer =
kmalloc(MRVDRV_ETH_TX_PACKET_BUFFER_SIZE,
- GFP_DMA);
+ GFP_KERNEL);
if (!usb_cardp->bulk_out_buffer) {
dprintk(1,
More information about the Commits-kernel
mailing list