commit | af7bcee27652bbf2502207500ad200763707a160 | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Sun Oct 29 20:40:02 2017 +0800 |
committer | Richard Weinberger <richard@nod.at> | Wed Jan 17 21:48:02 2018 +0100 |
tree | 81f452fe45c80f9fda5b74ece6aff70d33e2700f | |
parent | a51a0c8d213594bc094cb8e54aad0cb6d7f7b9a6 [diff] |
ubi: fastmap: Use kmem_cache_free to deallocate memory Memory allocated by kmem_cache_alloc() should not be deallocated with kfree(). Use kmem_cache_free() instead. Signed-off-by: Pan Bian <bianpan2016@163.com> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Richard Weinberger <richard@nod.at>