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: 1149355 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="YSzJXcvN"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46BzSg0Z16z9sNF for ; Tue, 20 Aug 2019 02:11:31 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727892AbfHSQL1 (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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(+) 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 */