Re: [PATCH] powerpc/rtas_flash: Free kmem upon module exit

2013-02-20 Thread Vasant Hegde
Ben, Let me know your thoughts on this patch. -Vasant On 02/08/2013 04:48 PM, Vasant Hegde wrote: Memory allocated to rtas_firmware_flash_list in rtas_flash_write is not freed during module exit. We hit below call trace if we unload rtas_flash module after loading new firmware image a

[PATCH] powerpc/rtas_flash: Free kmem upon module exit

2013-02-08 Thread Vasant Hegde
Memory allocated to rtas_firmware_flash_list in rtas_flash_write is not freed during module exit. We hit below call trace if we unload rtas_flash module after loading new firmware image and before rebooting the system. Call trace: -- Feb 6 08:42:10 eagle3 kernel: kmem_cache_destroy rtas_f