Re: [PATCH] skd: Use kmem_cache_free

2017-10-09 Thread Bart Van Assche
On Mon, 2017-10-09 at 03:00 +0530, Himanshu Jha wrote: > Use kmem_cache_free instead of kfree for freeing the memory previously > allocated with kmem_cache_zalloc/kmem_cache_alloc/kmem_cache_node. > > Signed-off-by: Himanshu Jha > --- > drivers/block/skd_main.c | 2

Re: [PATCH] skd: Use kmem_cache_free

2017-10-09 Thread Bart Van Assche
On Mon, 2017-10-09 at 03:00 +0530, Himanshu Jha wrote: > Use kmem_cache_free instead of kfree for freeing the memory previously > allocated with kmem_cache_zalloc/kmem_cache_alloc/kmem_cache_node. > > Signed-off-by: Himanshu Jha > --- > drivers/block/skd_main.c | 2 +- > 1 file changed, 1

Re: [PATCH] skd: Use kmem_cache_free

2017-10-09 Thread Jens Axboe
On 10/08/2017 03:30 PM, Himanshu Jha wrote: > Use kmem_cache_free instead of kfree for freeing the memory previously > allocated with kmem_cache_zalloc/kmem_cache_alloc/kmem_cache_node. Good catch, I wonder how long that's been there... Applied for 4.14. -- Jens Axboe

Re: [PATCH] skd: Use kmem_cache_free

2017-10-09 Thread Jens Axboe
On 10/08/2017 03:30 PM, Himanshu Jha wrote: > Use kmem_cache_free instead of kfree for freeing the memory previously > allocated with kmem_cache_zalloc/kmem_cache_alloc/kmem_cache_node. Good catch, I wonder how long that's been there... Applied for 4.14. -- Jens Axboe

[PATCH] skd: Use kmem_cache_free

2017-10-08 Thread Himanshu Jha
Use kmem_cache_free instead of kfree for freeing the memory previously allocated with kmem_cache_zalloc/kmem_cache_alloc/kmem_cache_node. Signed-off-by: Himanshu Jha --- drivers/block/skd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] skd: Use kmem_cache_free

2017-10-08 Thread Himanshu Jha
Use kmem_cache_free instead of kfree for freeing the memory previously allocated with kmem_cache_zalloc/kmem_cache_alloc/kmem_cache_node. Signed-off-by: Himanshu Jha --- drivers/block/skd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/skd_main.c