]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: add identifier name in function pointer prototype
authorTom Parkin <tparkin@katalix.com>
Wed, 22 Jul 2020 16:32:10 +0000 (17:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 01:08:39 +0000 (18:08 -0700)
commit6151467cf3e3ca9da91fc9560be36764ce37ca3c
tree63f780f3b0c1d3959bf2e0778a7faeac2a2119e5
parent4b11a8b314c5a7f990931626c2776bb076ad0658
l2tp: add identifier name in function pointer prototype

Reported by checkpatch:

        "WARNING: function definition argument 'struct sock *'
         should also have an identifier name"

Add an identifier name to help document the prototype.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.h