]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: fix warning in ebt_ulog init function.
authorEric Leblond <eric@inl.fr>
Thu, 26 Mar 2009 08:04:02 +0000 (01:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2009 08:04:02 +0000 (01:04 -0700)
commit5d49397686e0d12b3ec21e023ae1500467f43fec
tree9be09d6e37f0ab048bd02cc1491f072b55901512
parentfde243c2b6f8d4b940f723a5ed681f9bb29f4178
netfilter: fix warning in ebt_ulog init function.

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: Eric Leblond <eric@inl.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/ebt_ulog.c