diff options
author | Oliver Neukum <oneukum@suse.de> | 2008-02-01 15:58:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-22 02:38:48 +0300 |
commit | 2129c4e1b4469e1f9711a54e97e8ddf8b26bb62d (patch) | |
tree | 90b58e9648ebff476c90ce7c3f28a0c832396e76 /drivers/usb/class | |
parent | bbc5d276ec1e24d48f794dae1c4bdfc1512f65d5 (diff) | |
download | linux-2129c4e1b4469e1f9711a54e97e8ddf8b26bb62d.tar.xz |
USB: Sane memory allocation in option driver
The option driver
- violates DMA coherency rules
- allocates ~16500 bytes in one chunk
This patch splits out the buffers and uses __get_free_page() to avoid
higher order allocations.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-By: Matthias Urlichs <matthias@urlichs.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions