commit | b53570814692db79c3525523b6e9ec9874416c04 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Mar 02 18:55:16 2009 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu Mar 05 07:25:10 2009 -0500 |
tree | 854cfbcb231bb0914be2b0de9ea73dbf5cc07e6b | |
parent | 84bda12af31f930e4200c5244aa111de2485d7b0 [diff] |
libata: don't use on-stack sense buffer sense_buffer is used as DMA target and shouldn't be allocated on stack. Use ap->sector_buf instead. This problem is spotted by Chuck Ebbert. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>