aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMarc Dionne <marc.c.dionne@gmail.com>2012-06-01 18:12:14 -0400
committerBen Hutchings <ben@decadent.org.uk>2012-10-10 03:31:02 +0100
commit01d35d12e9a77448d7e6e5ab653ae8ff93fecd26 (patch)
tree905d4149150da3c45f10902eb2294557b1e0aab1 /net/lapb/lapb_iface.c
parentb66c949a4240072010d1fb6a1dac82360ea1b876 (diff)
HID: logitech: don't use stack based dj_report structures
commit d8dc3494f77a5cc3b274bae36f7e74e85cf8a407 upstream. On a system with a logitech wireless keyboard/mouse and DMA-API debugging enabled, this warning appears at boot: kernel: WARNING: at lib/dma-debug.c:929 check_for_stack.part.12+0x70/0xa7() kernel: Hardware name: MS-7593 kernel: uhci_hcd 0000:00:1d.1: DMA-API: device driver maps memory fromstack [addr=ffff8801b0079c29] Make logi_dj_recv_query_paired_devices and logi_dj_recv_switch_to_dj_mode use a structure allocated with kzalloc rather than a stack based one. Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions