aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-08 12:55:26 -0700
committerKees Cook <keescook@chromium.org>2018-06-05 12:16:51 -0700
commit3b3b1a29eb89ba93f91213cbebb332a2ac31fa8b (patch)
treef163f64ea43d4afee78f1bc0ad5eadc882e40343 /drivers/input/input-mt.c
parentmm: Use overflow helpers in kmalloc_array*() (diff)
downloadlinux-dev-3b3b1a29eb89ba93f91213cbebb332a2ac31fa8b.tar.xz
linux-dev-3b3b1a29eb89ba93f91213cbebb332a2ac31fa8b.zip
mm: Use overflow helpers in kvmalloc()
Instead of open-coded multiplication and bounds checking, use the new overflow helper. Additionally prepare for vmalloc() users to add array_size()-family helpers in the future. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/input/input-mt.c')
0 files changed, 0 insertions, 0 deletions