summaryrefslogtreecommitdiff
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-08 22:52:32 +0300
committerKees Cook <keescook@chromium.org>2018-06-05 22:16:51 +0300
commit49b7f8983aa78581bfd511a26891b26cd734e293 (patch)
treee897c47ee7eacb557d129287451e736cb345ae8d /include/linux/vmalloc.h
parentca90800a91ba723d78ded634d037c1d2df8b54d6 (diff)
downloadlinux-49b7f8983aa78581bfd511a26891b26cd734e293.tar.xz
mm: Use overflow helpers in kmalloc_array*()
Instead of open-coded multiplication and bounds checking, use the new overflow helper. Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions