diff options
author | Richard Weinberger <richard@nod.at> | 2018-07-03 00:47:13 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-08-15 01:25:20 +0300 |
commit | a3d218280c273f298b0a17902bc2b4aa3f1dae06 (patch) | |
tree | fafbd048d6f7c1d50bbe1c686f0ae1751c21373f /drivers/mtd/ubi/ubi.h | |
parent | 95a22d2084d72ea067d8323cc85677dba5d97cae (diff) | |
download | linux-a3d218280c273f298b0a17902bc2b4aa3f1dae06.tar.xz |
ubifs: Use kmalloc_array()
Since commit 6da2ec56059c ("treewide: kmalloc() -> kmalloc_array()")
we use kmalloc_array() for kmalloc() that computes the length with
a multiplication.
Cc: Kees Cook <keescook@chromium.org>
Suggested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
0 files changed, 0 insertions, 0 deletions