commit | fbbf8944bb2d99ddc9ab1a08df60fff81692c631 | [log] [tgz] |
---|---|---|
author | ZheTing <ztliu2652.cs@gmail.com> | Wed Jul 14 00:30:25 2021 +0800 |
committer | Jérôme Forissier <jerome@forissier.org> | Wed Jul 21 00:09:29 2021 +0200 |
tree | 5350d40c553a04c972078cc61cccabe4da4d71b9 | |
parent | 16a1c178aa73bab8444dd91dc75f4d96e5620eda [diff] |
core: mm: remove redundant mobj_put() in vm_map_pad() When mobj_get_cattr() fails vm_map_pad() doesn't need to call mobj_put() which is expected to balance mobj_get() called only after mobj_get_cattr() succeeds. The issue was introduced in release 3.8.0 with struct mobj reference counting. Signed-off-by: Gavin Liu <Gavin.Liu@mediatek.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers