commit | a3d218280c273f298b0a17902bc2b4aa3f1dae06 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Mon Jul 02 23:47:13 2018 +0200 |
committer | Richard Weinberger <richard@nod.at> | Wed Aug 15 00:25:20 2018 +0200 |
tree | fafbd048d6f7c1d50bbe1c686f0ae1751c21373f | |
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>