Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Cc: Mark Salyzyn <[email protected]> Cc: Seiji Aguchi <[email protected]> Signed-off-by: Kees Cook <[email protected]>
- Loading branch information