bpf: cgroup: fix documentation of __cgroup_bpf_update()
Subsystems (4)
PATCH v2 1/1 bpf: cgroup: fix documentation of __cgroup_bpf_update()
There's a 'not' missing in one paragraph. Add it.
Signed-off-by Daniel Mack <[email protected]>
Reported-by Rami Rosen <[email protected]>
Fixes 3007098494be ("cgroup: add support for eBPF programs")
--- kernel/bpf/cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/bpf/cgroup.c +2 -2
@@ -66,8 +66,8 @@ void cgroup_bpf_inherit(struct cgroup *cgrp, struct cgroup *parent)* Each cgroup has a set of two pointers for bpf programs; one for eBPF * programs it owns, and which is effective for execution. * -* If @prog is %NULL, this function attaches a new program to the cgroup and -* releases the one that is currently attached, if any. @prog is then made +* If @prog is not %NULL, this function attaches a new program to the cgroup +* and releases the one that is currently attached, if any. @prog is then made * the effective program of type @type in that cgroup. * * If @prog is %NULL, the currently attached program of type @type is released,
Signature · 1 line
2.7.4
A message that is not in the archive (sent off-list or not yet received): 1480338664-22616-1-git-send-email-daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org
Daniel Borkmann
Acked-byQuoted 5 lines · Daniel Mack
There's a 'not' missing in one paragraph. Add it.
Signed-off-by Daniel Mack <[email protected]>Reported-by Rami Rosen <[email protected]>Fixes 3007098494be ("cgroup: add support for eBPF programs")
Acked-by Daniel Borkmann <[email protected]>
Alexei Starovoitov
Acked-byQuoted 5 lines · Daniel Mack
There's a 'not' missing in one paragraph. Add it.
Signed-off-by Daniel Mack <[email protected]>Reported-by Rami Rosen <[email protected]>Fixes 3007098494be ("cgroup: add support for eBPF programs")
btw more canonical patch format is to put Fixes tag before SOB.
From: Daniel Mack <[email protected]>
Date: Mon, 28 Nov 2016 14:11:04 +0100
Quoted 5 lines
There's a 'not' missing in one paragraph. Add it.
Signed-off-by Daniel Mack <[email protected]>Reported-by Rami Rosen <[email protected]>Fixes 3007098494be ("cgroup: add support for eBPF programs")
Applied, thanks.