]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - scripts/kernel-doc
scripts/kernel-doc: handle function pointer prototypes
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Jun 2020 07:09:02 +0000 (09:09 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 26 Jun 2020 16:01:00 +0000 (10:01 -0600)
commit7ae281b05c0cebef4ef0643e74300fbe84760c3c
tree499f390ce811c982254ceedea6cd797d0b7c7e5b
parent5d682f5ec9d1c49e7fe2945e586aa264692859f0
scripts/kernel-doc: handle function pointer prototypes

There are some function pointer prototypes inside the net
includes, like this one:

int (*pcs_config)(struct phylink_config *config, unsigned int mode,
  phy_interface_t interface, const unsigned long *advertising);

There's nothing wrong using it with kernel-doc, but we need to
add a rule for it to parse such kind of prototype.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/fec520dd731a273013ae06b7653a19c7d15b9562.1592895969.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc