]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77b9ecc9bc24ffcef31c44f919135b63bbbdd97c
tree20ace1eb1fe5b61211f5dfcd10a5af136682ebd4
parente26698a2e863032a60d60b93a52257302d1999ee
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