linux_dsm_epyc7002/drivers/input
Luis Ortega 5aee41a60c Input: zforce - remove unnecessary payload data checks
The function zforce_read_packet() reads 2 values (bytes) of payload
header, validates them and then proceeds to read the payload body.
The function stores all these in a u8 buffer.

The PAYLOAD_LENGTH check seems to be trying to detect an overflow error.
However, since we are just reading a u8 value from the buffer, these
checks are unnecessary and we should simply compare against zero.

Signed-off-by: Luis Ortega <luiorpe1@upv.es>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de> - bq Cervantes (imx6sl)
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-01-27 22:35:17 -08:00
..
gameport Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
joystick Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
keyboard Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
misc Input: wistron_btns - add FS AMILO Pro 8210 support 2014-01-27 22:34:42 -08:00
mouse Input: logips2pp - fix spelling s/reciver/receiver/ 2014-01-12 11:41:38 -08:00
serio Input: hyperv-keyboard - pass through 0xE1 prefix 2014-01-12 11:41:56 -08:00
tablet Input: gtco - fix usb_dev leak 2014-01-27 22:34:49 -08:00
touchscreen Input: zforce - remove unnecessary payload data checks 2014-01-27 22:35:17 -08:00
apm-power.c
evbug.c
evdev.c Input: evdev - fall back to vmalloc for client event buffer 2013-10-31 08:45:42 -07:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-mt.c
input-polldev.c
input.c Input: don't call input_dev_release_keys() in resume 2013-12-16 02:19:10 -08:00
joydev.c
Kconfig Input: mousedev - allow disabling even without CONFIG_EXPERT 2013-10-31 08:46:07 -07:00
Makefile
matrix-keymap.c input: Export matrix_keypad_parse_of_params() 2013-04-19 00:31:13 +02:00
mousedev.c
sparse-keymap.c