]> git.baikalelectronics.ru Git - kernel.git/commit
net: diag: add missing declarations
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 9 Jun 2016 17:05:09 +0000 (18:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:22:55 +0000 (23:22 -0700)
commit81b085342771068ada088a9b41975162baebafc2
tree6d68af686a5d0a82410ee1d64cb37f338e58f41d
parented88a618fb73dee2610f9bd4984355284f4ffadc
net: diag: add missing declarations

The functions inet_diag_msg_common_fill and inet_diag_msg_attrs_fill
seem to have been missed from the include/linux/inet_diag.h header
file. Add them to fix the following warnings:

net/ipv4/inet_diag.c:69:6: warning: symbol 'inet_diag_msg_common_fill' was not declared. Should it be static?
net/ipv4/inet_diag.c:108:5: warning: symbol 'inet_diag_msg_attrs_fill' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inet_diag.h
net/sctp/sctp_diag.c