All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: A problem about loading module
       [not found] <3985592d.1589f.153a94428e7.Coremail.zhaogongyi.jxjian@163.com>
@ 2016-03-28 23:02 ` Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2016-03-28 23:02 UTC (permalink / raw)
  To: zhaogongyi.jxjian, linux-kernel

"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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-29  0:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3985592d.1589f.153a94428e7.Coremail.zhaogongyi.jxjian@163.com>
2016-03-28 23:02 ` A problem about loading module Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.