projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5d2b8
)
Documentation: DMA-API-HOWTO: Fix a typo
author
Andrey Smirnov
<andrew.smirnov@gmail.com>
Tue, 20 Sep 2016 16:04:20 +0000
(09:04 -0700)
committer
Jonathan Corbet
<corbet@lwn.net>
Tue, 20 Sep 2016 23:58:46 +0000
(17:58 -0600)
Fix a type in example variable name.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/DMA-API-HOWTO.txt
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/DMA-API-HOWTO.txt
b/Documentation/DMA-API-HOWTO.txt
index 494ffac655eee94d4d23c776a21c98ecb93d3251..979228bc9035ca35463a6adfb9db2a7c9f40f9a1 100644
(file)
--- a/
Documentation/DMA-API-HOWTO.txt
+++ b/
Documentation/DMA-API-HOWTO.txt
@@
-699,7
+699,7
@@
to use the dma_sync_*() interfaces.
dma_addr_t mapping;
mapping = dma_map_single(cp->dev, buffer, len, DMA_FROM_DEVICE);
- if (dma_mapping_error(cp->dev,
dma_handle
)) {
+ if (dma_mapping_error(cp->dev,
mapping
)) {
/*
* reduce current DMA mapping usage,
* delay and try again later or