commit | 07e7de8f7a7146b3ac77c52ebd91c93a8370d9a8 | [log] [tgz] |
---|---|---|
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Wed Mar 31 22:13:05 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 01 18:38:32 2010 -0700 |
tree | f8236d971e13a2afd5178137ba778deb4b8989a7 | |
parent | 6c57990696a16ae43ea9fddb131b2784292068ba [diff] |
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>