diff options
author | Adam Cozzette <acozzette@cs.hmc.edu> | 2011-08-24 12:22:37 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-24 15:06:54 -0700 |
commit | 065e60964e293227e4feb0c1f7e27e609316ed9a (patch) | |
tree | 96aa9ca56c7faeeaf2d3d25dfc2b1a0312ae7bcf /README | |
parent | 5de9ec4dc10e1a39b924fb165bcb3ddb6e8e6525 (diff) | |
download | blackbird-op-linux-065e60964e293227e4feb0c1f7e27e609316ed9a.tar.gz blackbird-op-linux-065e60964e293227e4feb0c1f7e27e609316ed9a.zip |
ums_realtek: do not use stack memory for DMA
This patch changes rts51x_read_mem, rts51x_write_mem, and rts51x_read_status to
allocate temporary buffers with kmalloc. This way stack addresses are not used
for DMA when these functions call rts51x_bulk_transport.
Signed-off-by: Adam Cozzette <acozzette@cs.hmc.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions