OSDN Git Service

net: fix a new kernel-doc warning at dev.c
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 22 Sep 2020 11:22:52 +0000 (13:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2020 00:42:54 +0000 (17:42 -0700)
commitde2b541b3b1d16184f39d2b165ae9c3f12e37878
tree3e9b2380e7d3538a7f54fcf0f389defdc553d71d
parent774e9ea6656c9bd7d7ddf6ac86978c4acfca72ad
net: fix a new kernel-doc warning at dev.c

kernel-doc expects the function prototype to be just after
the kernel-doc markup, as otherwise it will get it all wrong:

./net/core/dev.c:10036: warning: Excess function parameter 'dev' description in 'WAIT_REFS_MIN_MSECS'

Fixes: 0e4be9e57e8c ("net: use exponential backoff in netdev_wait_allrefs")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Francesco Ruggeri <fruggeri@arista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c