diff options
author | Kees Cook <keescook@chromium.org> | 2013-09-11 21:56:50 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-09-13 15:11:21 +0200 |
commit | 331415ff16a12147d57d5c953f3a961b7ede348b (patch) | |
tree | 79a497ffd03b720215e567c9c9862090fc76d0fa /drivers/atm/idt77252.h | |
parent | b04c99e3b845892d754ee8052d6324c39c4040de (diff) |
HID: provide a helper for validating hid reports
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>
Cc: stable@vger.kernel.org
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/atm/idt77252.h')
0 files changed, 0 insertions, 0 deletions