Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1365725 > unrolled thread

Re: A problem about loading module

Started byRusty Russell <rusty@rustcorp.com.au>
First post2016-03-29 02:20 +0200
Last post2016-03-29 02:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: A problem about loading module Rusty Russell <rusty@rustcorp.com.au> - 2016-03-29 02:20 +0200

#1365725 — Re: A problem about loading module

FromRusty Russell <rusty@rustcorp.com.au>
Date2016-03-29 02:20 +0200
SubjectRe: A problem about loading module
Message-ID<rhPy1-6r5-1@gated-at.bofh.it>
"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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web