]> 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)
commit2c8e5f5f4bbd58f2e7085289939ab7d603b206a5
tree63f780f3b0c1d3959bf2e0778a7faeac2a2119e5
parent037cf5e77506abe69eecd338994ace1ed062e721
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