mm: Introduce kvcalloc()
authorKees Cook <keescook@chromium.org>
Mon, 11 Jun 2018 21:35:55 +0000 (14:35 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 12 Jun 2018 23:19:22 +0000 (16:19 -0700)
commit1c542f38ab8d30d9c852a16d49ac5a15267bbf1f
tree20ace1eb1fe5b61211f5dfcd10a5af136682ebd4
parent9f645bcc566a1e9f921bdae7528a01ced5bc3713
mm: Introduce kvcalloc()

The kv*alloc()-family was missing kvcalloc(). Adding this allows for
2-argument multiplication conversions of kvzalloc(a * b, ...) into
kvcalloc(a, b, ...).

Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/mm.h