percpu: Make pcpu_setup_first_chunk() void function
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 3 Jul 2019 08:25:52 +0000 (16:25 +0800)
committerDennis Zhou <dennis@kernel.org>
Thu, 4 Jul 2019 15:05:52 +0000 (08:05 -0700)
commit163fa23435cc9c705a71001d4aa15f3f945554a1
tree768515474aec400ac567909c10ffa9973a28fae9
parent6fbc7275c7a9ba97877050335f290341a1fd8dbf
percpu: Make pcpu_setup_first_chunk() void function

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.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
[Dennis: fixed kbuild warning for pcpu_page_first_chunk()]
arch/ia64/mm/contig.c
arch/ia64/mm/discontig.c
include/linux/percpu.h
mm/percpu.c