WSL2-Linux-Kernel/drivers/cdrom
Thomas Bogendoerfer 22a9189fd0 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 <tsbogend@alpha.franken.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-04-21 09:50:08 +02:00
..
Makefile cdrom: Add support for Sega Dreamcast GD-ROM. 2008-01-28 13:19:04 +09:00
cdrom.c cdrom: use kmalloced buffers instead of buffers on stack 2008-04-21 09:50:08 +02:00
gdrom.c cdrom: make unregister_cdrom() return void 2008-04-21 09:50:08 +02:00
viocd.c cdrom: make unregister_cdrom() return void 2008-04-21 09:50:08 +02:00