]> 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)
commit79752c643740f5d04fe07199c43600e8129fc8af
tree6d68af686a5d0a82410ee1d64cb37f338e58f41d
parent87ac9ac2e9f550b0b80cb302d874f6e204e597b4
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