aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorAdam Kropelin <akropel1@rochester.rr.com>2007-04-05 10:06:30 -0400
committerJiri Kosina <jkosina@suse.cz>2007-04-05 10:06:30 -0400
commit8da7d1bae512aee155ef02f7ab1266358842e1fd (patch)
treec5880b16a78508706d70a54ceb2ee0d2960ea7e4 /mm/swapfile.c
parente0f2e3a06be513352cb4955313ed7e55909acd84 (diff)
HID: Do not discard truncated input reports
Truncated reports should not be discarded since it prevents buggy devices from communicating with userspace. Prior to the regession introduced in 2.6.20, a shorter-than-expected report in hid_input_report() was passed thru after having the missing bytes cleared. This behavior was established over a few patches in the 2.6.early-teens days, including commit cd6104572bca9e4afe0dcdb8ecd65ef90b01297b. This patch restores the previous behavior and fixes the regression. Signed-off-by: Adam Kropelin <akropel1@rochester.rr.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions