• Eric Leblond's avatar
    netfilter: fix warning in ebt_ulog init function. · 3b334d42
    Eric Leblond authored
    The ebt_ulog module does not follow the fixed convention about function
    return. Loading the module is triggering the following message:
    
    sys_init_module: 'ebt_ulog'->init suspiciously returned 1, it should follow 0/-E convention
    sys_init_module: loading module anyway...
    Pid: 2334, comm: modprobe Not tainted 2.6.29-rc5edenwall0-00883-g199e57b #146
    Call Trace:
     [<c0441b81>] ? printk+0xf/0x16
     [<c02311af>] sys_init_module+0x107/0x186
     [<c0202cfa>] syscall_call+0x7/0xb
    
    The following patch fixes the return treatment in ebt_ulog_init()
    function.
    Signed-off-by: default avatarEric Leblond <eric@inl.fr>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3b334d42
ebt_ulog.c 8.96 KB