diff options
author | Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com> | 2016-07-25 05:56:55 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-08-05 20:21:46 +0200 |
commit | e976e56423dc1cc01686861fc3e0c6c0ec8cd8b7 (patch) | |
tree | 2b107f2129d208c11138db2dda271a6d62979439 /Documentation | |
parent | ramoops: use DT reserved-memory bindings (diff) | |
download | linux-e976e56423dc1cc01686861fc3e0c6c0ec8cd8b7.tar.xz linux-e976e56423dc1cc01686861fc3e0c6c0ec8cd8b7.zip |
ramoops: use persistent_ram_free() instead of kfree() for freeing prz
persistent_ram_zone(=prz) structures are allocated by persistent_ram_new(),
which includes vmap() or ioremap(). But they are currently freed by
kfree(). This uses persistent_ram_free() for correct this asymmetry usage.
Signed-off-by: Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com>
Cc: Mark Salyzyn <salyzyn@android.com>
Cc: Seiji Aguchi <seiji.aguchi.tr@hitachi.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions