Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01d32f6e authored by Daniel Borkmann's avatar Daniel Borkmann Committed by David S. Miller
Browse files

net: filter: minor: fix kdoc in __sk_run_filter



This minor patch fixes the following warning when doing
a `make htmldocs`:

  DOCPROC Documentation/DocBook/networking.xml
Warning(.../net/core/filter.c:135): No description found for parameter 'insn'
Warning(.../net/core/filter.c:135): Excess function parameter 'fentry' description in '__sk_run_filter'
  HTML    Documentation/DocBook/networking.html

Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDaniel Borkmann <dborkman@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b7b9324
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -125,10 +125,10 @@ noinline u64 __bpf_call_base(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5)
/**
/**
 *	__sk_run_filter - run a filter on a given context
 *	__sk_run_filter - run a filter on a given context
 *	@ctx: buffer to run the filter on
 *	@ctx: buffer to run the filter on
 *	@fentry: filter to apply
 *	@insn: filter to apply
 *
 *
 * Decode and apply filter instructions to the skb->data. Return length to
 * Decode and apply filter instructions to the skb->data. Return length to
 * keep, 0 for none. @ctx is the data we are operating on, @filter is the
 * keep, 0 for none. @ctx is the data we are operating on, @insn is the
 * array of filter instructions.
 * array of filter instructions.
 */
 */
unsigned int __sk_run_filter(void *ctx, const struct sock_filter_int *insn)
unsigned int __sk_run_filter(void *ctx, const struct sock_filter_int *insn)