summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2013-03-29 11:54:55 +0000
committerJeff Garzik <jgarzik@redhat.com>2013-04-03 19:45:57 -0400
commit8e725c7f8a60feaa88edacd4dee2c754d5ae7706 (patch)
treec1cec8594972926936365b124a10a5ce05233265 /drivers/tty
parentb55f84e2d527182e7c611d466cd0bb6ddce201de (diff)
downloadlinux-3.10-8e725c7f8a60feaa88edacd4dee2c754d5ae7706.tar.gz
linux-3.10-8e725c7f8a60feaa88edacd4dee2c754d5ae7706.tar.bz2
linux-3.10-8e725c7f8a60feaa88edacd4dee2c754d5ae7706.zip
libata: fix DMA to stack in reading devslp_timing parameters
Commit 803739d25c2343da6d2f95eebdcbc08bf67097d4 ("[libata] replace sata_settings with devslp_timing"), which was also Cc: stable, used a stack buffer to receive data from ata_read_log_page(), which triggers the following warning: ahci 0000:00:1f.2: DMA-API: device driver maps memory fromstack [addr=ffff880140469948] Fix this by using ap->sector_buf instead of a stack buffer. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Cc: stable@kernel.org Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions