]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix kernel-doc warnings for socket.c
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 19 May 2019 04:23:07 +0000 (21:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 May 2019 17:33:22 +0000 (10:33 -0700)
commit6ca34d16a15acb20085ee98548fe866f4b361199
treec1fe118bdf69f9dd5f7f94e467555eb9968953b3
parent483c92b7b9734feef9ccb54069727c85c56eaccb
net: fix kernel-doc warnings for socket.c

Fix kernel-doc warnings by moving the kernel-doc notation to be
immediately above the functions that it describes.

Fixes these warnings for sock_sendmsg() and sock_recvmsg():

../net/socket.c:658: warning: Excess function parameter 'sock' description in 'INDIRECT_CALLABLE_DECLARE'
../net/socket.c:658: warning: Excess function parameter 'msg' description in 'INDIRECT_CALLABLE_DECLARE'
../net/socket.c:889: warning: Excess function parameter 'sock' description in 'INDIRECT_CALLABLE_DECLARE'
../net/socket.c:889: warning: Excess function parameter 'msg' description in 'INDIRECT_CALLABLE_DECLARE'
../net/socket.c:889: warning: Excess function parameter 'flags' description in 'INDIRECT_CALLABLE_DECLARE'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c