Ping !!!

On 08/31/2012 09:57 AM, Tushar Behera wrote:
> Required for android-3.6 tree.
> 
> Tushar Behera (2):
>   netfilter: xt_quota2: Move away from NLMSG_PUT()
>   netfilter: xt_quota2: Update parameter list in netlink_kernel_create
> 
>  net/netfilter/xt_quota2.c |   25 ++++++++++++++++---------
>  1 files changed, 16 insertions(+), 9 deletions(-)
> 
Without these patches, build of LT kernel based on llct(v3.6-rc5) fails
with following error message.

net/netfilter/xt_quota2.c: In function ‘quota2_log’:
net/netfilter/xt_quota2.c:85:2: error: implicit declaration of function
‘NLMSG_PUT’ [-Werror=implicit-function-declaration]
net/netfilter/xt_quota2.c:85:6: warning: assignment makes pointer from
integer without a cast [enabled by default]
net/netfilter/xt_quota2.c:110:1: warning: label ‘nlmsg_failure’ defined
but not used [-Wunused-label]
net/netfilter/xt_quota2.c: In function ‘quota_mt2_init’:
net/netfilter/xt_quota2.c:353:12: warning: passing argument 3 of
‘netlink_kernel_create’ makes pointer from integer without a cast
[enabled by default]
In file included from include/linux/if_link.h:5:0,
                 from include/linux/netdevice.h:31,
                 from include/linux/netfilter/x_tables.h:188,
                 from net/netfilter/xt_quota2.c:21:
include/linux/netlink.h:185:21: note: expected ‘struct module *’ but
argument is of type ‘int’
net/netfilter/xt_quota2.c:353:12: error: too many arguments to function
‘netlink_kernel_create’
In file included from include/linux/if_link.h:5:0,
                 from include/linux/netdevice.h:31,
                 from include/linux/netfilter/x_tables.h:188,
                 from net/netfilter/xt_quota2.c:21:
include/linux/netlink.h:185:21: note: declared here



-- 
Tushar Behera

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to