From: Thomas Bogendoerfer Date: Wed, 26 Mar 2008 11:09:38 +0000 (+0100) Subject: cdrom: use kmalloced buffers instead of buffers on stack X-Git-Tag: v2.6.26-rc1~1115^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22a9189fd073db3d03a4cf8b8c098aa207602de1;p=pandora-kernel.git cdrom: use kmalloced buffers instead of buffers on stack If cdrom commands are issued to a scsi drive in most cases the buffer will be filled via dma. This leads to bad stack corruption on non coherent platforms, because the buffers are neither cache line aligned nor is the size a multiple of the cache line size. Using kmalloced buffers avoids this. Signed-off-by: Thomas Bogendoerfer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed