From: Stefan Richter Date: Sat, 20 Jun 2009 11:23:59 +0000 (+0200) Subject: firewire: core: do not DMA-map stack addresses X-Git-Tag: v2.6.31-rc3~76^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fdc03709433ccc2005f0f593ae9d9dd04f7b485;p=pandora-kernel.git firewire: core: do not DMA-map stack addresses The DMA mapping API cannot map on-stack addresses, as explained in Documentation/DMA-mapping.txt. Convert the two cases of on-stack packet payload buffers in firewire-core (payload of lock requests in the bus manager work and in iso resource management) to slab-allocated memory. There are a number on-stack buffers for quadlet write or quadlet read requests in firewire-core and firewire-sbp2. These are harmless; they are copied to/ from card driver internal DMA buffers since quadlet payloads are inlined with packet headers. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed