Re: [PATCH] initramfs: Provide a common initrd reserve function

2021-01-13 Thread kernel test robot
Hi Kefeng, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.11-rc3 next-20210113] [cannot apply to soc/for-next arm/for-next linux/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submit

[PATCH] initramfs: Provide a common initrd reserve function

2021-01-13 Thread Kefeng Wang
The arm and riscv have same logic to check and reserve the memory of initrd, let's provide a common function to reduce duplicated code. Signed-off-by: Kefeng Wang --- PS: - Other architecture may use this function too, eg, csky, could guoren check it? thanks. arch/arm/mm/init.c | 43 +---