Re: A problem about loading module
From: Rusty Russell
Date: Mon Mar 28 2016 - 20:16:09 EST
"zhaogongyi.jxjian" <zhaogongyi.jxjian@xxxxxxx> writes:
> My question is when my module_init defined as:
> void __init__ func_init(*)
> then the ret will be alterable,it depends on specifically running env,that's what we want?
Hi,
This will not work reliably. You must define your init as
int __init__ func_init(void)
Cheers,
Rusty.