summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-06-08 23:33:57 +0100
committerPierre Ossman <pierre@ossman.eu>2009-06-13 22:43:01 +0200
commit051913dada046ac948eb6f48c0717fc25de2a917 (patch)
treeddb00a84cd989614acff2e425f4aba5c23231fd9 /net
parentbe3f4ae0c0c56aab903aceaceed4b9d8418e180e (diff)
downloadop-kernel-dev-051913dada046ac948eb6f48c0717fc25de2a917.zip
op-kernel-dev-051913dada046ac948eb6f48c0717fc25de2a917.tar.gz
mmc_block: do not DMA to stack
In the write recovery routine, the data to get from the card is allocated from the stack. The DMA mapping documentation says explicitly stack memory is not mappable by any of the DMA calls. Change to using kmalloc() to allocate the memory for the result from the card and then free it once we've finished with the transaction. [ Changed to GFP_KERNEL allocation - Pierre Ossman ] Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud