Re: [PATCH] percpu: Make pcpu_setup_first_chunk() void function

2019-07-04 Thread Kefeng Wang
On 2019/7/4 12:20, Dennis Zhou wrote: > On Wed, Jul 03, 2019 at 04:25:52PM +0800, Kefeng Wang wrote: >> pcpu_setup_first_chunk() will panic or BUG_ON if the are some >> error and doesn't return any error, hence it can be defined to >> return void. >> >> Signed-off-by: Kefeng Wang >> --- ... >>

Re: [PATCH] percpu: Make pcpu_setup_first_chunk() void function

2019-07-03 Thread Dennis Zhou
On Wed, Jul 03, 2019 at 04:25:52PM +0800, Kefeng Wang wrote: > pcpu_setup_first_chunk() will panic or BUG_ON if the are some > error and doesn't return any error, hence it can be defined to > return void. > > Signed-off-by: Kefeng Wang > --- > arch/ia64/mm/contig.c| 5 + >

[PATCH] percpu: Make pcpu_setup_first_chunk() void function

2019-07-03 Thread Kefeng Wang
pcpu_setup_first_chunk() will panic or BUG_ON if the are some error and doesn't return any error, hence it can be defined to return void. Signed-off-by: Kefeng Wang --- arch/ia64/mm/contig.c| 5 + arch/ia64/mm/discontig.c | 5 + include/linux/percpu.h | 2 +- mm/percpu.c