aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRichard Weinberger2018-07-02 23:47:13 +0200
committerRichard Weinberger2018-08-15 00:25:20 +0200
commita3d218280c273f298b0a17902bc2b4aa3f1dae06 (patch)
treefafbd048d6f7c1d50bbe1c686f0ae1751c21373f /drivers/mtd
parent95a22d2084d72ea067d8323cc85677dba5d97cae (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