diff options
author | Oliver Neukum <oneukum@suse.com> | 2016-03-23 21:36:56 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-03-24 00:29:30 (GMT) |
commit | d314e9e80c5ea561b73584b73806c2ae9e30f503 (patch) | |
tree | c338d81a66ee7d0642238af6ffe89101221cc1a5 /drivers/ata/pata_pdc2027x.c | |
parent | 950336ba3e4a1ffd2ca60d29f6ef386dd2c7351d (diff) | |
download | linux-d314e9e80c5ea561b73584b73806c2ae9e30f503.tar.xz |
Input: sur40 - fix DMA on stack
During the initialisation the driver uses a buffer on the stack for DMA.
That violates the cache coherency rules. The fix is to allocate the buffer
with kmalloc().
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/ata/pata_pdc2027x.c')
0 files changed, 0 insertions, 0 deletions