diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2016-09-20 09:04:20 -0700 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-09-20 17:58:46 -0600 |
commit | be6c30956fa3dff2658c5ede40c80e461e2124ff (patch) | |
tree | 6c4875087e7d6fc7851278be6f414bbce6e78f73 | |
parent | fd5d2b832d62fdee50db3756e40ecb3afa1ff956 (diff) |
Documentation: DMA-API-HOWTO: Fix a typo
Fix a type in example variable name.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/DMA-API-HOWTO.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt index 494ffac655ee..979228bc9035 100644 --- 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 |