[NETFILTER]: x_tables: change xt_table_register() return value convention
authorAlexey Dobriyan <adobriyan@sw.ru>
Thu, 31 Jan 2008 12:01:49 +0000 (04:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:27:35 +0000 (19:27 -0800)
commita98da11d88dbec1d5cebe2c6dbe9939ed8d13f69
tree25244c2368a90e1f9bf4b478829590a52b0b5e8c
parent30083c9500b8aa3bc48579eaadb5068ad057afbd
[NETFILTER]: x_tables: change xt_table_register() return value convention

Switch from 0/-E to ptr/PTR_ERR convention.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/x_tables.h
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c
net/netfilter/x_tables.c