aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-04-01 13:38:01 -0400
committerDavid S. Miller <davem@davemloft.net>2014-04-01 15:25:33 -0400
commit01d32f6e5a3f709a90aadbb73723e77a96d67cb2 (patch)
tree6cf878e8c39b0cea1a88bf420497fb0045fc47e9
parent8b7b932434f5eee495b91a2804f5b64ebb2bc835 (diff)
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 <fengguang.wu@intel.com> Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/filter.c4
1 files changed, 2 insertions, 2 deletions
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)
125/** 125/**
126 * __sk_run_filter - run a filter on a given context 126 * __sk_run_filter - run a filter on a given context
127 * @ctx: buffer to run the filter on 127 * @ctx: buffer to run the filter on
128 * @fentry: filter to apply 128 * @insn: filter to apply
129 * 129 *
130 * Decode and apply filter instructions to the skb->data. Return length to 130 * Decode and apply filter instructions to the skb->data. Return length to
131 * keep, 0 for none. @ctx is the data we are operating on, @filter is the 131 * keep, 0 for none. @ctx is the data we are operating on, @insn is the
132 * array of filter instructions. 132 * array of filter instructions.
133 */ 133 */
134unsigned int __sk_run_filter(void *ctx, const struct sock_filter_int *insn) 134unsigned int __sk_run_filter(void *ctx, const struct sock_filter_int *insn)