[PATCH 1/5] ramoops: use persistent_ram_free() instead of kfree() for freeing prz

2015-11-04 Thread Hiraku Toyooka
persistent_ram_zone(=prz) structures are allocated by persistent_ram_new(), which includes vmap() or ioremap(). But they are currently freed by kfree(). We should use persistent_ram_free() to correct this asymmetry usage. Signed-off-by: Hiraku Toyooka Cc: Anton Vorontsov Cc: Colin Cross Cc:

[PATCH 1/5] ramoops: use persistent_ram_free() instead of kfree() for freeing prz

2015-11-04 Thread Hiraku Toyooka
persistent_ram_zone(=prz) structures are allocated by persistent_ram_new(), which includes vmap() or ioremap(). But they are currently freed by kfree(). We should use persistent_ram_free() to correct this asymmetry usage. Signed-off-by: Hiraku Toyooka Cc: Anton