From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755466AbcC1V4x (ORCPT ); Mon, 28 Mar 2016 17:56:53 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:35376 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755406AbcC1V4u (ORCPT ); Mon, 28 Mar 2016 17:56:50 -0400 Date: Mon, 28 Mar 2016 14:56:47 -0700 From: Kees Cook To: Daniel Borkmann Cc: Alexei Starovoitov , "David S. Miller" , Jonathan Corbet , Yang Shi , Dave Anderson , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH] bpf: doc: "neg" opcode has no operands Message-ID: <20160328215647.GA23746@www.outflux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dave Anderson Fixes a copy-paste-o in the BPF opcode table: "neg" takes no arguments and thus has no addressing modes. Signed-off-by: Dave Anderson Signed-off-by: Kees Cook --- Documentation/networking/filter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt index 96da119a47e7..11f67f181d39 100644 --- a/Documentation/networking/filter.txt +++ b/Documentation/networking/filter.txt @@ -230,7 +230,7 @@ opcodes as defined in linux/filter.h stand for: mul 0, 4 A * div 0, 4 A / mod 0, 4 A % - neg 0, 4 !A + neg !A and 0, 4 A & or 0, 4 A | xor 0, 4 A ^ -- 2.6.3 -- Kees Cook Chrome OS & Brillo Security