diff options
author | Stefan Richter | 2007-07-02 22:07:34 +0200 |
---|---|---|
committer | Stefan Richter | 2007-07-10 00:07:48 +0200 |
commit | b4be016ad81af5a83f0be820edf106de883e6ade (patch) | |
tree | f15e6577aee7b098ba52bb3f8dfeaa2af61c3716 /drivers/firewire/fw-card.c | |
parent | firewire: fw-sbp2: add a boundary check (diff) | |
download | kernel-qcow2-linux-b4be016ad81af5a83f0be820edf106de883e6ade.tar.gz kernel-qcow2-linux-b4be016ad81af5a83f0be820edf106de883e6ade.tar.xz kernel-qcow2-linux-b4be016ad81af5a83f0be820edf106de883e6ade.zip |
firewire: fw-sbp2: fix DMA mapping of S/G tables
- The CPU must not touch the buffer after it was DMA-mapped.
- The size argument of dma_unmap_single(...page_table...) was bogus.
- Move a comment closer to the code to which it refers to.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Diffstat (limited to 'drivers/firewire/fw-card.c')
0 files changed, 0 insertions, 0 deletions