Re: [PATCH] dmapool: remove redundant NULL check for dev in dma_pool_create()

2014-05-01 Thread DaeSeok Youn
2014-05-01 6:19 GMT+09:00, Andrew Morton : > On Tue, 29 Apr 2014 11:53:10 +0900 Daeseok Youn > wrote: > >> "dev" cannot be NULL because it is already checked before >> calling dma_pool_create(). >> >> Signed-off-by: Daeseok Youn >> --- >> If dev can be NULL, it has NULL deferencing when kmalloc_n

Re: [PATCH] dmapool: remove redundant NULL check for dev in dma_pool_create()

2014-04-30 Thread Andrew Morton
On Tue, 29 Apr 2014 11:53:10 +0900 Daeseok Youn wrote: > "dev" cannot be NULL because it is already checked before > calling dma_pool_create(). > > Signed-off-by: Daeseok Youn > --- > If dev can be NULL, it has NULL deferencing when kmalloc_node() > is called after enabling CONFIG_NUMA. hm, th

[PATCH] dmapool: remove redundant NULL check for dev in dma_pool_create()

2014-04-28 Thread Daeseok Youn
"dev" cannot be NULL because it is already checked before calling dma_pool_create(). Signed-off-by: Daeseok Youn --- If dev can be NULL, it has NULL deferencing when kmalloc_node() is called after enabling CONFIG_NUMA. mm/dmapool.c | 26 +- 1 files changed, 9 insertion