Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359285
b: refs/heads/master
c: be62bc4
h: refs/heads/master
i:
  359283: 4f5ddfa
v: v3
  • Loading branch information
Shuah Khan authored and Linus Torvalds committed Feb 28, 2013
1 parent 96d54d0 commit eff4a7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b88a105802e9aeb6e234e8106659f5d1271081bb
refs/heads/master: be62bc410061778134c2b3b3dd93f51bb5acc839
7 changes: 4 additions & 3 deletions trunk/Documentation/DMA-API-HOWTO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,10 @@ will invoke the generic mapping error check interface. Doing so will ensure
that the mapping code will work correctly on all dma implementations without
any dependency on the specifics of the underlying implementation. Using the
returned address without checking for errors could result in failures ranging
from panics to silent data corruption. Couple of example of incorrect ways to
check for errors that make assumptions about the underlying dma implementation
are as follows and these are applicable to dma_map_page() as well.
from panics to silent data corruption. A couple of examples of incorrect ways
to check for errors that make assumptions about the underlying dma
implementation are as follows and these are applicable to dma_map_page() as
well.

Incorrect example 1:
dma_addr_t dma_handle;
Expand Down

0 comments on commit eff4a7e

Please sign in to comment.