diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-03-31 22:13:05 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-02 01:38:32 (GMT) |
commit | 07e7de8f7a7146b3ac77c52ebd91c93a8370d9a8 (patch) | |
tree | f8236d971e13a2afd5178137ba778deb4b8989a7 /drivers/net/cpmac.c | |
parent | 6c57990696a16ae43ea9fddb131b2784292068ba (diff) | |
download | linux-fsl-qoriq-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/net/cpmac.c')
0 files changed, 0 insertions, 0 deletions