diff options
author | Richard Weinberger | 2018-07-02 23:47:13 +0200 |
---|---|---|
committer | Richard Weinberger | 2018-08-15 00:25:20 +0200 |
commit | a3d218280c273f298b0a17902bc2b4aa3f1dae06 (patch) | |
tree | fafbd048d6f7c1d50bbe1c686f0ae1751c21373f /drivers/mtd | |
parent | 95a22d2084d72ea067d8323cc85677dba5d97cae (diff) |
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')
0 files changed, 0 insertions, 0 deletions