summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-10-06 02:21:46 +0300
committerKees Cook <keescook@chromium.org>2018-10-06 04:06:30 +0300
commit329e09893909d409039f6a79757d9b80b67efe39 (patch)
treed83759b28dcc8760167ed7c082d5846f63a55d2d /mm
parent57361846b52bc686112da6ca5368d11210796804 (diff)
downloadlinux-329e09893909d409039f6a79757d9b80b67efe39.tar.xz
treewide: Replace more open-coded allocation size multiplications
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions