Skip to content

Commit

Permalink
net: ipv6: rpl*: Fix strange kerneldoc warnings due to bad header
Browse files Browse the repository at this point in the history
net/ipv6/rpl_iptunnel.c:15: warning: cannot understand function prototype: 'struct rpl_iptunnel_encap '

The header on the file containing the author copyright message uses
kerneldoc /** opener. This confuses the parser when it gets to

struct rpl_iptunnel_encap {
	struct ipv6_rpl_sr_hdr srh[0];
};

Similarly:

net//ipv6/rpl.c:10: warning: Function parameter or member 'x' not described in 'IPV6_PFXTAIL_LEN'

where IPV6_PFXTAIL_LEN is a macro definition, not a function.

Convert the header comments to a plain /* comment.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20201028013123.931816-1-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
lunn authored and kuba-moo committed Oct 30, 2020
1 parent 726e5e4 commit f1f09df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/ipv6/rpl.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
/**
/*
* Authors:
* (C) 2020 Alexander Aring <alex.aring@gmail.com>
*/
Expand Down
2 changes: 1 addition & 1 deletion net/ipv6/rpl_iptunnel.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
/**
/*
* Authors:
* (C) 2020 Alexander Aring <alex.aring@gmail.com>
*/
Expand Down

0 comments on commit f1f09df

Please sign in to comment.