From patchwork Mon Aug 19 16:10:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171648 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp3196658ily; Mon, 19 Aug 2019 09:11:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqw56Ojxh9xyXOzSD+6DX4EzwcJj3bgvBhI2Rm7mjTis8jwlwcmsnMKbCfXk7mWpTcX0ycuM X-Received: by 2002:a63:1f1b:: with SMTP id f27mr20414389pgf.233.1566231088811; Mon, 19 Aug 2019 09:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566231088; cv=none; d=google.com; s=arc-20160816; b=bB2CDeG0bFQXVSevbfA9rQfEVbpKZhgFaUkkFd7zx/f0qY19hNoUs3jGzZHL3wfS1B RFcRnrKQh9mdE2oB540WVtzY2v3Dqvkw8ZWmpg18fZMK+KLXGYULAxkcdVO2N76zbICM Q+9sNbcpQM8Q5zZ6rHoJyBJ4WelSqEqJKwOTQ8ciMav3mGQmDdxjS7s0KPr9JRoqJzXl LyG3wbcu/miUUSzad9zhXkWKj40Bc+yYrEFjHP+2KtCW8V/RJ6sp6Bln9l7rTa5Ugj2C BrO4RN73owa9O30Ezalgg4bylKlvXjTgmEgYP3g108V2jQFgZCZY6/YoWC8MA1b5SCnG HsFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=UiQIcbV+7eg30mI6THf1kYVPy2WAYixEsvCpcmTCFhM=; b=IubjerGqa2CpXVDjCzNOzCQhq2iQjjjFEH5yp7Blf3QnUs7FaTXRdAFZYTKobw6yPG CtnD9UUZe+l/cwPczmwNu6Uw5sKWhM/kBj4zGRRAwSGA91JY37B3fhuLAaYqdf2B3aqk 8cHPcZIFSUCAVCyE996xPvfOhWuQ8txU+hhh7e0Cvsa2fQYLLTRjwoeqiVu9VPtGYwk6 b+e5Vwclp75A6+opzDyt6DkVMv2HSEq9pDwHoIVEsaWES/V+k/aP1cpIOyxgfgyNfQTQ PT0VIe9w0kgaoHTzuUvWrhKS3chg0QIR3WaNXjwiXogkiOoDjgyzyCw9uWM2GO4dn+us t9Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YSzJXcvN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v40si9089137pjb.7.2019.08.19.09.11.28; Mon, 19 Aug 2019 09:11:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YSzJXcvN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727913AbfHSQL1 (ORCPT + 28 others); Mon, 19 Aug 2019 12:11:27 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:35433 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726464AbfHSQL0 (ORCPT ); Mon, 19 Aug 2019 12:11:26 -0400 Received: from grover.flets-west.jp (softbank126125143222.bbtec.net [126.125.143.222]) (authenticated) by conuserg-10.nifty.com with ESMTP id x7JGAjJ4031644; Tue, 20 Aug 2019 01:10:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x7JGAjJ4031644 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566231046; bh=UiQIcbV+7eg30mI6THf1kYVPy2WAYixEsvCpcmTCFhM=; h=From:To:Cc:Subject:Date:From; b=YSzJXcvNZk3opw9EGUfvvNCh+2OaVE5XfF9SnJ+0HjVGvf9Rugq2S0vocu2jys61+ RyMwumxKkBC5m/714VI5i1lwnFahOnRal/eQEFpDxOMMUqCF0PYIbsVUZFn9TRSyJL isf4rTAyCnMb2HPcHzmN7Jhey0SxXyjy2y/TemisPS9mvMcHm573skHdBSfYkG8/C8 jF9It1AaGmi5mCH1crKm5Ih0T1Ch3+T6wL3Ie8mhb2d6KoHc68alfWFgtoRNVO75kj eLOOTS/TAp2UILpMeaev5o/QxUml7FpENq7OiG7oK0sT2OxtYOb++sE8sCV3LJWzTU Ff/5pYn3YmafQ== X-Nifty-SrcIP: [126.125.143.222] From: Masahiro Yamada To: Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , netdev@vger.kernel.org, bpf@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] bpfilter/verifier: add include guard to tnum.h Date: Tue, 20 Aug 2019 01:10:35 +0900 Message-Id: <20190819161035.21826-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a header include guard just in case. Signed-off-by: Masahiro Yamada --- include/linux/tnum.h | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1 diff --git a/include/linux/tnum.h b/include/linux/tnum.h index c7dc2b5902c0..c17af77f3fae 100644 --- a/include/linux/tnum.h +++ b/include/linux/tnum.h @@ -5,6 +5,10 @@ * propagate the unknown bits such that the tnum result represents all the * possible results for possible values of the operands. */ + +#ifndef _LINUX_TNUM_H +#define _LINUX_TNUM_H + #include struct tnum { @@ -81,3 +85,5 @@ bool tnum_in(struct tnum a, struct tnum b); int tnum_strn(char *str, size_t size, struct tnum a); /* Format a tnum as tristate binary expansion */ int tnum_sbin(char *str, size_t size, struct tnum a); + +#endif /* _LINUX_TNUM_H */