linux/drivers
Marc Dionne d8dc3494f7 HID: logitech: don't use stack based dj_report structures
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>
2012-06-03 15:11:43 +02:00
..
accessibility
acpi Driver core pull for 3.5-rc1 2012-05-22 16:02:13 -07:00
amba
ata
atm
auxdisplay
base Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-22 18:27:32 -07:00
bcma
block Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-05-21 20:20:23 -07:00
bluetooth USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
cdrom
char Staging tree pull request for 3.5-rc1 2012-05-22 16:34:21 -07:00
clk
clocksource
connector
cpufreq
cpuidle
crypto Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-05-21 12:41:17 -07:00
dca
devfreq
dio
dma Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma 2012-05-17 09:57:13 -07:00
edac
eisa
extcon Driver core pull for 3.5-rc1 2012-05-22 16:02:13 -07:00
firewire
firmware
gpio Driver core pull for 3.5-rc1 2012-05-22 16:02:13 -07:00
gpu
hid HID: logitech: don't use stack based dj_report structures 2012-06-03 15:11:43 +02:00
hsi
hv Driver core pull for 3.5-rc1 2012-05-22 16:02:13 -07:00
hwmon
hwspinlock
i2c arm-soc: soc-specific pinctrl changes 2012-05-22 09:39:42 -07:00
ide
idle
ieee802154 drivers/ieee802154: IEEE 802.15.4 loopback driver 2012-05-16 15:17:08 -04:00
iio iio: Use dev_to_iio_dev() 2012-05-14 13:37:45 -07:00
infiniband InfiniBand/RDMA changes for the 3.5 merge window: 2012-05-21 17:54:55 -07:00
input USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00
iommu iommu: Fix off by one in dmar_get_fault_reason() 2012-05-14 14:37:47 +02:00
isdn TTY pull request for 3.5-rc1 2012-05-22 16:12:24 -07:00
leds
lguest
macintosh
mca
md A fix to the thin provisioning userspace interface. 2012-05-18 18:22:45 -07:00
media USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00
memory memory: tegra{20,30}-mc: Remove empty *_remove() 2012-05-14 12:52:52 -07:00
memstick
message tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
mfd arm-soc: First batch of cleanups 2012-05-22 09:23:24 -07:00
misc Staging tree pull request for 3.5-rc1 2012-05-22 16:34:21 -07:00
mmc arm-soc: soc-specific pinctrl changes 2012-05-22 09:39:42 -07:00
mtd arm-soc: board specific changes 2012-05-22 13:32:53 -07:00
net Staging tree pull request for 3.5-rc1 2012-05-22 16:34:21 -07:00
nfc
nubus
of arm-soc: device tree conversions, part 1 2012-05-22 09:30:52 -07:00
oprofile
parisc
parport Driver core pull for 3.5-rc1 2012-05-22 16:02:13 -07:00
pci PCI changes for the 3.5 merge window: 2012-05-21 16:24:54 -07:00
pcmcia
pinctrl arm-soc: soc-specific pinctrl changes 2012-05-22 09:39:42 -07:00
platform
pnp
power
pps
ps3
ptp Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-05-16 22:17:37 -04:00
rapidio
regulator regulator updates for 3.5 2012-05-21 16:49:16 -07:00
remoteproc remoteproc: fix off-by-one bug in __rproc_free_vrings 2012-05-13 23:15:42 +03:00
rpmsg
rtc arm-soc: First batch of cleanups 2012-05-22 09:23:24 -07:00
s390 TTY pull request for 3.5-rc1 2012-05-22 16:12:24 -07:00
sbus
scsi SCSI misc on 20120521 2012-05-21 17:46:21 -07:00
sfi
sh
sn
spi
ssb
staging Staging tree pull request for 3.5-rc1 2012-05-22 16:34:21 -07:00
target Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2012-05-21 17:37:09 -07:00
tc
thermal
tty TTY pull request for 3.5-rc1 2012-05-22 16:12:24 -07:00
uio uio_pdrv_genirq: get irq through platform resource if not set otherwise 2012-05-15 08:44:58 -07:00
usb TTY pull request for 3.5-rc1 2012-05-22 16:12:24 -07:00
uwb
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-05-16 22:17:37 -04:00
video USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00
virt
virtio virtio-mmio: Devices parameter parsing 2012-05-22 12:16:15 +09:30
vlynq
vme
w1
watchdog Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:25:14 -07:00
xen
zorro
Kconfig Staging tree pull request for 3.5-rc1 2012-05-22 16:34:21 -07:00
Makefile Staging tree pull request for 3.5-rc1 2012-05-22 16:34:21 -07:00