[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87d1qecik3.fsf@rustcorp.com.au>
Date: Tue, 29 Mar 2016 09:32:36 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: "zhaogongyi.jxjian" <zhaogongyi.jxjian@....com>,
linux-kernel@...r.kernel.org
Subject: Re: A problem about loading module
"zhaogongyi.jxjian" <zhaogongyi.jxjian@....com> 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.
Powered by blists - more mailing lists