329e098939
As done treewide earlier, this catches several more open-coded allocation size calculations that were added to the kernel during the merge window. This performs the following mechanical transformations using Coccinelle: kvmalloc(a * b, ...) -> kvmalloc_array(a, b, ...) kvzalloc(a * b, ...) -> kvcalloc(a, b, ...) devm_kzalloc(..., a * b, ...) -> devm_kcalloc(..., a, b, ...) Signed-off-by: Kees Cook <keescook@chromium.org> |
||
---|---|---|
.. | ||
Makefile | ||
safexcel_cipher.c | ||
safexcel_hash.c | ||
safexcel_ring.c | ||
safexcel.c | ||
safexcel.h |