lkml.org 
[lkml]   [2016]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: A problem about loading module
    Date
    "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.

    \
     
     \ /
      Last update: 2016-03-29 03:01    [W:2.655 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site