diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2007-05-08 09:31:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 20:15:14 +0200 |
commit | b247e8aaf2837715d31eb25828fa8b4eb0a659cd (patch) | |
tree | b796caad363353128d47da9beefb9df10014ae64 /drivers/usb/image | |
parent | Driver for the Maxim DS1WM, a 1-wire bus master ASIC core (diff) | |
download | linux-b247e8aaf2837715d31eb25828fa8b4eb0a659cd.tar.xz linux-b247e8aaf2837715d31eb25828fa8b4eb0a659cd.zip |
dma_declare_coherent_memory wrong allocation
dma_declare_coherent_memory() allocates a bitmap 1 bit per page, it
calculates the bitmap size based on size of long, but allocates bytes...
Thanks to James Bottomley for clarifications and corrections.
Signed-off-by: G. Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/image')
0 files changed, 0 insertions, 0 deletions