android_kernel_xiaomi_sdm845/arch/cris/arch-v32/drivers/pci
Guennadi Liakhovetski b247e8aaf2 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>
2007-05-08 11:15:14 -07:00
..
bios.c [PATCH] MSI-X: fix resume crash 2007-03-28 13:59:37 -07:00
dma.c dma_declare_coherent_memory wrong allocation 2007-05-08 11:15:14 -07:00
Makefile [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00