Message ID | 20230714045127.18752-6-rdunlap@infradead.org (mailing list archive) |
---|---|
State | Accepted |
Commit | d20909a0689f585fb6443da2d8797f7ad549f931 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: fix kernel-doc problems in include/net/ | expand |
diff -- a/include/net/inet_frag.h b/include/net/inet_frag.h --- a/include/net/inet_frag.h +++ b/include/net/inet_frag.h @@ -29,7 +29,7 @@ struct fqdir { }; /** - * fragment queue flags + * enum: fragment queue flags * * @INET_FRAG_FIRST_IN: first fragment has arrived * @INET_FRAG_LAST_IN: final fragment has arrived
Modify the anonymous enum kernel-doc content so that it doesn't cause a kernel-doc warning. inet_frag.h:33: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Fixes: 1ab1934ed80a ("inet: frags: enum the flag definitions and add descriptions") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Cc: Nikolay Aleksandrov <razor@blackwall.org> --- v2: keep the kernel-doc comment since scripts/kernel-doc doesn't complain about it (Jakub); include/net/inet_frag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)