From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Mack Subject: [PATCH net-next v2] bpf: cgroup: fix documentation of __cgroup_bpf_update() Date: Mon, 28 Nov 2016 14:11:04 +0100 Message-ID: <1480338664-22616-1-git-send-email-daniel@zonque.org> Cc: daniel@iogearbox.net, davem@davemloft.net, netdev@vger.kernel.org, roszenrami@gmail.com, cgroups@vger.kernel.org, Daniel Mack To: ast@fb.com Return-path: Received: from svenfoo.org ([82.94.215.22]:35298 "EHLO mail.zonque.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753751AbcK1NLS (ORCPT ); Mon, 28 Nov 2016 08:11:18 -0500 Sender: netdev-owner@vger.kernel.org List-ID: There's a 'not' missing in one paragraph. Add it. Signed-off-by: Daniel Mack Reported-by: Rami Rosen Fixes: 3007098494be ("cgroup: add support for eBPF programs") --- kernel/bpf/cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/bpf/cgroup.c b/kernel/bpf/cgroup.c index a0ab43f..8c784f8 100644 --- a/kernel/bpf/cgroup.c +++ b/kernel/bpf/cgroup.c @@ -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, -- 2.7.4