OSDN Git Service

net: core: dev.c: fix a documentation warning
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Mar 2020 14:54:20 +0000 (15:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 06:39:29 +0000 (23:39 -0700)
There's a markup for link with is "foo_". On this kernel-doc
comment, we don't want this, but instead, place a literal
reference. So, escape the literal with ``foo``, in order to
avoid this warning:

./net/core/dev.c:5195: WARNING: Unknown target name: "page_is".

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index c6c985f..402a986 100644 (file)
@@ -5195,7 +5195,7 @@ static int __netif_receive_skb_one_core(struct sk_buff *skb, bool pfmemalloc)
  *
  *     More direct receive version of netif_receive_skb().  It should
  *     only be used by callers that have a need to skip RPS and Generic XDP.
- *     Caller must also take care of handling if (page_is_)pfmemalloc.
+ *     Caller must also take care of handling if ``(page_is_)pfmemalloc``.
  *
  *     This function may only be called from softirq context and interrupts
  *     should be enabled.