diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-03-31 22:13:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-01 18:38:32 -0700 |
commit | 07e7de8f7a7146b3ac77c52ebd91c93a8370d9a8 (patch) | |
tree | f8236d971e13a2afd5178137ba778deb4b8989a7 /drivers/video/cyber2000fb.c | |
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>
Diffstat (limited to 'drivers/video/cyber2000fb.c')
0 files changed, 0 insertions, 0 deletions