Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1365725
| From | Rusty Russell <rusty@rustcorp.com.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: A problem about loading module |
| Date | 2016-03-29 02:20 +0200 |
| Message-ID | <rhPy1-6r5-1@gated-at.bofh.it> (permalink) |
| References | <rhPy1-6r5-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
"zhaogongyi.jxjian" <zhaogongyi.jxjian@163.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.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: A problem about loading module Rusty Russell <rusty@rustcorp.com.au> - 2016-03-29 02:20 +0200
csiph-web