diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-01 02:13:05 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-02 05:38:32 +0400 |
commit | 07e7de8f7a7146b3ac77c52ebd91c93a8370d9a8 (patch) | |
tree | f8236d971e13a2afd5178137ba778deb4b8989a7 /drivers/nubus | |
parent | 6c57990696a16ae43ea9fddb131b2784292068ba (diff) | |
download | linux-07e7de8f7a7146b3ac77c52ebd91c93a8370d9a8.tar.xz |
acenic: fix the misusage of zero dma address
acenic wrongly assumes that zero is an invalid dma address (calls
dma_unmap_page for only non zero dma addresses). Zero is a valid dma
address on some architectures. The dma length can be used here.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions