aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorVinicius Costa Gomes <[email protected]>2012-07-14 21:59:25 +0000
committerJiri Kosina <[email protected]>2012-07-20 07:53:45 +0000
commitadefb69b1b94df29ea2df05cd838c0e032b2c473 (patch)
treefee338077704e19810075750bb1b2c5577c358c9 /lib/mpi/mpiutil.c
parentHID: uhid: silence gcc warning (diff)
downloadkernel-adefb69b1b94df29ea2df05cd838c0e032b2c473.tar.gz
kernel-adefb69b1b94df29ea2df05cd838c0e032b2c473.zip
HID: uhid: Fix sending events with invalid data
This was detected because events with invalid types were arriving to userspace. The code before this patch would only work for the first event in the queue (when uhid->tail is 0). Signed-off-by: Vinicius Costa Gomes <[email protected]> Reviewed-by: David Herrmann <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions