summaryrefslogtreecommitdiffstats
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2013-09-11 21:56:50 +0200
committerJiri Kosina <jkosina@suse.cz>2013-09-13 15:11:21 +0200
commit331415ff16a12147d57d5c953f3a961b7ede348b (patch)
tree79a497ffd03b720215e567c9c9862090fc76d0fa /crypto/scatterwalk.c
parentb04c99e3b845892d754ee8052d6324c39c4040de (diff)
downloadtalos-op-linux-331415ff16a12147d57d5c953f3a961b7ede348b.tar.gz
talos-op-linux-331415ff16a12147d57d5c953f3a961b7ede348b.zip
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 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud