[PATCH 2/2] ath79: mikrotik: Change the moment of routerboot partition parser init

Denis K denis281089 at gmail.com
Wed Nov 10 01:45:09 PST 2021


> Hi, wouldn't it be better for the rb_hardconfig_init to return
> -EPROBE_DEFER so the
> the core can try probing later?
Hello, Robert! I've tried what you suggested (return -EPROBE_DEFER
from rb_hardconfig_init and routerboot_init). It doesn't work.
do_one_initcall() from linux-5.4.158/init/main.c calls module init
function and it doesn't check return code and recall it later.



More information about the openwrt-devel mailing list