diff options
author | Kees Cook <keescook@chromium.org> | 2013-09-11 21:56:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-01 08:55:47 -0700 |
commit | 7247e66f07168b28410549634ea5d29a84602f81 (patch) | |
tree | 8cf89fa6158264c93d3abc2e63cf60cb0f2ef6e1 /Makefile | |
parent | d46f78f18ccd208c5325357bfe108f5e02044b6b (diff) | |
download | kernel_samsung_smdk4412-7247e66f07168b28410549634ea5d29a84602f81.zip kernel_samsung_smdk4412-7247e66f07168b28410549634ea5d29a84602f81.tar.gz kernel_samsung_smdk4412-7247e66f07168b28410549634ea5d29a84602f81.tar.bz2 |
HID: provide a helper for validating hid reports
commit 331415ff16a12147d57d5c953f3a961b7ede348b upstream.
Many drivers need to validate the characteristics of their HID report
during initialization to avoid misusing the reports. This adds a common
helper to perform validation of the report exisitng, the field existing,
and the expected number of values within the field.
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions