OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db4943
)
ipw2200: Fix a function name in print messages
author
Cai Huoqing
<caihuoqing@baidu.com>
Sat, 25 Sep 2021 12:46:20 +0000
(20:46 +0800)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 28 Sep 2021 08:24:18 +0000
(11:24 +0300)
Use dma_alloc_coherent() instead of pci_alloc_consistent(),
because only dma_alloc_coherent() is called here.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/20210925124621.197-1-caihuoqing@baidu.com
drivers/net/wireless/intel/ipw2x00/ipw2200.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/intel/ipw2x00/ipw2200.c
b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
index
ada6ce3
..
9a99f48
100644
(file)
--- a/
drivers/net/wireless/intel/ipw2x00/ipw2200.c
+++ b/
drivers/net/wireless/intel/ipw2x00/ipw2200.c
@@
-3777,7
+3777,7
@@
static int ipw_queue_tx_init(struct ipw_priv *priv,
dma_alloc_coherent(&dev->dev, sizeof(q->bd[0]) * count,
&q->q.dma_addr, GFP_KERNEL);
if (!q->bd) {
- IPW_ERROR("
pci_alloc_consist
ent(%zd) failed\n",
+ IPW_ERROR("
dma_alloc_coher
ent(%zd) failed\n",
sizeof(q->bd[0]) * count);
kfree(q->txb);
q->txb = NULL;