Skip to content
Commit 3b3b1a29 authored by Kees Cook's avatar Kees Cook
Browse files

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: default avatarKees Cook <keescook@chromium.org>
parent 49b7f898
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment