From: Daniel Borkmann Date: Tue, 1 Apr 2014 17:38:01 +0000 (+0200) Subject: net: filter: minor: fix kdoc in __sk_run_filter X-Git-Tag: v3.15-rc1~113^2~14 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=01d32f6e5a3f709a90aadbb73723e77a96d67cb2;p=linux.git 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: Fengguang Wu Signed-off-by: Daniel Borkmann Cc: Alexei Starovoitov Signed-off-by: David S. Miller --- diff --git a/net/core/filter.c b/net/core/filter.c index 3733381190ec..765556ba32ef 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -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 * @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 - * 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. */ unsigned int __sk_run_filter(void *ctx, const struct sock_filter_int *insn)