From: Stefan Richter Date: Wed, 14 Oct 2009 18:40:10 +0000 (+0200) Subject: firewire: ohci: 0 may be a valid DMA address X-Git-Tag: v2.6.33-rc1~383^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19593ffdb6daa6ba691d247a2400cece12687c52;p=pandora-kernel.git firewire: ohci: 0 may be a valid DMA address I was told that there are obscure architectures with non-coherent DMA which may DMA-map to bus address 0. We shall not use 0 as a magic number of uninitialized bus address variables. The packet->payload_length > 0 test cannot be used either (except in at_context_queue_packet) because local requests are not DMA-mapped regardless of payload_length. Hence add a state flag to struct fw_packet. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed