projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9092f3
)
Documentation/DMA-mapping.txt: update for pci_dma_mapping_error() changes
author
Marin Mitov
<
[email protected]
>
Mon, 22 Sep 2008 20:57:46 +0000
(13:57 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 23 Sep 2008 15:09:14 +0000
(08:09 -0700)
Make the example code consistent with changed API.
Signed-off-by: Marin Mitov <
[email protected]
>
Acked-by: FUJITA Tomonori <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
Documentation/DMA-mapping.txt
patch
|
blob
|
history
diff --git
a/Documentation/DMA-mapping.txt
b/Documentation/DMA-mapping.txt
index b463ecd0c7cebf36f53104015afcbeeccf4b934d..c74fec8c2351168d1329c527183f3a975234030e 100644
(file)
--- a/
Documentation/DMA-mapping.txt
+++ b/
Documentation/DMA-mapping.txt
@@
-740,7
+740,7
@@
failure can be determined by:
dma_addr_t dma_handle;
dma_handle = pci_map_single(pdev, addr, size, direction);
- if (pci_dma_mapping_error(dma_handle)) {
+ if (pci_dma_mapping_error(
pdev,
dma_handle)) {
/*
* reduce current DMA mapping usage,
* delay and try again later or